decode mprotect args while i'm here.

This commit is contained in:
alfred 2004-03-23 09:16:18 +00:00
parent 5b22f04d6d
commit 422a2ca6b4

View File

@ -74,6 +74,8 @@ struct syscall syscalls[] = {
{ { Int, 0 }, {Quad, 2 }, { Int, 4 }}},
{ "mmap", 2, 6,
{ { Ptr, 0 }, {Int, 1}, {Mprot, 2}, {Mmapflags, 3}, {Int, 4}, {Quad, 6}}},
{ "mprotect", 1, 3,
{ { Ptr, 0 }, {Int, 1}, {Mprot, 2}}},
{ "open", 1, 3,
{ { String | IN, 0} , { Hex, 1}, {Octal, 2}}},
{ "linux_open", 1, 3,