aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-10-28 21:48:33 +0200
committerPeter Maydell <peter.maydell@linaro.org>2017-11-02 16:19:34 +0000
commit094611b426b3b532a3ec72256cb4e958149269d3 (patch)
treec0d235ad0e5cbd7fc02523665ab8ebae3cd03583 /tcg
parentfa73e146250181852c0915aa65df8d54d35485fa (diff)
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 <n54@gmx.com> Message-id: 20171028194833.23858-1-n54@gmx.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions