mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Decode the arguments to mkfifo() and fix an off-by-one error in the arguments
to mknod().
This commit is contained in:
parent
19d637849e
commit
e82ce59c37
@ -141,8 +141,10 @@ static struct syscall syscalls[] = {
|
||||
.args = { { Name, 0 } } },
|
||||
{ .name = "chroot", .ret_type = 0, .nargs = 1,
|
||||
.args = { { Name, 0 } } },
|
||||
{ .name = "mkfifo", .ret_type = 0, .nargs = 2,
|
||||
.args = { { Name, 0 }, { Octal, 1 } } },
|
||||
{ .name = "mknod", .ret_type = 0, .nargs = 3,
|
||||
.args = { { Name, 0 }, { Octal, 1 }, { Int, 3 } } },
|
||||
.args = { { Name, 0 }, { Octal, 1 }, { Int, 2 } } },
|
||||
{ .name = "chmod", .ret_type = 0, .nargs = 2,
|
||||
.args = { { Name, 0 }, { Octal, 1 } } },
|
||||
{ .name = "chown", .ret_type = 0, .nargs = 3,
|
||||
|
Loading…
Reference in New Issue
Block a user