Project

General

Profile

Bug #2906

truss(1) is broken

Added by tkusumi almost 5 years ago. Updated over 4 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

History

#1

Updated by dillon over 4 years ago

  • Status changed from New to Closed

Pushed hack to procfs that appears to fix the problem.

-Matt

Also available in: Atom PDF