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

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

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

commit f61af036ab291b558e8632bc58290b3321c2bafc
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-10-29 01:43:32 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-11-06 02:12:32 +0000

    procfs: return right hardlink from /proc/curproc/file

    PR:     248184

    (cherry picked from commit e5248548f95ff1c89667847e0d945dea38adeca7)

 sys/fs/procfs/procfs.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

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