Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 6 of 6) sorted by relevance

/security/selinux/ss/
Dstatus.c47 mutex_lock(&state->ss->status_lock); in selinux_kernel_status_page()
48 if (!state->ss->status_page) { in selinux_kernel_status_page()
49 state->ss->status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()
51 if (state->ss->status_page) { in selinux_kernel_status_page()
52 status = page_address(state->ss->status_page); in selinux_kernel_status_page()
68 result = state->ss->status_page; in selinux_kernel_status_page()
69 mutex_unlock(&state->ss->status_lock); in selinux_kernel_status_page()
84 mutex_lock(&state->ss->status_lock); in selinux_status_update_setenforce()
85 if (state->ss->status_page) { in selinux_status_update_setenforce()
86 status = page_address(state->ss->status_page); in selinux_status_update_setenforce()
[all …]
Dservices.c81 void selinux_ss_init(struct selinux_ss **ss) in selinux_ss_init() argument
85 *ss = &selinux_ss; in selinux_ss_init()
246 struct policydb *p = &state->ss->policydb; in security_mls_enabled()
724 struct policydb *p = &state->ss->policydb; in security_validtrans_handle_fail()
766 read_lock(&state->ss->policy_rwlock); in security_compute_validatetrans()
768 policydb = &state->ss->policydb; in security_compute_validatetrans()
769 sidtab = state->ss->sidtab; in security_compute_validatetrans()
772 tclass = unmap_class(&state->ss->map, orig_tclass); in security_compute_validatetrans()
824 read_unlock(&state->ss->policy_rwlock); in security_compute_validatetrans()
866 read_lock(&state->ss->policy_rwlock); in security_bounded_transition()
[all …]
/security/selinux/
DMakefile10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
11 ss/policydb.o ss/services.o ss/conditional.o ss/mls.o ss/status.o
DKconfig97 collisions may be viewed at /sys/fs/selinux/ss/sidtab_hash_stats. If
Dhooks.c7115 selinux_ss_init(&selinux_state.ss); in selinux_init()
/security/selinux/include/
Dsecurity.h110 struct selinux_ss *ss; member
113 void selinux_ss_init(struct selinux_ss **ss);