Home
last modified time | relevance | path

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

/security/selinux/ss/
A Dsidtab.c35 int sidtab_init(struct sidtab *s) in sidtab_init()
78 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial()
163 static int sidtab_alloc_roots(struct sidtab *s, u32 level) in sidtab_alloc_roots()
225 static struct sidtab_entry *sidtab_lookup(struct sidtab *s, u32 index) in sidtab_lookup()
258 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid) in sidtab_search_entry()
363 static void sidtab_convert_hashtable(struct sidtab *s, u32 count) in sidtab_convert_hashtable()
485 void sidtab_cancel_convert(struct sidtab *s) in sidtab_cancel_convert()
495 void sidtab_freeze_begin(struct sidtab *s, unsigned long *flags) in sidtab_freeze_begin()
502 void sidtab_freeze_end(struct sidtab *s, unsigned long *flags) in sidtab_freeze_end()
541 void sidtab_destroy(struct sidtab *s) in sidtab_destroy()
[all …]
A Dsymtab.c42 int symtab_init(struct symtab *s, u32 size) in symtab_init()
48 int symtab_insert(struct symtab *s, char *name, void *datum) in symtab_insert()
53 void *symtab_search(struct symtab *s, const char *name) in symtab_search()
A Dsidtab.h112 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search()
119 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force()
147 static inline void sidtab_sid2str_put(struct sidtab *s, in sidtab_sid2str_put()
152 static inline int sidtab_sid2str_get(struct sidtab *s, in sidtab_sid2str_get()
A Dpolicydb.c697 static void symtab_hash_eval(struct symtab *s) in symtab_hash_eval()
710 static inline void symtab_hash_eval(struct symtab *s) in symtab_hash_eval()
868 int policydb_load_isids(struct policydb *p, struct sidtab *s) in policydb_load_isids()
1126 static int perm_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in perm_read()
1159 static int common_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in common_read()
1324 static int class_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in class_read()
1421 static int role_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in role_read()
1478 static int type_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in type_read()
1552 static int user_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in user_read()
1603 static int sens_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in sens_read()
[all …]
A Dconditional.c26 int s[COND_EXPR_MAXDEPTH]; in cond_evaluate_expr() local
209 int cond_read_bool(struct policydb *p, struct symtab *s, struct policy_file *fp) in cond_read_bool()
A Dservices.c276 int s[CEXPR_MAXDEPTH]; in constraint_expr_eval() local
1373 const char *s; in security_sid_to_context_core() local
1576 const char *s = initial_sid_to_string[i]; in security_context_to_sid_core() local
1694 char *s = NULL, *t = NULL, *n = NULL; in compute_sid_handle_invalid_context() local
2030 char *s; in convert_context_handle_invalid_context() local
2064 char *s; in services_convert_context() local
3236 char *s; in security_sid_mls_copy() local
A Debitmap.c288 u32 s; in ebitmap_set_bit() local
A Dmls.c231 struct context *context, struct sidtab *s, u32 def_sid) in mls_context_to_sid()
/security/selinux/
A Dgenheaders.c26 static char *stoupperx(const char *s) in stoupperx()
73 const char *s = initial_sid_to_string[i]; in main() local
87 static char s[] = "SOCKET"; in main() local
A Dhooks.c400 #define A(s, has_arg) {#s, sizeof(#s) - 1, Opt_##s, has_arg} argument
415 static int match_opt_prefix(char *s, int l, char **arg) in match_opt_prefix()
1004 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt()
2583 static inline int opt_len(const char *s) in opt_len()
A Dselinuxfs.c1683 const char *s = security_get_initial_sid_context(i); in sel_make_initcon_files() local
/security/smack/
A Dsmackfs.c532 static void *smk_seq_start(struct seq_file *s, loff_t *pos, in smk_seq_start()
560 static void smk_seq_stop(struct seq_file *s, void *v) in smk_seq_stop()
592 static void *load2_seq_start(struct seq_file *s, loff_t *pos) in load2_seq_start()
602 static int load_seq_show(struct seq_file *s, void *v) in load_seq_show()
750 static int cipso_seq_show(struct seq_file *s, void *v) in cipso_seq_show()
961 static int cipso2_seq_show(struct seq_file *s, void *v) in cipso2_seq_show()
1044 static int net4addr_seq_show(struct seq_file *s, void *v) in net4addr_seq_show()
1308 static int net6addr_seq_show(struct seq_file *s, void *v) in net6addr_seq_show()
1872 static int onlycap_seq_show(struct seq_file *s, void *v) in onlycap_seq_show()
2214 static int load_self_seq_show(struct seq_file *s, void *v) in load_self_seq_show()
[all …]
A Dsmack_lsm.c72 #define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s} argument
83 static int match_opt_prefix(char *s, int l, char **arg) in match_opt_prefix()
107 static void smk_bu_mode(int mode, char *s) in smk_bu_mode()
559 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt()
4299 u32 s = 0; /* 0 is the invalid secid */ in smack_socket_getpeersec_dgram() local
/security/tomoyo/
A Dtomoyo.c19 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_domain() local
41 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_cred_prepare() local
59 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_bprm_committed_creds() local
94 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_bprm_check_security() local
535 struct tomoyo_task *s = tomoyo_task(task); in tomoyo_task_free() local
600 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_init() local
A Dmemory.c50 const size_t s = ksize(ptr); in tomoyo_memory_ok() local
A Dsecurityfs_if.c73 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_write_self() local
A Ddomain.c879 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_find_next_domain() local
/security/
A Ddevice_cgroup.c49 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup()
/security/keys/trusted-keys/
A Dtrusted_tpm1.c402 static int osap(struct tpm_buf *tb, struct osapsess *s, in osap()
/security/apparmor/
A Dapparmorfs.c1603 char *buffer, *s; in gen_symlink_name() local

Completed in 71 milliseconds