Add support for listen() call.

This commit is contained in:
Michael Tuexen 2017-05-03 09:09:34 +00:00
parent c32d0b5689
commit e8d2c81d5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317730

View File

@ -212,7 +212,9 @@ static struct syscall decoded_syscalls[] = {
{ .name = "linkat", .ret_type = 1, .nargs = 5,
.args = { { Atfd, 0 }, { Name, 1 }, { Atfd, 2 }, { Name, 3 },
{ Atflags, 4 } } },
{ .name = "lseek", .ret_type = 2, .nargs = 3,
{ .name = "listen", .ret_type = 1, .nargs = 2,
.args = { { Int, 0 }, { Int, 1 } } },
{ .name = "lseek", .ret_type = 2, .nargs = 3,
.args = { { Int, 0 }, { QuadHex, 1 }, { Whence, 2 } } },
{ .name = "lstat", .ret_type = 1, .nargs = 2,
.args = { { Name | IN, 0 }, { Stat | OUT, 1 } } },