/security/selinux/ss/ |
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() 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 …]
|
D | symtab.c | 40 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()
|
D | sidtab.h | 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() 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()
|
D | policydb.c | 692 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()
|
D | conditional.c | 27 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()
|
D | services.c | 283 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
|
D | ebitmap.c | 290 unsigned int s; in ebitmap_set_bit() local
|
D | mls.c | 237 struct sidtab *s, in mls_context_to_sid()
|
/security/smack/ |
D | smackfs.c | 532 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 …]
|
D | smack_lsm.c | 62 #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/ |
D | tomoyo.c | 18 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
|
D | memory.c | 50 const size_t s = ksize(ptr); in tomoyo_memory_ok() local
|
D | securityfs_if.c | 73 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_write_self() local
|
D | domain.c | 870 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_find_next_domain() local
|
/security/ |
D | device_cgroup.c | 49 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup()
|
/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 391 static int osap(struct tpm_buf *tb, struct osapsess *s, in osap()
|
/security/selinux/ |
D | hooks.c | 363 #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()
|
D | selinuxfs.c | 1782 const char *s = security_get_initial_sid_context(i); in sel_make_initcon_files() local
|
/security/apparmor/ |
D | apparmorfs.c | 1585 char *buffer, *s; in gen_symlink_name() local
|