Home
last modified time | relevance | path

Searched refs:v (Results 1 – 10 of 10) sorted by relevance

/security/keys/
Dproc.c24 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos);
25 static void proc_keys_stop(struct seq_file *p, void *v);
26 static int proc_keys_show(struct seq_file *m, void *v);
45 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos);
46 static void proc_key_users_stop(struct seq_file *p, void *v);
47 static int proc_key_users_show(struct seq_file *m, void *v);
167 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos) in proc_keys_next() argument
171 n = key_serial_next(p, v); in proc_keys_next()
177 static void proc_keys_stop(struct seq_file *p, void *v) in proc_keys_stop() argument
183 static int proc_keys_show(struct seq_file *m, void *v) in proc_keys_show() argument
[all …]
/security/apparmor/include/
Dapparmorfs.h38 } v; member
46 .v_type = AA_FS_TYPE_BOOLEAN, .v.boolean = (_value), \
50 .v_type = AA_FS_TYPE_STRING, .v.string = (_value), \
54 .v_type = AA_FS_TYPE_U64, .v.u64 = (_value), \
60 { .name = (_name), .v_type = AA_FS_TYPE_DIR, .v.files = (_value) }
/security/apparmor/
Dapparmorfs.c147 static int aa_fs_seq_show(struct seq_file *seq, void *v) in aa_fs_seq_show() argument
156 seq_printf(seq, "%s\n", fs_file->v.boolean ? "yes" : "no"); in aa_fs_seq_show()
159 seq_printf(seq, "%s\n", fs_file->v.string); in aa_fs_seq_show()
162 seq_printf(seq, "%#08lx\n", fs_file->v.u64); in aa_fs_seq_show()
263 for (fs_file = fs_dir->v.files; fs_file->name; ++fs_file) { in aafs_create_dir()
299 for (fs_file = fs_dir->v.files; fs_file->name; ++fs_file) { in aafs_remove_dir()
/security/integrity/ima/
Dima_fs.c83 static void *ima_measurements_next(struct seq_file *m, void *v, loff_t *pos) in ima_measurements_next() argument
85 struct ima_queue_entry *qe = v; in ima_measurements_next()
99 static void ima_measurements_stop(struct seq_file *m, void *v) in ima_measurements_stop() argument
116 static int ima_measurements_show(struct seq_file *m, void *v) in ima_measurements_show() argument
119 struct ima_queue_entry *qe = v; in ima_measurements_show()
201 static int ima_ascii_measurements_show(struct seq_file *m, void *v) in ima_ascii_measurements_show() argument
204 struct ima_queue_entry *qe = v; in ima_ascii_measurements_show()
/security/smack/
Dsmackfs.c556 static void *smk_seq_next(struct seq_file *s, void *v, loff_t *pos, in smk_seq_next() argument
559 struct list_head *list = v; in smk_seq_next()
569 static void smk_seq_stop(struct seq_file *s, void *v) in smk_seq_stop() argument
615 static void *load2_seq_next(struct seq_file *s, void *v, loff_t *pos) in load2_seq_next() argument
617 return smk_seq_next(s, v, pos, &smack_rule_list); in load2_seq_next()
620 static int load_seq_show(struct seq_file *s, void *v) in load_seq_show() argument
622 struct list_head *list = v; in load_seq_show()
759 static void *cipso_seq_next(struct seq_file *s, void *v, loff_t *pos) in cipso_seq_next() argument
761 return smk_seq_next(s, v, pos, &smack_known_list); in cipso_seq_next()
768 static int cipso_seq_show(struct seq_file *s, void *v) in cipso_seq_show() argument
[all …]
/security/tomoyo/
Dutil.c286 unsigned long v; in tomoyo_parse_number_union() local
294 type = tomoyo_parse_ulong(&v, &data); in tomoyo_parse_number_union()
297 ptr->values[0] = v; in tomoyo_parse_number_union()
300 ptr->values[1] = v; in tomoyo_parse_number_union()
306 type = tomoyo_parse_ulong(&v, &data); in tomoyo_parse_number_union()
307 if (type == TOMOYO_VALUE_TYPE_INVALID || *data || ptr->values[0] > v) in tomoyo_parse_number_union()
309 ptr->values[1] = v; in tomoyo_parse_number_union()
/security/selinux/ss/
Dpolicydb.c226 int v; in filenametr_cmp() local
228 v = ft1->stype - ft2->stype; in filenametr_cmp()
229 if (v) in filenametr_cmp()
230 return v; in filenametr_cmp()
232 v = ft1->ttype - ft2->ttype; in filenametr_cmp()
233 if (v) in filenametr_cmp()
234 return v; in filenametr_cmp()
236 v = ft1->tclass - ft2->tclass; in filenametr_cmp()
237 if (v) in filenametr_cmp()
238 return v; in filenametr_cmp()
[all …]
Dpolicydb.h194 } v; member
Dservices.c2479 if ((!c->v.sclass || sclass == c->v.sclass) && in security_genfs_sid()
2525 *behavior = c->v.behavior; in security_fs_use()
/security/selinux/
Dselinuxfs.c1406 static void *sel_avc_stats_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sel_avc_stats_seq_next() argument
1411 static int sel_avc_stats_seq_show(struct seq_file *seq, void *v) in sel_avc_stats_seq_show() argument
1413 struct avc_cache_stats *st = v; in sel_avc_stats_seq_show()
1415 if (v == SEQ_START_TOKEN) in sel_avc_stats_seq_show()
1429 static void sel_avc_stats_seq_stop(struct seq_file *seq, void *v) in sel_avc_stats_seq_stop() argument