]> Git Repo - qemu.git/commit
oslib-posix: Use sysctl(2) call to resolve exec_dir on NetBSD
authorKamil Rytarowski <[email protected]>
Sat, 28 Oct 2017 19:48:33 +0000 (21:48 +0200)
committerPeter Maydell <[email protected]>
Thu, 2 Nov 2017 16:19:34 +0000 (16:19 +0000)
commit094611b426b3b532a3ec72256cb4e958149269d3
treec0d235ad0e5cbd7fc02523665ab8ebae3cd03583
parentfa73e146250181852c0915aa65df8d54d35485fa
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 <[email protected]>
Message-id: 20171028194833[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
util/oslib-posix.c
This page took 0.023964 seconds and 4 git commands to generate.