From e6ff14fd0c9fc8a9fd7181e31343d71d56662f10 Mon Sep 17 00:00:00 2001 From: robert Date: Tue, 9 Jul 2002 15:57:12 +0000 Subject: Enable emulation of the F_GETLK64, F_SETLK64, and F_SETLKW64 lock commands arguments to linux_fcntl64(). --- sys/compat/linux/linux_file.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/compat/linux/linux_file.c') diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 62ac252..2ceb3d4 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1036,6 +1036,7 @@ linux_fcntl(struct thread *td, struct linux_fcntl_args *args) switch (args->cmd) { case LINUX_F_GETLK: + case LINUX_F_GETLK64: error = copyin((caddr_t)args->arg, &linux_flock, sizeof(linux_flock)); if (error) @@ -1052,6 +1053,7 @@ linux_fcntl(struct thread *td, struct linux_fcntl_args *args) sizeof(linux_flock))); case LINUX_F_SETLK: + case LINUX_F_SETLK64: error = copyin((caddr_t)args->arg, &linux_flock, sizeof(linux_flock)); if (error) @@ -1063,6 +1065,7 @@ linux_fcntl(struct thread *td, struct linux_fcntl_args *args) return (fcntl(td, &fcntl_args)); case LINUX_F_SETLKW: + case LINUX_F_SETLKW64: error = copyin((caddr_t)args->arg, &linux_flock, sizeof(linux_flock)); if (error) -- cgit v1.1