summaryrefslogtreecommitdiff
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-03-23 09:16:18 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-03-23 09:16:18 +0000
commit5214320f76a612f9b5b1543c1c210c5987304fcb (patch)
treedb5b72b297c830134472f32a44dcc1b620f3cd22 /usr.bin/truss
parent894b8f7afb9c58e1eb2c4c149ee4d765726b5ec6 (diff)
Notes
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 74b799142da7e..8638ec92f752b 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -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,