[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-bugs
Subject: misc/180976: [PATCH] Fixed vfork/rfork arguments in truss(1)
From: Yuri <yuri () tsoft ! com>
Date: 2013-07-31 18:15:14
Message-ID: 201307311815.r6VIFE6D050639 () oldred ! freebsd ! org
[Download RAW message or body]
>Number: 180976
>Category: misc
>Synopsis: [PATCH] Fixed vfork/rfork arguments in truss(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 31 18:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Yuri
>Release: 9.1
>Organization:
n/a
>Environment:
>Description:
Currently truss shows vfork like this:
73278: vfork(0x622780,0x40d98e,0x801439408,0x80142f105,0x4,0x0) = 73279 (0x11e3f)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: usr.bin/truss/syscalls.c
===================================================================
--- usr.bin/truss/syscalls.c (revision 251126)
+++ usr.bin/truss/syscalls.c (working copy)
@@ -93,6 +93,9 @@
{ .name = "fcntl", .ret_type = 1, .nargs = 3,
.args = { { Int, 0 } , { Fcntl, 1 }, { Fcntlflag | OUT, 2 } } },
{ .name = "fork", .ret_type = 1, .nargs = 0 },
+ { .name = "vfork", .ret_type = 1, .nargs = 0 },
+ { .name = "rfork", .ret_type = 1, .nargs = 1, },
+ .args = { { Int, 0 } } },
{ .name = "getegid", .ret_type = 1, .nargs = 0 },
{ .name = "geteuid", .ret_type = 1, .nargs = 0 },
{ .name = "getgid", .ret_type = 1, .nargs = 0 },
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic