[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: Thu, 28 Oct 2021 17:51:51 UTC

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:


commit ee92c8a842d61ffda8d111e1b0e398085c5bfb3a
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-10-23 19:01:37 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-10-28 17:50:02 +0000

    sysctl kern.proc.procname: report right hardlink name

    PR:     248184
    Reviewed by:    markj
    Tested by:      pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D32611

 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.