Projects
Browse Source     Search     Timeline     Wiki

Changeset 23327

Show
Ignore:
Timestamp:
08/02/07 13:29:02 (16 months ago)
Author:
zarzycki@…
Message:

<rdar://problem/5378922> 9A509: screen hangs on launch in root shell

Location:
trunk/launchd/src
Files:
2 modified

Legend:

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

    r23321 r23327  
    56595659 
    56605660                                } else if (strcmp(j->mgr->name, VPROCMGR_SESSION_AQUA) == 0) { 
     5661                                        job_log(j, LOG_DEBUG, "Tried to move the Aqua session."); 
     5662                                        return 0; 
     5663                                } else if (strcmp(j->mgr->name, VPROCMGR_SESSION_BACKGROUND) == 0) { 
     5664                                        job_log(j, LOG_DEBUG, "Tried to move the background session."); 
    56615665                                        return 0; 
    56625666                                } else { 
  • trunk/launchd/src/libvproc.c

    r23319 r23327  
    112112        } 
    113113 
    114         if (ldpid != 1) { 
     114        if (!is_bkgd && ldpid != 1) { 
    115115                if (lduid == getuid()) { 
    116116                        return NULL;