Module Name: src Committed By: dholland Date: Sun May 2 05:30:20 UTC 2010
Modified Files: src/sys/compat/osf1: osf1_exec_ecoff.c src/sys/compat/svr4_32: svr4_32_exec_elf32.c src/sys/kern: exec_script.c kern_exec.c src/sys/sys: exec.h Log Message: Remove the nameidata from struct exec_package. It was used only for two things: passing an argument to check_exec, which is better done explicitly, and handing back the resolved pathname generated by namei, which we can make an explicit slot for in struct exec_package instead. While here, perform some related tidyup, and store the kernel-side copy of the path to the executable as well as the pointer into userspace. (But the latter should probably be removed in the future.) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/compat/osf1/osf1_exec_ecoff.c cvs rdiff -u -r1.20 -r1.21 src/sys/compat/svr4_32/svr4_32_exec_elf32.c cvs rdiff -u -r1.63 -r1.64 src/sys/kern/exec_script.c cvs rdiff -u -r1.294 -r1.295 src/sys/kern/kern_exec.c cvs rdiff -u -r1.129 -r1.130 src/sys/sys/exec.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.