cvs commit: src/sys/emulation/ibcs2/coff imgact_coff.c src/sys/emulation/linux/i386 imgact_linux.c linux_sysvec.c src/sys/emulation/svr4 imgact_svr4.c svr4_sysvec.c src/sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c imgact_shell.c kern_exec.c src/sys/sys imgact.h ...
David P. Reese
daver at crater.dragonflybsd.org
Tue Nov 11 17:00:51 PST 2003
daver 2003/11/11 17:00:33 PST
DragonFly src repository
Modified files:
sys/emulation/ibcs2/coff imgact_coff.c
sys/emulation/linux/i386 imgact_linux.c linux_sysvec.c
sys/emulation/svr4 imgact_svr4.c svr4_sysvec.c
sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c
imgact_shell.c kern_exec.c
sys/sys imgact.h kern_syscall.h
Log:
Split execve(). This required some interesting changes to the shell
image activation code and the image_params structure.
Userland pointers are no longer passed in the image_params structure.
The exec_copyin_args() function now pulls the arguments, environment
and filename of the target being execve()'d into a kernel space buffer
before calling kern_execve().
The exec_shell_imgact() function does some magic to prepend the
interpreter arguments.
Revision Changes Path
1.8 +0 -5 src/sys/emulation/ibcs2/coff/imgact_coff.c
1.5 +0 -5 src/sys/emulation/linux/i386/imgact_linux.c
1.11 +4 -4 src/sys/emulation/linux/i386/linux_sysvec.c
1.6 +0 -5 src/sys/emulation/svr4/imgact_svr4.c
1.9 +2 -2 src/sys/emulation/svr4/svr4_sysvec.c
1.7 +0 -5 src/sys/kern/imgact_aout.c
1.15 +4 -6 src/sys/kern/imgact_elf.c
1.4 +0 -6 src/sys/kern/imgact_gzip.c
1.3 +73 -55 src/sys/kern/imgact_shell.c
1.14 +160 -87 src/sys/kern/kern_exec.c
1.4 +17 -9 src/sys/sys/imgact.h
1.12 +6 -0 src/sys/sys/kern_syscall.h
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ibcs2/coff/imgact_coff.c.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/imgact_linux.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linux_sysvec.c.diff?r1=1.10&r2=1.11&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/imgact_svr4.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_sysvec.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_aout.c.diff?r1=1.6&r2=1.7&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_gzip.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_shell.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exec.c.diff?r1=1.13&r2=1.14&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/imgact.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/kern_syscall.h.diff?r1=1.11&r2=1.12&f=h
More information about the Commits
mailing list