mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Decode a few more syscalls.
This commit is contained in:
parent
d6c5005c05
commit
726c2ca080
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113501
@ -74,7 +74,24 @@ struct syscall syscalls[] = {
|
||||
{ { String | IN, 0} , { Hex, 1}, {Octal, 2}}},
|
||||
{ "linux_open", 1, 3,
|
||||
{ { String, 0 }, { Hex, 1}, { Octal, 2 }}},
|
||||
{ "close", 1, 1, { { Int, 0 } } },
|
||||
{ "close", 1, 1,
|
||||
{ { Int, 0 } } },
|
||||
{ "link", 0, 2,
|
||||
{ { String, 0 }, { String, 1 }}},
|
||||
{ "unlink", 0, 1,
|
||||
{ { String, 0 }}},
|
||||
{ "chdir", 0, 1,
|
||||
{ { String, 0 }}},
|
||||
{ "mknod", 0, 3,
|
||||
{ { String, 0 }, { Octal, 1 }, { Int, 3 }}},
|
||||
{ "chmod", 0, 2,
|
||||
{ { String, 0 }, { Octal, 1 }}},
|
||||
{ "chown", 0, 3,
|
||||
{ { String, 0 }, { Int, 1 }, { Int, 2 }}},
|
||||
{ "mount", 0, 4,
|
||||
{ { String, 0 }, { String, 1 }, { Int, 2 }, { Ptr, 3 }}},
|
||||
{ "umount", 0, 2,
|
||||
{ { String, 0 }, { Int, 2 }}},
|
||||
{ "fstat", 1, 2,
|
||||
{ { Int, 0}, {Ptr | OUT , 1 }}},
|
||||
{ "stat", 1, 2,
|
||||
@ -108,6 +125,12 @@ struct syscall syscalls[] = {
|
||||
{ { String | IN, 0 }, { StringArray | IN, 1 }, { StringArray | IN, 2 } } },
|
||||
{ "linux_execve", 1, 3,
|
||||
{ { String | IN, 0 }, { StringArray | IN, 1 }, { StringArray | IN, 2 } } },
|
||||
{ "kldload", 0, 1, { { String | IN, 0 }}},
|
||||
{ "kldunload", 0, 1, { { Int, 0 }}},
|
||||
{ "kldfind", 0, 1, { { String | IN, 0 }}},
|
||||
{ "kldnext", 0, 1, { { Int, 0 }}},
|
||||
{ "kldstat", 0, 2, { { Int, 0 }, { Ptr, 1 }}},
|
||||
{ "kldfirstmod", 0, 1, { { Int, 0 }}},
|
||||
{ 0, 0, 0, { { 0, 0 }}},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user