git: procfs(5): Add '/proc/self/exe' symlink support

Aaron LI aly at crater.dragonflybsd.org
Thu Mar 7 06:59:57 PST 2024


commit f658e60ac87ff2cb19cfd130385d9f20d6c0e1e8
Author: Ricardo Branco <rbranco at suse.de>
Date:   Tue Mar 5 22:44:51 2024 +0100

    procfs(5): Add '/proc/self/exe' symlink support
    
    * Add the /proc/self symlink that's the same as /proc/curproc.
    * Add the /proc/<pid>/exe entry that's the same as /proc/<pid>/file.
    
    The '/proc/self/exe' symlink has been already landed in NetBSD and
    FreeBSD [0].  It could simplify some patches to ports that look for this
    symlink.
    
    [0] https://github.com/freebsd/freebsd-src/pull/976
    
    GitHub PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/22

Summary of changes:
 sys/vfs/procfs/procfs_vnops.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f658e60ac87ff2cb19cfd130385d9f20d6c0e1e8


-- 
DragonFly BSD source repository


More information about the Commits mailing list