cvs commit: src/sys/compat/svr4 svr4_ipc.c
John Baldwin
jhb at FreeBSD.org
Thu Jul 6 21:38:25 UTC 2006
jhb 2006-07-06 21:38:25 UTC
FreeBSD src repository
Modified files:
sys/compat/svr4 svr4_ipc.c
Log:
Don't try to copyin extra data for IPC_RMID requests to msgctl() or
shmctl(). None of the other ABI's do this (including the native FreeBSD
ABI), and uselessly trying to do a copyin() can actually result in a
bogus EFAULT if the a process specifies NULL for the optional argument
(which is what they should do in this case).
Revision Changes Path
1.22 +1 -6 src/sys/compat/svr4/svr4_ipc.c
More information about the cvs-src
mailing list