Projects
Browse Source     Search     Timeline     Wiki

Changeset 23321

Show
Ignore:
Timestamp:
07/30/07 08:15:12 (16 months ago)
Author:
zarzycki@…
Message:

<rdar://problem/5351245> ARD Agent not starting when logging in as root

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchd_core_logic.c

    r23319 r23321  
    17311731 
    17321732        LIST_FOREACH(ji, &label_hash[hash_label(label)], label_hash_sle) { 
     1733                if (ji->removal_pending) { 
     1734                        continue; /* 5351245 */ 
     1735                } 
     1736 
    17331737                if (strcmp(ji->label, label) == 0) { 
    17341738                        return ji; 
     
    56485652                                        SLIST_INSERT_HEAD(&j->mgr->parentmgr->submgrs, j->mgr, sle); 
    56495653 
     5654                                        /* 
     5655                                         * We really should wait for all the jobs to die before proceeding. See 5351245 for more info. 
     5656                                         * 
     5657                                         * We have hacked around this in job_find() by ignoring jobs that are pending removal. 
     5658                                         */ 
     5659 
    56505660                                } else if (strcmp(j->mgr->name, VPROCMGR_SESSION_AQUA) == 0) { 
    56515661                                        return 0;