Searched refs:mpc_ops (Results 1 – 7 of 7) sorted by relevance
| /xnu-8020.101.4/security/ |
| H A D | mac_audit.c | 281 if (mpc->mpc_ops->mpo_audit_check_preselect != NULL) { in mac_audit_check_preselect() 282 error = mpc->mpc_ops->mpo_audit_check_preselect(cred, in mac_audit_check_preselect() 294 if (mpc->mpc_ops->mpo_audit_check_preselect != NULL) { in mac_audit_check_preselect() 295 error = mpc->mpc_ops->mpo_audit_check_preselect(cred, in mac_audit_check_preselect() 329 if (mpc->mpc_ops->mpo_audit_check_postselect != NULL) { in mac_audit_check_postselect() 330 mac_error = mpc->mpc_ops->mpo_audit_check_postselect(cred, in mac_audit_check_postselect() 342 if (mpc->mpc_ops->mpo_audit_check_postselect != NULL) { in mac_audit_check_postselect() 343 mac_error = mpc->mpc_ops->mpo_audit_check_postselect(cred, in mac_audit_check_postselect()
|
| H A D | mac_internal.h | 264 if (mpc->mpc_ops->mpo_ ## check != NULL) { \ 266 int __step_err = mpc->mpc_ops->mpo_ ## check (args); \ 283 if (mpc->mpc_ops->mpo_ ## check != NULL) { \ 285 int __step_res = mpc->mpc_ops->mpo_ ## check (args); \ 312 if (mpc->mpc_ops->mpo_ ## operation != NULL) { \ 314 mpc->mpc_ops->mpo_ ## operation (args); \
|
| H A D | mac_base.c | 402 if ((mpc != NULL) && (mpc->mpc_ops->mpo_policy_initbsd != NULL)) { in mac_policy_initbsd() 403 (*(mpc->mpc_ops->mpo_policy_initbsd))(mpc); in mac_policy_initbsd() 632 if (mpc->mpc_ops == NULL) { in mac_policy_register() 747 if (mpc->mpc_ops->mpo_policy_init != NULL) { in mac_policy_register() 748 (*(mpc->mpc_ops->mpo_policy_init))(mpc); in mac_policy_register() 751 if (mac_late && mpc->mpc_ops->mpo_policy_initbsd != NULL) { in mac_policy_register() 753 (*(mpc->mpc_ops->mpo_policy_initbsd))(mpc); in mac_policy_register() 829 if (mpc->mpc_ops->mpo_policy_destroy != NULL) { in mac_policy_unregister() 830 (*(mpc->mpc_ops->mpo_policy_destroy))(mpc); in mac_policy_unregister() 951 ((const char *)mpc->mpc_ops + mpo_externalize_off); in mac_label_externalize() [all …]
|
| H A D | mac_vfs.c | 492 if (mpc->mpc_ops->mpo_vnode_notify_swap != NULL) { in mac_vnode_notify_rename() 494 mpc->mpc_ops->mpo_vnode_notify_swap(cred, fvp, mac_vnode_label(fvp), in mac_vnode_notify_rename() 497 } else if (mpc->mpc_ops->mpo_vnode_notify_rename != NULL) { in mac_vnode_notify_rename() 500 mpc->mpc_ops->mpo_vnode_notify_rename(cred, fvp, mac_vnode_label(fvp), in mac_vnode_notify_rename() 502 mpc->mpc_ops->mpo_vnode_notify_rename(cred, tvp, mac_vnode_label(tvp), in mac_vnode_notify_rename() 506 } else if (mpc->mpc_ops->mpo_vnode_notify_rename != NULL) { in mac_vnode_notify_rename() 508 mpc->mpc_ops->mpo_vnode_notify_rename(cred, fvp, mac_vnode_label(fvp), in mac_vnode_notify_rename() 840 mpo_cred_label_update_execve_t *hook = mpc->mpc_ops->mpo_cred_label_update_execve; in mac_cred_label_update_execve() 859 mpo_cred_label_update_execve_t *hook = mpc->mpc_ops->mpo_cred_label_update_execve; in mac_cred_label_update_execve() 911 mpo_cred_check_label_update_execve_t *hook = mpc->mpc_ops->mpo_cred_check_label_update_execve; in mac_cred_check_label_update_execve() [all …]
|
| H A D | mac_policy.h | 6214 const struct mac_policy_ops *mpc_ops; /** operation vector */ member 6394 .mpc_ops = mpops, \
|
| /xnu-8020.101.4/bsd/kern/ |
| H A D | policy_check.c | 533 .mpc_ops = &policy_ops, /* policy operations */
|
| H A D | kern_guarded.c | 1606 .mpc_ops = &vng_policy_ops,
|