Bug 2586

Summary: When attaching to a process not owned by the user, an error occurs.
Product: frysk Reporter: Adam Jocksch <ajocksch>
Component: generalAssignee: Andrew Cagney <cagney>
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

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 ***