From 094306d69d41989862ff128380df0e7e2bdbe80d Mon Sep 17 00:00:00 2001 From: jhb Date: Sat, 8 Jul 2006 20:12:14 +0000 Subject: - 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. --- sys/i386/ibcs2/syscalls.xenix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386/ibcs2/syscalls.xenix') diff --git a/sys/i386/ibcs2/syscalls.xenix b/sys/i386/ibcs2/syscalls.xenix index 8b9b84a..2fc1838 100644 --- a/sys/i386/ibcs2/syscalls.xenix +++ b/sys/i386/ibcs2/syscalls.xenix @@ -14,7 +14,7 @@ 4 AUE_NULL UNIMPL xenix_sigsem 5 AUE_NULL UNIMPL xenix_waitsem 6 AUE_NULL UNIMPL xenix_nbwaitsem -7 AUE_NULL STD { int xenix_rdchk(int fd); } +7 AUE_NULL MSTD { int xenix_rdchk(int fd); } 8 AUE_NULL UNIMPL nosys 9 AUE_NULL UNIMPL nosys 10 AUE_FTRUNCATE MSTD { int xenix_chsize(int fd, long size); } -- cgit v1.1