From f831eecaca2fe0d91aed84e402bf0d8bfd00f507 Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 22 Jan 2015 09:02:58 +0000 Subject: MFC r277211: fcntl F_O{GET,SET}LK take pointer as the arg, handle them properly for compat32. --- sys/compat/freebsd32/freebsd32_misc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/compat/freebsd32') 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: -- cgit v1.1