Project

General

Profile

Actions

Bug #2906

closed

truss(1) is broken

Added by tkusumi over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/30/2016
Due date:
% Done:

0%

Estimated time:

Description

b2a6ad87f Kernel - Fix numerous procfs/ptrace issues
in 2012 seems to have broke truss.

procfs ioctl(PIOCWAIT) returns EINVAL when called via truss.

+ if (procp->p_stops == 0) {
+ error = EINVAL;
+ goto done;
+ }

[root@]~# truss true; echo $?
truss: PIOCWAIT: Invalid argument
6

Actions

Also available in: Atom PDF