HomeFreeBSD

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

Description

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

Use proc_get_binpath() to get the hardlink right.

PR: 248184
Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32738

Details

Provenance
kibAuthored on Oct 29 2021, 1:43 AM
Reviewer
emaste
Differential Revision
D32738: procfs: return right hardlink from /proc/curproc/file
Parents
rGf34fc6ba06a1: Extract proc_get_binpath() from sysctl_kern_proc_pathname()
Branches
Unknown
Tags
Unknown