Home
last modified time | relevance | path

Searched refs:policy_mutex (Results 1 – 8 of 8) sorted by relevance

/linux/security/selinux/
H A Dima.c77 lockdep_assert_held(&selinux_state.policy_mutex); in selinux_ima_measure_state_locked()
115 lockdep_assert_not_held(&selinux_state.policy_mutex); in selinux_ima_measure_state()
117 mutex_lock(&selinux_state.policy_mutex); in selinux_ima_measure_state()
119 mutex_unlock(&selinux_state.policy_mutex); in selinux_ima_measure_state()
H A Dselinuxfs.c371 mutex_lock(&selinux_state.policy_mutex); in sel_open_policy()
401 mutex_unlock(&selinux_state.policy_mutex); in sel_open_policy()
405 mutex_unlock(&selinux_state.policy_mutex); in sel_open_policy()
586 mutex_lock(&selinux_state.policy_mutex); in sel_write_load()
624 mutex_unlock(&selinux_state.policy_mutex); in sel_write_load()
1208 mutex_lock(&selinux_state.policy_mutex); in sel_read_bool()
1227 mutex_unlock(&selinux_state.policy_mutex); in sel_read_bool()
1234 mutex_unlock(&selinux_state.policy_mutex); in sel_read_bool()
1259 mutex_lock(&selinux_state.policy_mutex); in sel_write_bool()
1283 mutex_unlock(&selinux_state.policy_mutex); in sel_write_bool()
[all …]
H A Dhooks.c7386 mutex_init(&selinux_state.policy_mutex); in selinux_init()
/linux/drivers/hwtracing/stm/
H A Dpolicy.c338 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()
H A Dstm.h33 struct mutex policy_mutex; member
H A Dcore.c888 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()
/linux/security/selinux/include/
H A Dsecurity.h103 struct mutex policy_mutex; member
/linux/security/selinux/ss/
H A Dservices.c2166 lockdep_is_held(&state->policy_mutex)); in selinux_policy_cancel()
2192 lockdep_is_held(&state->policy_mutex)); in selinux_policy_commit()
2294 lockdep_is_held(&state->policy_mutex)); in security_load_policy()
3038 lockdep_is_held(&state->policy_mutex)); in security_set_bools()
3965 state->policy, lockdep_is_held(&state->policy_mutex)); in security_read_policy()
3995 state->policy, lockdep_is_held(&state->policy_mutex)); in security_read_state_kernel()