Return ENOSYS instead of 0 for the unknown futex operations.
Submitted by: rdivacky Reported and tested by: Gary Stanley <gary velocity-servers net>
This commit is contained in:
parent
b18c84b4db
commit
a0b0d286bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176740
@ -327,7 +327,7 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
|
||||
default:
|
||||
printf("linux_sys_futex: unknown op %d\n",
|
||||
args->op);
|
||||
break;
|
||||
return (ENOSYS);
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user