summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_futex.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-06-19 11:40:17 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-06-19 11:40:17 +0000
commitf78a2a0a0bf4e219ee4f25cd9bfc07be9a625270 (patch)
tree7d9986ecce71a0f8ecb749ed50e51ee9c16ed717 /sys/compat/linux/linux_futex.c
parent4dd2ffd9007dcc5f40add050eec9f1a979b5048a (diff)
- remove outdated comment, we already do an equivalent of linux' access_ok()
using copyin() anyway. ok pirofti@
Diffstat (limited to 'sys/compat/linux/linux_futex.c')
-rw-r--r--sys/compat/linux/linux_futex.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index d99dc090498..cd1231a50ef 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_futex.c,v 1.4 2012/06/19 08:50:59 pirofti Exp $ */
+/* $OpenBSD: linux_futex.c,v 1.5 2012/06/19 11:40:16 jasper Exp $ */
/* $NetBSD: linux_futex.c,v 1.26 2010/07/07 01:30:35 chs Exp $ */
/*-
@@ -583,8 +583,6 @@ futex_atomic_op(struct proc *p, int encoded_op, void *uaddr)
if (encoded_op & (FUTEX_OP_OPARG_SHIFT << 28))
oparg = 1 << oparg;
- /* XXX: linux verifies access here and returns EFAULT */
-
if (copyin(uaddr, &cval, sizeof(int)) != 0)
return -EFAULT;