cvs commit: src/sys/i386/ibcs2 ibcs2_xenix.c syscalls.xenix
src/sys/kern sys_generic.c src/sys/sys syscallsubr.h
John Baldwin
jhb at FreeBSD.org
Sat Jul 8 20:12:15 UTC 2006
jhb 2006-07-08 20:12:14 UTC
FreeBSD src repository
Modified files:
sys/i386/ibcs2 ibcs2_xenix.c syscalls.xenix
sys/kern sys_generic.c
sys/sys syscallsubr.h
Log:
- Split ioctl() up into ioctl() and kern_ioctl(). The kern_ioctl() assumes
that the 'data' pointer is already setup to point to a valid KVM buffer
or contains the copied-in data from userland as appropriate (ioctl(2)
still does this). kern_ioctl() takes care of looking up a file pointer,
implementing FIONCLEX and FIOCLEX, and calling fi_ioctl().
- Use kern_ioctl() to implement xenix_rdchk() instead of using the stackgap
and mark xenix_rdchk() MPSAFE.
Revision Changes Path
1.37 +7 -10 src/sys/i386/ibcs2/ibcs2_xenix.c
1.13 +1 -1 src/sys/i386/ibcs2/syscalls.xenix
1.149 +44 -37 src/sys/kern/sys_generic.c
1.42 +1 -0 src/sys/sys/syscallsubr.h
More information about the cvs-src
mailing list