summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2005-06-14 21:51:08 +0000
committeralfred <alfred@FreeBSD.org>2005-06-14 21:51:08 +0000
commit5f6df97a58ba35d550359ff8ceb542a59f54bc7a (patch)
tree0b26241ed2e47da684c9b9dfda728425302bae00 /usr.bin
parent78308b0fd3c50462338e1d06035471519472fd96 (diff)
downloadFreeBSD-src-5f6df97a58ba35d550359ff8ceb542a59f54bc7a.zip
FreeBSD-src-5f6df97a58ba35d550359ff8ceb542a59f54bc7a.tar.gz
Decode chroot(2) args.
Approved by: re
Diffstat (limited to 'usr.bin')
-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 2537a00..04886a9 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -102,6 +102,8 @@ struct syscall syscalls[] = {
{ { String, 0 }}},
{ "chdir", 0, 1,
{ { String, 0 }}},
+ { "chroot", 0, 1,
+ { { String, 0 }}},
{ "mknod", 0, 3,
{ { String, 0 }, { Octal, 1 }, { Int, 3 }}},
{ "chmod", 0, 2,
OpenPOWER on IntegriCloud