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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 Nov 2021 02:26:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248184

--- Comment #14 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=a69fb7452ef97b5690f1811d4fb3b7b9f8ad78f8

commit a69fb7452ef97b5690f1811d4fb3b7b9f8ad78f8
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-10-23 00:24:08 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-11-06 02:12:31 +0000

    exec: provide right hardlink name in AT_EXECPATH

    PR:     248184

    (cherry picked from commit 0c10648fbb758bb76fd29330b7fe1bc519252325)

 sys/kern/kern_exec.c | 38 ++++++++++++++++++++++++++++----------
 1 file changed, 28 insertions(+), 10 deletions(-)

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