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/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from Joerg.Schilling@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.

help

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