misc/120870: truss shows 'pipe' system call as having 6 arguments when it only has one

Yuri yuri at tsoft.com
Wed Feb 20 05:50:02 UTC 2008


>Number:         120870
>Category:       misc
>Synopsis:       truss shows 'pipe' system call as having 6 arguments when it only has one
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 20 05:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yuri
>Release:        7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #4: Tue Feb 19 08:18:11 PST 2008
>Organization:
n/a
>Environment:
>Description:
When I run a program under truss I see output lines like this:
pipe(0xbfbfd92c,0x28077200,0x0,0x1,0x0,0xbfbfd9a4) = 6 (0x6)

And it should be something like this:
pipe([6,7]) = 0

truss source code processes 'pipe' as special case. But somehow this code doesn't work as intended.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list