]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only try to copyin a msqid for the IPC_SET command to msgctl(). Other
authorjhb <jhb@FreeBSD.org>
Tue, 10 Oct 2006 22:46:22 +0000 (22:46 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 10 Oct 2006 22:46:22 +0000 (22:46 +0000)
commit2447c3b93080214c535333d4ba23546a7f7bd3aa
treed5f39be8567f7052ae1e7394a9a8eddd3cebb86e
parentaf5122eb88a97d060559b07cb31c7c1ec6231d71
Only try to copyin a msqid for the IPC_SET command to msgctl().  Other
commands (such as IPC_RMID) were bogusly failing with EFAULT.

Tested by: jkim
sys/compat/linux/linux_ipc.c