mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Don't mark the fcntl flag argument as an output parameter so that it is
always decoded. Previously the argument was not decoded if fcntl() failed.
This commit is contained in:
parent
f770ad4a26
commit
19d637849e
@ -93,7 +93,7 @@ static const char rcsid[] =
|
||||
*/
|
||||
static struct syscall syscalls[] = {
|
||||
{ .name = "fcntl", .ret_type = 1, .nargs = 3,
|
||||
.args = { { Int, 0 }, { Fcntl, 1 }, { Fcntlflag | OUT, 2 } } },
|
||||
.args = { { Int, 0 }, { Fcntl, 1 }, { Fcntlflag, 2 } } },
|
||||
{ .name = "fork", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "vfork", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "rfork", .ret_type = 1, .nargs = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user