diff options
author | Jov <amutu@amutu.com> | 2017-06-27 13:33:02 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-06-27 15:06:16 +0200 |
commit | fa46172bc3b9bd2398a9d79a05fc5cd55f6059ad (patch) | |
tree | 72aca30ab20d5ecf212ba2b0644d55c94dcd15c1 /tools | |
parent | 0d007ff5c17b17bbfa2bdb0704927c9a31d5d0ac (diff) |
use procstat_getpathname to get self path
Use procstat_getpathname instead of /proc/curproc/file to get self path, as /proc do not always exists, and need root privilege to mount. procstat_getpathname is preferred on FreeBSD.
Closes #3179.
PiperOrigin-RevId: 160260464
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions