Date: Sat, 8 Jul 2006 20:12:14 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_xenix.c syscalls.xenix src/sys/kern sys_generic.c src/sys/sys syscallsubr.h Message-ID: <200607082012.k68KCE0U091182@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607082012.k68KCE0U091182>
