Decode the arguments to mkfifo() and fix an off-by-one error in the arguments

to mknod().
This commit is contained in:
John Baldwin 2015-08-06 18:32:32 +00:00
parent 19d637849e
commit e82ce59c37
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286380

View File

@ -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,