Home
last modified time | relevance | path

Searched defs:s (Results 1 – 19 of 19) sorted by relevance

/security/selinux/ss/
Dsidtab.c33 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()
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()
254 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid) in sidtab_search_entry()
259 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid) in sidtab_search_entry_force()
[all …]
Dsymtab.c40 int symtab_init(struct symtab *s, unsigned int size) in symtab_init()
46 int symtab_insert(struct symtab *s, char *name, void *datum) in symtab_insert()
51 void *symtab_search(struct symtab *s, const char *name) in symtab_search()
Dsidtab.h111 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()
144 static inline void sidtab_sid2str_put(struct sidtab *s, in sidtab_sid2str_put()
149 static inline int sidtab_sid2str_get(struct sidtab *s, in sidtab_sid2str_get()
Dpolicydb.c692 static void symtab_hash_eval(struct symtab *s) in symtab_hash_eval()
863 int policydb_load_isids(struct policydb *p, struct sidtab *s) in policydb_load_isids()
1092 static int perm_read(struct policydb *p, struct symtab *s, void *fp) in perm_read()
1125 static int common_read(struct policydb *p, struct symtab *s, void *fp) in common_read()
1289 static int class_read(struct policydb *p, struct symtab *s, void *fp) in class_read()
1384 static int role_read(struct policydb *p, struct symtab *s, void *fp) in role_read()
1440 static int type_read(struct policydb *p, struct symtab *s, void *fp) in type_read()
1514 static int user_read(struct policydb *p, struct symtab *s, void *fp) in user_read()
1564 static int sens_read(struct policydb *p, struct symtab *s, void *fp) in sens_read()
1605 static int cat_read(struct policydb *p, struct symtab *s, void *fp) in cat_read()
Dconditional.c27 int s[COND_EXPR_MAXDEPTH]; in cond_evaluate_expr() local
208 int cond_read_bool(struct policydb *p, struct symtab *s, void *fp) in cond_read_bool()
Dservices.c283 int s[CEXPR_MAXDEPTH]; in constraint_expr_eval() local
1345 const char *s = initial_sid_to_string[sid]; in security_sid_to_context_core() local
1541 const char *s = initial_sid_to_string[i]; in security_context_to_sid_core() local
1666 char *s = NULL, *t = NULL, *n = NULL; in compute_sid_handle_invalid_context() local
2005 char *s; in convert_context_handle_invalid_context() local
2035 char *s; in convert_context() local
3224 char *s; in security_sid_mls_copy() local
Debitmap.c290 unsigned int s; in ebitmap_set_bit() local
Dmls.c237 struct sidtab *s, in mls_context_to_sid()
/security/smack/
Dsmackfs.c532 static void *smk_seq_start(struct seq_file *s, loff_t *pos, in smk_seq_start()
549 static void *smk_seq_next(struct seq_file *s, void *v, loff_t *pos, in smk_seq_next()
560 static void smk_seq_stop(struct seq_file *s, void *v) in smk_seq_stop()
565 static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max) in smk_rule_show()
608 static void *load2_seq_start(struct seq_file *s, loff_t *pos) in load2_seq_start()
613 static void *load2_seq_next(struct seq_file *s, void *v, loff_t *pos) in load2_seq_next()
618 static int load_seq_show(struct seq_file *s, void *v) in load_seq_show()
752 static void *cipso_seq_start(struct seq_file *s, loff_t *pos) in cipso_seq_start()
757 static void *cipso_seq_next(struct seq_file *s, void *v, loff_t *pos) in cipso_seq_next()
766 static int cipso_seq_show(struct seq_file *s, void *v) in cipso_seq_show()
[all …]
Dsmack_lsm.c62 #define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s} argument
73 static int match_opt_prefix(char *s, int l, char **arg) in match_opt_prefix()
97 static void smk_bu_mode(int mode, char *s) in smk_bu_mode()
567 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt()
4130 u32 s = 0; /* 0 is the invalid secid */ in smack_socket_getpeersec_dgram() local
/security/tomoyo/
Dtomoyo.c18 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_domain() local
40 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_cred_prepare() local
58 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_bprm_committed_creds() local
93 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_bprm_check_security() local
521 struct tomoyo_task *s = tomoyo_task(task); in tomoyo_task_free() local
583 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_init() local
Dmemory.c50 const size_t s = ksize(ptr); in tomoyo_memory_ok() local
Dsecurityfs_if.c73 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_write_self() local
Ddomain.c870 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_find_next_domain() local
/security/
Ddevice_cgroup.c49 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup()
/security/keys/trusted-keys/
Dtrusted_tpm1.c391 static int osap(struct tpm_buf *tb, struct osapsess *s, in osap()
/security/selinux/
Dhooks.c363 #define A(s, has_arg) {#s, sizeof(#s) - 1, Opt_##s, has_arg} argument
378 static int match_opt_prefix(char *s, int l, char **arg) in match_opt_prefix()
951 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt()
2555 static inline int opt_len(const char *s) in opt_len()
Dselinuxfs.c1782 const char *s = security_get_initial_sid_context(i); in sel_make_initcon_files() local
/security/apparmor/
Dapparmorfs.c1585 char *buffer, *s; in gen_symlink_name() local