Ignore FUTEX_FD op, as it is done by linux.
Approved by: kib (mentor) MFC after: 2 weeks
This commit is contained in:
parent
09af73f25f
commit
e488f4df7a
@ -276,13 +276,6 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
|
||||
FUTEX_SYSTEM_UNLOCK;
|
||||
break;
|
||||
|
||||
case LINUX_FUTEX_FD:
|
||||
#ifdef DEBUG
|
||||
printf("linux_sys_futex: unimplemented op %d\n",
|
||||
args->op);
|
||||
#endif
|
||||
return (ENOSYS);
|
||||
|
||||
case LINUX_FUTEX_WAKE_OP:
|
||||
FUTEX_SYSTEM_LOCK;
|
||||
#ifdef DEBUG
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#define LINUX_FUTEX_WAIT 0
|
||||
#define LINUX_FUTEX_WAKE 1
|
||||
#define LINUX_FUTEX_FD 2
|
||||
#define LINUX_FUTEX_FD 2 /* unused */
|
||||
#define LINUX_FUTEX_REQUEUE 3
|
||||
#define LINUX_FUTEX_CMP_REQUEUE 4
|
||||
#define LINUX_FUTEX_WAKE_OP 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user