NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46933: Can not find out wether a process is debugged



The following reply was made to PR kern/46933; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/46933: Can not find out wether a process is debugged
Date: Tue, 11 Sep 2012 05:23:02 +0000

 On Mon, Sep 10, 2012 at 09:15:00AM +0000, martin%NetBSD.org@localhost wrote:
  > For reasons that do not matter here I am trying to write a function
  > that tells the caller, if the process is being debugged.
 
 ps seems to still be able to retrieve this information; what mechanism
 does it use?
 
 Also, I'm not sure user processes should in general be able to tell if
 they themselves are being traced. (For example, if they're being run
 under some kind of supervised execution scheme.)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index