summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1999-08-05 12:03:50 +0000
committerdes <des@FreeBSD.org>1999-08-05 12:03:50 +0000
commit4df48d07f1726a1f451ba70d0bcdd288e3c2803a (patch)
treea0189761c64cec8ec340361cac8f911f448606f0 /usr.bin/truss
parent528f32365c8a1b8efd784a95970fd574d70a3ead (diff)
downloadFreeBSD-src-4df48d07f1726a1f451ba70d0bcdd288e3c2803a.zip
FreeBSD-src-4df48d07f1726a1f451ba70d0bcdd288e3c2803a.tar.gz
Add access(2) to the list of recognized syscalls.
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/syscalls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index f6c7596..134bae6 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -31,7 +31,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: syscalls.c,v 1.5 1998/07/06 21:01:48 bde Exp $";
+ "$Id: syscalls.c,v 1.6 1998/10/15 04:31:44 sef Exp $";
#endif /* not lint */
/*
@@ -79,6 +79,7 @@ struct syscall syscalls[] = {
{ { Int, 0}, { Ioctl, 1 }, { Hex, 2 }}},
{ "break", 1, 1, { { Hex, 0 }}},
{ "exit", 0, 1, { { Hex, 0 }}},
+ { "access", 1, 2, { { String | IN, 0 }, { Int, 1 }}},
{ 0, 0, 0, { { 0, 0 }}},
};
OpenPOWER on IntegriCloud