Re: sysctl semantics for KERN_PROC_PID
Re: sysctl semantics for KERN_PROC_PID
- Subject: Re: sysctl semantics for KERN_PROC_PID
- From: Steve Checkoway <email@hidden>
- Date: Thu, 29 Jan 2009 13:04:57 -0800
On Jan 29, 2009, at 11:04 AM, A.M. wrote:
if(kill(somePid,0)==0)
{
//process for pid was running
//who knows if it still is
}
Comment corrected above. <http://en.wikipedia.org/wiki/TOCTTOU>
--
Steve Checkoway
"Anyone who says that the solution is to educate the users
hasn't ever met an actual user." -- Bruce Schneier
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden