Searched refs:mpc (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10.1/xnu-2782.1.97/security/
H A Dmac_internal.h104 struct mac_policy_conf *mpc; member in struct:mac_policy_list_element
273 struct mac_policy_conf *mpc; \
278 mpc = mac_policy_list.entries[i].mpc; \
279 if (mpc == NULL) \
282 if (mpc->mpc_ops->mpo_ ## check != NULL) \
284 mpc->mpc_ops->mpo_ ## check (args), \
289 mpc = mac_policy_list.entries[i].mpc; \
290 if (mpc
[all...]
H A Dmac_audit.c242 struct mac_policy_conf *mpc; local
248 mpc = mac_policy_list.entries[i].mpc;
249 if (mpc == NULL)
252 if (mpc->mpc_ops->mpo_audit_check_preselect != NULL) {
253 error = mpc->mpc_ops->mpo_audit_check_preselect(cred,
260 mpc = mac_policy_list.entries[i].mpc;
261 if (mpc == NULL)
264 if (mpc
280 struct mac_policy_conf *mpc; local
[all...]
H A Dmac_data.c62 struct mac_policy_conf *mpc; local
65 if ((mpc = mac_get_mpc(handle)) != NULL)
66 error = mac_find_module_data(mpc->mpc_data, key, valp, sizep);
H A Dmac_base.c424 struct mac_policy_conf *mpc; local
445 mpc = mac_get_mpc(i);
446 if ((mpc != NULL) && (mpc->mpc_ops->mpo_policy_initbsd != NULL))
447 (*(mpc->mpc_ops->mpo_policy_initbsd))(mpc);
465 struct mac_policy_conf *mpc; local
469 mpc = mac_get_mpc(handle);
471 if (mpc->mpc_labelnames == NULL)
474 if (mpc
566 struct mac_policy_conf *mpc; local
645 mac_policy_register(struct mac_policy_conf *mpc, mac_policy_handle_t *handlep, void *xd) argument
804 struct mac_policy_conf *mpc; local
946 struct mac_policy_conf *mpc; local
1087 struct mac_policy_conf *mpc; local
1956 struct mac_policy_conf *mpc; local
[all...]
H A Dmac_vfs.c488 struct mac_policy_conf *mpc; local
493 mpc = mac_policy_list.entries[i].mpc;
494 if (mpc == NULL)
497 mpo_cred_label_update_execve_t *hook = mpc->mpc_ops->mpo_cred_label_update_execve;
502 void *spawnattr = exec_spawnattr_getmacpolicyinfo(macextensions, mpc->mpc_name, &spawnattrlen);
510 mpc = mac_policy_list.entries[i].mpc;
511 if (mpc == NULL)
514 mpo_cred_label_update_execve_t *hook = mpc
550 struct mac_policy_conf *mpc; local
775 struct mac_policy_conf *mpc; local
[all...]
H A Dmac_policy.h2299 @param mpc MAC policy configuration
2314 struct mac_policy_conf *mpc
2318 @param mpc MAC policy configuration
2338 struct mac_policy_conf *mpc
2342 @param mpc MAC policy configuration
2360 struct mac_policy_conf *mpc
6250 int mac_policy_register(struct mac_policy_conf *mpc,
6408 #define mac_get_mpc(h) (mac_policy_list.entries[h].mpc)
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dpolicy_check.c44 hook_policy_init(struct mac_policy_conf *mpc) argument
46 printf("Policy '%s' = '%s' ready\n", mpc->mpc_name, mpc->mpc_fullname);
50 hook_policy_initbsd(struct mac_policy_conf *mpc) argument
53 printf("hook_policy_initbsd: %s\n", mpc->mpc_name);
/macosx-10.10.1/files-662.1.1/private/etc/
H A Dservices2554 mpc-lifenet 1213/udp # MPC LIFENET
2555 mpc-lifenet 1213/tcp # MPC LIFENET

Completed in 114 milliseconds