Project

General

Profile

Actions

Bug #1921

open

pstop fails if process is being truss-ed

Added by Vladimir Kirillov over 9 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-12-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

$ truss xterm
$ pstop $(ps -o ppid= -p $$)

truss-ing pstop showed that O_EXCL opening of the /proc/$pid/as file fails -- maybe this can be the reason to show a warning/error message in pstop?

Actions #1

Updated by Milan Jurik over 9 years ago

pstop should do the same thing as other p-commands, something like:

pstop: cannot examine PID: process is traced

Actions #2

Updated by Rich Lowe over 8 years ago

  • Project changed from site to illumos gate
Actions #3

Updated by Alexander Eremin over 8 years ago

PGRAB_FORCE allows to pass EBUSY for /proc/xxx/as - shouldn't we remove this flag here?

Actions

Also available in: Atom PDF