Searched refs:policy_mutex (Results 1 – 8 of 8) sorted by relevance
80 WARN_ON(!mutex_is_locked(&state->policy_mutex)); in selinux_ima_measure_state_locked()120 WARN_ON(mutex_is_locked(&state->policy_mutex)); in selinux_ima_measure_state()122 mutex_lock(&state->policy_mutex); in selinux_ima_measure_state()124 mutex_unlock(&state->policy_mutex); in selinux_ima_measure_state()
404 mutex_lock(&fsi->state->policy_mutex); in sel_open_policy()435 mutex_unlock(&fsi->state->policy_mutex); in sel_open_policy()439 mutex_unlock(&fsi->state->policy_mutex); in sel_open_policy()622 mutex_lock(&fsi->state->policy_mutex); in sel_write_load()666 mutex_unlock(&fsi->state->policy_mutex); in sel_write_load()1275 mutex_lock(&fsi->state->policy_mutex); in sel_read_bool()1294 mutex_unlock(&fsi->state->policy_mutex); in sel_read_bool()1301 mutex_unlock(&fsi->state->policy_mutex); in sel_read_bool()1326 mutex_lock(&fsi->state->policy_mutex); in sel_write_bool()1351 mutex_unlock(&fsi->state->policy_mutex); in sel_write_bool()[all …]
7412 mutex_init(&selinux_state.policy_mutex); in selinux_init()
338 lockdep_assert_held(&stm->policy_mutex); in stp_policy_unbind()360 mutex_lock(&stm->policy_mutex); in stp_policy_release()362 mutex_unlock(&stm->policy_mutex); in stp_policy_release()434 mutex_lock(&stm->policy_mutex); in stp_policy_make()455 mutex_unlock(&stm->policy_mutex); in stp_policy_make()539 mutex_lock(&stm->policy_mutex); in stp_policy_node_lookup()542 mutex_unlock(&stm->policy_mutex); in stp_policy_node_lookup()
33 struct mutex policy_mutex; member
886 mutex_init(&stm->policy_mutex); in stm_register_device()955 mutex_lock(&stm->policy_mutex); in stm_unregister_device()958 mutex_unlock(&stm->policy_mutex); in stm_unregister_device()
106 struct mutex policy_mutex; member
2196 lockdep_is_held(&state->policy_mutex)); in selinux_policy_cancel()2223 lockdep_is_held(&state->policy_mutex)); in selinux_policy_commit()2324 lockdep_is_held(&state->policy_mutex)); in security_load_policy()3093 lockdep_is_held(&state->policy_mutex)); in security_set_bools()4029 state->policy, lockdep_is_held(&state->policy_mutex)); in security_read_policy()4059 state->policy, lockdep_is_held(&state->policy_mutex)); in security_read_state_kernel()