mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 10:01:02 +01:00
Decode the file descriptor argument to closefrom(2) as an Integer.
This is consistent with what we are doing for close(2) and it makes it a bit easier to follow when debugging file descriptor operations. i.e. many other syscalls are decoding fds as integers rather than base 16 numbers. MFC after: 1 week
This commit is contained in:
parent
245bfd34da
commit
7be2c6f3bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361316
@ -157,6 +157,8 @@ static struct syscall decoded_syscalls[] = {
|
||||
.args = { { Int, 0 }, { Timespec | OUT, 1 } } },
|
||||
{ .name = "close", .ret_type = 1, .nargs = 1,
|
||||
.args = { { Int, 0 } } },
|
||||
{ .name = "closefrom", .ret_type = 1, .nargs = 1,
|
||||
.args = { { Int, 0 } } },
|
||||
{ .name = "compat11.fstat", .ret_type = 1, .nargs = 2,
|
||||
.args = { { Int, 0 }, { Stat11 | OUT, 1 } } },
|
||||
{ .name = "compat11.fstatat", .ret_type = 1, .nargs = 4,
|
||||
|
Loading…
Reference in New Issue
Block a user