Project

General

Profile

Actions

Bug #1528

open

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

Added by corecode about 15 years ago. Updated over 3 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Kernel
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When ktracing a pipe syscall, the output is:

57705 a.out CALL pipe
57705 a.out RET pipe 3

However, the return value of pipe is 0, and the returned value for the
file descs is {3, 4}.

Actions

Also available in: Atom PDF