summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-03-23 09:16:18 +0000
committeralfred <alfred@FreeBSD.org>2004-03-23 09:16:18 +0000
commit422a2ca6b489b0e27c89e494979edb49bd275c0d (patch)
treedb5b72b297c830134472f32a44dcc1b620f3cd22 /usr.bin/truss
parent5b22f04d6db5557c9ed92e10a3cd3edf78ad4129 (diff)
downloadFreeBSD-src-422a2ca6b489b0e27c89e494979edb49bd275c0d.zip
FreeBSD-src-422a2ca6b489b0e27c89e494979edb49bd275c0d.tar.gz
decode mprotect args while i'm here.
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 74b7991..8638ec9 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,
OpenPOWER on IntegriCloud