[Bug 248184] readlink("/proc/curproc/file" returns random results
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 22 18:11:43 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248184
--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
The canonical way to do this in FreeBSD is making use of elf_aux_info(3) with
AT_EXECPATH. The information is copied to userspace in the program image
during activation, but is not tracked by the kernel afterwards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list