[Bug 248184] readlink("/proc/curproc/file") returns arbitrary correct name for programs with more than one link (name)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Oct 2021 17:51:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248184
--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=ee92c8a842d61ffda8d111e1b0e398085c5bfb3a
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.