[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 094611: oslib-posix: Use sysctl(2) call to re

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 094611: oslib-posix: Use sysctl(2) call to resolve exec_di...
Date: Thu, 02 Nov 2017 09:54:48 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 094611b426b3b532a3ec72256cb4e958149269d3
  Author: Kamil Rytarowski <address@hidden>
  Date:   2017-11-02 (Thu, 02 Nov 2017)

  Changed paths:
    M util/oslib-posix.c

  Log Message:
  oslib-posix: Use sysctl(2) call to resolve exec_dir on NetBSD

NetBSD 8.0(beta) ships with KERN_PROC_PATHNAME in sysctl(2).
Older NetBSD versions can use argv[0] parsing fallback.

This code section is partly shared with FreeBSD.

Signed-off-by: Kamil Rytarowski <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]