Re: Zombies from security framework
Re: Zombies from security framework
- Subject: Re: Zombies from security framework
- From: Pelle Johansson <email@hidden>
- Date: Thu, 24 May 2001 21:05:56 +0200
On torsdag, maj 24, 2001, at 07:53 , Mike Vannorsdel wrote:
When I use AuthorizationExecuteWithPrivileges() to execute a task with
root privileges, the task is left as a zombie. The zombie doesn't go
away until my application is deallocated. Does the security framework
normally leave zombie processes or is it something I'm doing?
I haven't coded anything for the security server, but I haven't seen it
happen to any other apps that use it (gNAT, BrickHouse). Is it the
SecurityClient or the actual command that becomes a zombie? What happens
if you call wait(NULL) after you deallocate the privileges? (obs, wait()
is a blocking call, if you're not supposed to call it here, and I
suppose it's likely you're not, your app will freeze).
--
Pelle Johansson
<email@hidden>