Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 19:03:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248184] readlink("/proc/curproc/file") returns arbitrary correct name for programs with more than one link (name)
Message-ID:  <bug-248184-227-rxSbCEuD8i@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248184-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248184-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248184

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

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 rep=
ort.

BTW: Solaris returns the expected result from procfs.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248184-227-rxSbCEuD8i>