Lines Matching refs:handle
262 * handle lower than staticmax are considered "static" and cannot be
265 * Modules with a handle at or above the staticmax high water mark
578 mac_policy_addto_labellist(mac_policy_handle_t handle, int static_entry)
587 mpc = mac_get_mpc(handle);
654 new_mlls[mll_free]->mll_handle = handle;
680 mac_policy_removefrom_labellist(mac_policy_handle_t handle)
686 mpc = mac_get_mpc(handle);
702 if (mll->mll_handle == handle) {
880 /* Find the first free handle in the list (using our hint). */
892 * we can place its handle adjacent to the last static entry,
940 mac_policy_unregister(mac_policy_handle_t handle)
950 mpc = mac_get_mpc(handle);
974 mac_policy_removefrom_labellist(handle);
976 mac_get_mpc(handle) = NULL;
977 if (handle < mac_policy_list.freehint &&
978 handle >= mac_policy_list.staticmax)
979 mac_policy_list.freehint = handle;
981 if (handle == mac_policy_list.maxindex)
2144 mac_policy_unregister(mac_policy_handle_t handle __unused)
2151 mac_audit_text(char *text __unused, mac_policy_handle_t handle __unused)