Bug 2586 - When attaching to a process not owned by the user, an error occurs.
Summary: When attaching to a process not owned by the user, an error occurs.
Status: RESOLVED DUPLICATE of bug 2619
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
Depends on:
Reported: 2006-04-19 20:29 UTC by Adam Jocksch
Modified: 2006-05-30 06:47 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Adam Jocksch 2006-04-19 20:29:46 UTC
Comment 1 Adam Jocksch 2006-04-19 20:31:31 UTC
When you try to connect to a process not owned by the current user, the
following exception is thrown:

ptrace.attach: Operation not permitted (process XXXX)
   at frysk.proc.LinuxTask.sendAttach (FryskGui)
   at frysk.proc.TaskState$1.handleAttach (FryskGui)
   at frysk.proc.Task.performAttach (FryskGui)
   at frysk.proc.ProcState$Attaching.initialState (FryskGui)
   at frysk.proc.ProcState$1.handleAddObservation (FryskGui)
   at frysk.proc.Proc.handleAddObservation (FryskGui)
   at frysk.proc.Proc$6.execute (FryskGui)
   at frysk.event.EventLoop.runEventLoop (FryskGui)
   at frysk.event.EventLoop.run (FryskGui)
   at frysk.gui.Gui$3.run (FryskGui)
   at java.lang.Thread.run (libgcj.so.7)

(EG: try attaching to init)
Comment 2 Andrew Cagney 2006-05-30 06:47:01 UTC

*** This bug has been marked as a duplicate of 2619 ***