[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:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248184

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

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

commit ea4e8e191c0ecb12da16c34c2d14f04bc7f955c7
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-10-23 19:01:37 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-11-06 02:12:32 +0000

    sysctl kern.proc.procname: report right hardlink name

    PR:     248184

    (cherry picked from commit ee92c8a842d61ffda8d111e1b0e398085c5bfb3a)

 sys/kern/kern_proc.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 49 insertions(+), 5 deletions(-)

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