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

Aaron LI aly at crater.dragonflybsd.org
Mon Mar 18 00:01:22 PDT 2024


commit c1359f7ed932f7aca951ea499af899edfc1dd79a
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/c1359f7ed932f7aca951ea499af899edfc1dd79a


-- 
DragonFly BSD source repository


More information about the Commits mailing list