Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   cube
Date:           Mon Jul 11 20:15:26 UTC 2005

Modified Files:
        src/sys/compat/netbsd32: netbsd32_execve.c
        src/sys/kern: kern_exec.c
        src/sys/sys: exec.h

Log Message:
Split sys_execve() and add execve1() that does most of the work, and takes
as an argument a function that will retrieve an element of the pointer
arrays in user space.  This allows COMPAT_NETBSD32 to share the code for
the emulated version of execve(2), and fixes various issues that came from
the slow drift between the two implementations.

Note:  when splitting up a syscall function, I'll use two different ways
       of naming the resulting helper function.  If it stills does
       copyin/out operations, it will be named <syscall>1().  If it does
       not (as it was the case for get/setitimer), it will be named
       do<syscall>.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/compat/netbsd32/netbsd32_execve.c
cvs rdiff -r1.203 -r1.204 src/sys/kern/kern_exec.c
cvs rdiff -r1.109 -r1.110 src/sys/sys/exec.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index