Lines Matching refs:bootstrap
2893 if (serv->bootstrap != MACH_PORT_NULL) {
2894 mach_port_deallocate(mach_task_self(), serv->bootstrap);
2895 serv->bootstrap = MACH_PORT_NULL;
2899 void scnc_bootstrap_retain(struct service *serv, mach_port_t bootstrap)
2901 if (serv->bootstrap != bootstrap) {
2902 if (serv->bootstrap != MACH_PORT_NULL)
2903 mach_port_deallocate(mach_task_self(), serv->bootstrap);
2904 if (bootstrap != MACH_PORT_NULL)
2905 mach_port_mod_refs(mach_task_self(), bootstrap, MACH_PORT_RIGHT_SEND, +1);
2906 serv->bootstrap = bootstrap;
2931 int scnc_start(struct service *serv, CFDictionaryRef options, void *client, int autoclose, uid_t uid, gid_t gid, int pid, mach_port_t bootstrap, mach_port_t au_session)
3048 case TYPE_PPP: ret = ppp_start(serv, options, uid, gid, bootstrap, au_session, 0, onDemand); break;
3049 case TYPE_IPSEC: ret = ipsec_start(serv, options, uid, gid, bootstrap, 0, onDemand); break;