diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2012-06-19 11:40:17 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2012-06-19 11:40:17 +0000 |
commit | f78a2a0a0bf4e219ee4f25cd9bfc07be9a625270 (patch) | |
tree | 7d9986ecce71a0f8ecb749ed50e51ee9c16ed717 /sys/compat/linux/linux_futex.c | |
parent | 4dd2ffd9007dcc5f40add050eec9f1a979b5048a (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.c | 4 |
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; |