svn commit: r203666 - stable/8/usr.bin/truss
Jaakko Heinonen
jh at FreeBSD.org
Mon Feb 8 15:48:19 UTC 2010
Author: jh
Date: Mon Feb 8 15:48:18 2010
New Revision: 203666
URL: http://svn.freebsd.org/changeset/base/203666
Log:
MFC r200751:
Add fork(2), getegid(2), geteuid(2), getgid(2), getpid(2), getpgid(2),
getpgrp(2), getppid(2), getsid(2) and getuid(2) to syscall table to
decode their arguments correctly.
Modified:
stable/8/usr.bin/truss/syscalls.c
Directory Properties:
stable/8/usr.bin/truss/ (props changed)
Modified: stable/8/usr.bin/truss/syscalls.c
==============================================================================
--- stable/8/usr.bin/truss/syscalls.c Mon Feb 8 15:42:55 2010 (r203665)
+++ stable/8/usr.bin/truss/syscalls.c Mon Feb 8 15:48:18 2010 (r203666)
@@ -92,6 +92,18 @@ static const char rcsid[] =
struct syscall syscalls[] = {
{ .name = "fcntl", .ret_type = 1, .nargs = 3,
.args = { { Int, 0 } , { Fcntl, 1 }, { Fcntlflag | OUT, 2 } } },
+ { .name = "fork", .ret_type = 1, .nargs = 0 },
+ { .name = "getegid", .ret_type = 1, .nargs = 0 },
+ { .name = "geteuid", .ret_type = 1, .nargs = 0 },
+ { .name = "getgid", .ret_type = 1, .nargs = 0 },
+ { .name = "getpid", .ret_type = 1, .nargs = 0 },
+ { .name = "getpgid", .ret_type = 1, .nargs = 1,
+ .args = { { Int, 0 } } },
+ { .name = "getpgrp", .ret_type = 1, .nargs = 0 },
+ { .name = "getppid", .ret_type = 1, .nargs = 0 },
+ { .name = "getsid", .ret_type = 1, .nargs = 1,
+ .args = { { Int, 0 } } },
+ { .name = "getuid", .ret_type = 1, .nargs = 0 },
{ .name = "readlink", .ret_type = 1, .nargs = 3,
.args = { { Name, 0 } , { Readlinkres | OUT, 1 }, { Int, 2 } } },
{ .name = "lseek", .ret_type = 2, .nargs = 3,
More information about the svn-src-stable
mailing list