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 #1

Updated by dillon over 8 years ago

  • Status changed from New to Closed

Pushed hack to procfs that appears to fix the problem.

-Matt

Actions

Also available in: Atom PDF