mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Add fork(2), getegid(2), geteuid(2), getgid(2), getpid(2), getpgid(2),
getpgrp(2), getppid(2), getsid(2) and getuid(2) to syscall table to decode their arguments correctly. OK'ed by: delphij Approved by: trasz (mentor)
This commit is contained in:
parent
3d48282768
commit
76de696d6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200751
@ -92,6 +92,18 @@ static const char rcsid[] =
|
||||
struct syscall syscalls[] = {
|
||||
{ .name = "fcntl", .ret_type = 1, .nargs = 3,
|
||||
.args = { { Int, 0 } , { Fcntl, 1 }, { Fcntlflag | OUT, 2 } } },
|
||||
{ .name = "fork", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "getegid", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "geteuid", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "getgid", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "getpid", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "getpgid", .ret_type = 1, .nargs = 1,
|
||||
.args = { { Int, 0 } } },
|
||||
{ .name = "getpgrp", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "getppid", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "getsid", .ret_type = 1, .nargs = 1,
|
||||
.args = { { Int, 0 } } },
|
||||
{ .name = "getuid", .ret_type = 1, .nargs = 0 },
|
||||
{ .name = "readlink", .ret_type = 1, .nargs = 3,
|
||||
.args = { { Name, 0 } , { Readlinkres | OUT, 1 }, { Int, 2 } } },
|
||||
{ .name = "lseek", .ret_type = 2, .nargs = 3,
|
||||
|
Loading…
Reference in New Issue
Block a user