diff options
author | kib <kib@FreeBSD.org> | 2015-01-22 09:02:58 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-01-22 09:02:58 +0000 |
commit | f831eecaca2fe0d91aed84e402bf0d8bfd00f507 (patch) | |
tree | ef87a9da7ff7d10f310a938dd85be0738e623ea4 | |
parent | 505f4c781a1389a4a61f13a5b7d298b0f1e950f3 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 3 |
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: |