[Bug 248184] readlink("/proc/curproc/file") returns arbitrary correct name for programs with more than one link (name)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 22 19:03:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248184

--- Comment #2 from Joerg.Schilling at fokus.fraunhofer.de ---
Solaris introduced getexecname() 23 years ago and I need/use it since 15 years.

At that time, there was nothing similar in FreeBSD and procfs was the only way
to go for porting.

elf_aux_info() seems to be *really* new...I discovered after making the report.

BTW: Solaris returns the expected result from procfs.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list