Revision: 23285 http://trac.macosforge.org/projects/launchd/changeset/23285 Author: zarzycki@apple.com Date: 2007-06-29 10:40:58 -0700 (Fri, 29 Jun 2007) Log Message: ----------- <rdar://problem/5283330> Leopard9A474, su'ing to my netinfo name cause the finder/window server to go away. Modified Paths: -------------- trunk/launchd/src/launchd_core_logic.c Modified: trunk/launchd/src/launchd_core_logic.c =================================================================== --- trunk/launchd/src/launchd_core_logic.c 2007-06-28 22:12:17 UTC (rev 23284) +++ trunk/launchd/src/launchd_core_logic.c 2007-06-29 17:40:58 UTC (rev 23285) @@ -5621,6 +5621,9 @@ } else if (jobmgr_parent(jm) == NULL) { job_log(j, LOG_ERR, "Root Mach bootstrap cannot be transferred."); return BOOTSTRAP_NOT_PRIVILEGED; + } else if (strcasecmp(jm->name, VPROCMGR_SESSION_AQUA) == 0) { + job_log(j, LOG_ERR, "Cannot transfer a setup GUI session."); + return BOOTSTRAP_NOT_PRIVILEGED; } else if (!j->anonymous) { job_log(j, LOG_ERR, "Only the anonymous job can transfer Mach sub-bootstraps."); return BOOTSTRAP_NOT_PRIVILEGED;
participants (1)
-
source_changes@macosforge.org