CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/08/30 08:23:39

Modified files:
        sys/sys        : exec.h exec_elf.h 
        sys/kern       : exec_elf.c exec_script.c kern_exec.c 

Log message:
In execve(2), attempt to create a realpath buffer for the executable
and place the resulting string on the stack as an auxval.  The two
main reasons why the attempt can fail are if the program is started
inside an unlinked directory or if the buffer exceeds PATH_MAX.  libc
will be able to find this auxval and provide it in an uncoming
getexecpath(3) API.
ok kettenis beck kirill

Reply via email to