Date: Thu, 6 Jul 2006 21:38:25 +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/compat/svr4 svr4_ipc.c Message-ID: <200607062138.k66LcPjv050471@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607062138.k66LcPjv050471>
