[issue1528] ktrace does not show proper return values for pipe(2)

Stathis Kamperis (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Fri Oct 30 10:59:33 PDT 2009


Stathis Kamperis <ekamperi at gmail.com> added the comment:

I've added a kprintf in ktrsysret() and here is what printed:

1126 a.out   CALL pipe
1126 a.out   RET  ret=3 error=0 code=42 pipe 3

Question is why `ret' contains the first file descriptor of the pair at all.
(and not zero as ought to)

Stathis

----------
status: unread -> chatting

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1528>
_____________________________________________________





More information about the Bugs mailing list