]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
procfs: return right hardlink from /proc/curproc/file
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 29 Oct 2021 01:43:32 +0000 (04:43 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Sun, 31 Oct 2021 01:05:14 +0000 (03:05 +0200)
commite5248548f95ff1c89667847e0d945dea38adeca7
tree77eb39b13e449e7930c1bdb96878af4c7d5a494e
parentf34fc6ba06a10e0f2a505ec0dd2f2fab2a79e53d
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
sys/fs/procfs/procfs.c