summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-01-22 09:02:58 +0000
committerkib <kib@FreeBSD.org>2015-01-22 09:02:58 +0000
commitf831eecaca2fe0d91aed84e402bf0d8bfd00f507 (patch)
treeef87a9da7ff7d10f310a938dd85be0738e623ea4 /sys
parent505f4c781a1389a4a61f13a5b7d298b0f1e950f3 (diff)
downloadFreeBSD-src-f831eecaca2fe0d91aed84e402bf0d8bfd00f507.zip
FreeBSD-src-f831eecaca2fe0d91aed84e402bf0d8bfd00f507.tar.gz
MFC r277211:
fcntl F_O{GET,SET}LK take pointer as the arg, handle them properly for compat32.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/freebsd32/freebsd32_misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
index 2155c41..9137679 100644
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -3137,6 +3137,9 @@ freebsd32_fcntl(struct thread *td, struct freebsd32_fcntl_args *uap)
case F_GETLK:
case F_SETFD:
case F_SETFL:
+ case F_OGETLK:
+ case F_OSETLK:
+ case F_OSETLKW:
tmp = (unsigned int)(uap->arg);
break;
default:
OpenPOWER on IntegriCloud