Projects
Browse Source     Search     Timeline     Wiki

Changeset 23499

Show
Ignore:
Timestamp:
2008-01-28 10:38:20 (9 months ago)
Author:
zarzycki@…
Message:

<rdar://problem/5653227> work with Seatbelt to provide access control on spawn_via_launchd

Location:
branches/SULeopard/launchd/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/SULeopard/launchd/src/launchd_core_logic.c

    r23498 r23499  
    65496549                } else { 
    65506550                        target_j->deny_unknown_mslookups = !(flags & BOOTSTRAP_ALLOW_LOOKUP); 
     6551                        target_j->deny_job_creation = (bool)(flags & BOOTSTRAP_DENY_JOB_CREATION); 
    65516552                } 
    65526553        } else { 
  • branches/SULeopard/launchd/src/libbootstrap_private.h

    r23207 r23499  
    3030#define BOOTSTRAP_PER_PID_SERVICE       0x1 
    3131#define BOOTSTRAP_ALLOW_LOOKUP          0x2 
     32#define BOOTSTRAP_DENY_JOB_CREATION     0x4 
    3233 
    3334kern_return_t bootstrap_register2(mach_port_t bp, name_t service_name, mach_port_t sp, uint64_t flags);