diff options
author | jhb <jhb@FreeBSD.org> | 2006-07-06 21:42:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-07-06 21:42:36 +0000 |
commit | 4d231459c729e7e0c175e92003ffc0d7d3bf804c (patch) | |
tree | df75acdf979d932ca63fc28c747d860a490f0cc2 /sys/amd64 | |
parent | 5e008b18de65dc6ae72e0505274c495397e396a8 (diff) | |
download | FreeBSD-src-4d231459c729e7e0c175e92003ffc0d7d3bf804c.zip FreeBSD-src-4d231459c729e7e0c175e92003ffc0d7d3bf804c.tar.gz |
- Protect the list of linux ioctl handlers with an sx lock.
- Hold Giant while calling linux ioctl handlers for now as they aren't all
known to be MPSAFE yet.
- Mark linux_ioctl() MPSAFE.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/linux32/syscalls.master | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master index 99c9cb2..4fa88e5 100644 --- a/sys/amd64/linux32/syscalls.master +++ b/sys/amd64/linux32/syscalls.master @@ -113,7 +113,7 @@ 51 AUE_ACCT MNOPROTO { int acct(char *path); } 52 AUE_UMOUNT MSTD { int linux_umount(char *path, l_int flags); } 53 AUE_NULL UNIMPL lock -54 AUE_IOCTL STD { int linux_ioctl(l_uint fd, l_uint cmd, \ +54 AUE_IOCTL MSTD { int linux_ioctl(l_uint fd, l_uint cmd, \ uintptr_t arg); } 55 AUE_FCNTL MSTD { int linux_fcntl(l_uint fd, l_uint cmd, \ uintptr_t arg); } |