Home
last modified time | relevance | path

Searched refs:sidtab (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/security/selinux/ss/
Dsidtab.h66 struct sidtab *target;
71 struct sidtab { struct
93 int sidtab_init(struct sidtab *s); argument
94 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
95 struct context *sidtab_search(struct sidtab *s, u32 sid);
96 struct context *sidtab_search_force(struct sidtab *s, u32 sid);
98 int sidtab_convert(struct sidtab *s, struct sidtab_convert_params *params);
100 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);
102 void sidtab_destroy(struct sidtab *s);
Dservices.c753 struct sidtab *sidtab; in security_compute_validatetrans() local
769 sidtab = state->ss->sidtab; in security_compute_validatetrans()
782 ocontext = sidtab_search(sidtab, oldsid); in security_compute_validatetrans()
790 ncontext = sidtab_search(sidtab, newsid); in security_compute_validatetrans()
798 tcontext = sidtab_search(sidtab, tasksid); in security_compute_validatetrans()
857 struct sidtab *sidtab; in security_bounded_transition() local
869 sidtab = state->ss->sidtab; in security_bounded_transition()
872 old_context = sidtab_search(sidtab, old_sid); in security_bounded_transition()
880 new_context = sidtab_search(sidtab, new_sid); in security_bounded_transition()
1006 struct sidtab *sidtab; in security_compute_xperms_decision() local
[all …]
Dsidtab.c20 int sidtab_init(struct sidtab *s) in sidtab_init()
40 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial()
70 static int sidtab_alloc_roots(struct sidtab *s, u32 level) in sidtab_alloc_roots()
91 static struct context *sidtab_do_lookup(struct sidtab *s, u32 index, int alloc) in sidtab_do_lookup()
131 static struct context *sidtab_lookup(struct sidtab *s, u32 index) in sidtab_lookup()
142 static struct context *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial()
147 static struct context *sidtab_search_core(struct sidtab *s, u32 sid, int force) in sidtab_search_core()
163 struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search()
168 struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force()
208 static void sidtab_rcache_update(struct sidtab *s, u32 index, u32 pos) in sidtab_rcache_update()
[all …]
Dservices.h27 struct sidtab *sidtab; member
Dmls.h39 struct sidtab *s,
Dpolicydb.h312 extern int policydb_load_isids(struct policydb *p, struct sidtab *s);
Dmls.c238 struct sidtab *s, in mls_context_to_sid()
Dpolicydb.c850 int policydb_load_isids(struct policydb *p, struct sidtab *s) in policydb_load_isids()
/Linux-v5.4/security/selinux/
DMakefile10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \