diff options
author | jkim <jkim@FreeBSD.org> | 2007-12-04 20:25:41 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2007-12-04 20:25:41 +0000 |
commit | 7c00aa0ce765950c2336834220fd76336dc00597 (patch) | |
tree | d5ed748a5673f0c8b88fa69aed89a45cef31117f /sys/compat | |
parent | 354f6f4c2e219185ced54e492b44981b4bc6fb9c (diff) | |
download | FreeBSD-src-7c00aa0ce765950c2336834220fd76336dc00597.zip FreeBSD-src-7c00aa0ce765950c2336834220fd76336dc00597.tar.gz |
Remove redundant checks for msgsnd(3) and msgrcv(3).
COMPAT_IA32 (implicitly) requires SYSVSEM, SYSVSHM and SYSVMSG in kernel.
Pointed out by: jhb
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index 9739788..32b2564 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -1371,9 +1371,6 @@ freebsd32_msgsnd(struct thread *td, struct freebsd32_msgsnd_args *uap) int32_t mtype32; int error; - if (!SYSCALL_MODULE_PRESENT(msgsnd)) - return (nosys(td, (struct nosys_args *)uap)); - msgp = PTRIN(uap->msgp); if ((error = copyin(msgp, &mtype32, sizeof(mtype32))) != 0) return (error); @@ -1391,9 +1388,6 @@ freebsd32_msgrcv(struct thread *td, struct freebsd32_msgrcv_args *uap) int32_t mtype32; int error; - if (!SYSCALL_MODULE_PRESENT(msgrcv)) - return (nosys(td, (struct nosys_args *)uap)); - msgp = PTRIN(uap->msgp); if ((error = kern_msgrcv(td, uap->msqid, (char *)msgp + sizeof(mtype32), uap->msgsz, |