AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
- Subject: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
- From: "Huyler, Christopher M" <email@hidden>
- Date: Wed, 10 Dec 2003 14:34:12 -0500
- Thread-topic: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
I created a Preference Pane. Then I created a tool to do some actions
that required root access. However, every time that my PrefPane
launches the tool using AuthorizationExecuteWithPrivileges, it leaves
behind a zombie process when the tool exits.
# ps -xac -O ppid,pgid
PID PPID PGID TT STAT TIME COMMAND
...
28626 27090 28626 ?? SX 0:11.97 System Preferences
28629 28626 28626 ?? Z 0:00.00 (prefutil)
29226 28626 28626 ?? Z 0:00.00 (prefutil)
29249 28626 28626 ?? Z 0:00.00 (prefutil)
29272 28626 28626 ?? Z 0:00.00 (prefutil)
29295 28626 28626 ?? Z 0:00.00 (prefutil)
29411 28626 28626 ?? Z 0:00.00 (prefutil)
29413 28626 28626 ?? Z 0:00.00 (prefutil)
...
When I exit System Preferences they go away. Am I doing something
wrong? I played around with all the other PrefPanes and notices that a
few other processes that were launched by System Preferences...
29330 28626 29330 ?? Ss 0:00.10 NetCfgTool
29331 28626 29331 ?? Ss 0:00.07 writeconfig
Am I supposed to make my tool into a mini-daemon and only launch it
once?
--
Christopher Huyler
Computer Associates Intl.
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.