Searched refs:sidtab (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.15/security/selinux/ss/ |
D | sidtab.h | 70 struct sidtab *target; 76 struct sidtab { struct 106 int sidtab_init(struct sidtab *s); argument 107 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context); 108 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid); 109 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid); 111 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() 118 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force() 125 int sidtab_convert(struct sidtab *s, struct sidtab_convert_params *params); 127 void sidtab_cancel_convert(struct sidtab *s); [all …]
|
D | services.c | 89 struct sidtab *sidtab, 732 struct sidtab *sidtab = policy->sidtab; in security_validtrans_handle_fail() local 736 if (sidtab_entry_to_string(p, sidtab, oentry, &o, &olen)) in security_validtrans_handle_fail() 738 if (sidtab_entry_to_string(p, sidtab, nentry, &n, &nlen)) in security_validtrans_handle_fail() 740 if (sidtab_entry_to_string(p, sidtab, tentry, &t, &tlen)) in security_validtrans_handle_fail() 762 struct sidtab *sidtab; in security_compute_validatetrans() local 779 sidtab = policy->sidtab; in security_compute_validatetrans() 792 oentry = sidtab_search_entry(sidtab, oldsid); in security_compute_validatetrans() 800 nentry = sidtab_search_entry(sidtab, newsid); in security_compute_validatetrans() 808 tentry = sidtab_search_entry(sidtab, tasksid); in security_compute_validatetrans() [all …]
|
D | sidtab.c | 33 int sidtab_init(struct sidtab *s) in sidtab_init() 58 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash) in context_to_sid() 76 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial() 113 int sidtab_hash_stats(struct sidtab *sidtab, char *page) in sidtab_hash_stats() argument 124 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) { in sidtab_hash_stats() 159 static int sidtab_alloc_roots(struct sidtab *s, u32 level) in sidtab_alloc_roots() 180 static struct sidtab_entry *sidtab_do_lookup(struct sidtab *s, u32 index, in sidtab_do_lookup() 221 static struct sidtab_entry *sidtab_lookup(struct sidtab *s, u32 index) in sidtab_lookup() 232 static struct sidtab_entry *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial() 237 static struct sidtab_entry *sidtab_search_core(struct sidtab *s, u32 sid, in sidtab_search_core() [all …]
|
D | services.h | 26 struct sidtab *sidtab; member
|
D | mls.h | 42 struct sidtab *s,
|
D | policydb.h | 319 extern int policydb_load_isids(struct policydb *p, struct sidtab *s);
|
D | mls.c | 238 struct sidtab *s, in mls_context_to_sid()
|
D | policydb.c | 869 int policydb_load_isids(struct policydb *p, struct sidtab *s) in policydb_load_isids()
|
/Linux-v5.15/security/selinux/ |
D | Makefile | 10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
|
D | Kconfig | 97 int "NSA SELinux sidtab hashtable size" 102 This option sets the number of buckets used in the sidtab hashtable
|