Home
last modified time | relevance | path

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

/security/keys/
Dproc.c17 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos);
18 static void proc_keys_stop(struct seq_file *p, void *v);
19 static int proc_keys_show(struct seq_file *m, void *v);
29 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos);
30 static void proc_key_users_stop(struct seq_file *p, void *v);
31 static int proc_key_users_show(struct seq_file *m, void *v);
135 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos) in proc_keys_next() argument
139 n = key_serial_next(p, v); in proc_keys_next()
147 static void proc_keys_stop(struct seq_file *p, void *v) in proc_keys_stop() argument
153 static int proc_keys_show(struct seq_file *m, void *v) in proc_keys_show() argument
[all …]
/security/apparmor/include/
Dapparmorfs.h36 } v; member
44 .v_type = AA_SFS_TYPE_BOOLEAN, .v.boolean = (_value), \
48 .v_type = AA_SFS_TYPE_STRING, .v.string = (_value), \
52 .v_type = AA_SFS_TYPE_U64, .v.u64 = (_value), \
58 { .name = (_name), .v_type = AA_SFS_TYPE_DIR, .v.files = (_value) }
/security/smack/
Dsmackfs.c549 static void *smk_seq_next(struct seq_file *s, void *v, loff_t *pos, in smk_seq_next() argument
552 struct list_head *list = v; in smk_seq_next()
560 static void smk_seq_stop(struct seq_file *s, void *v) in smk_seq_stop() argument
613 static void *load2_seq_next(struct seq_file *s, void *v, loff_t *pos) in load2_seq_next() argument
615 return smk_seq_next(s, v, pos, &smack_known_list); in load2_seq_next()
618 static int load_seq_show(struct seq_file *s, void *v) in load_seq_show() argument
620 struct list_head *list = v; in load_seq_show()
757 static void *cipso_seq_next(struct seq_file *s, void *v, loff_t *pos) in cipso_seq_next() argument
759 return smk_seq_next(s, v, pos, &smack_known_list); in cipso_seq_next()
766 static int cipso_seq_show(struct seq_file *s, void *v) in cipso_seq_show() argument
[all …]
/security/integrity/ima/
Dima_fs.c94 static void *ima_measurements_next(struct seq_file *m, void *v, loff_t *pos) in ima_measurements_next() argument
96 struct ima_queue_entry *qe = v; in ima_measurements_next()
109 static void ima_measurements_stop(struct seq_file *m, void *v) in ima_measurements_stop() argument
127 int ima_measurements_show(struct seq_file *m, void *v) in ima_measurements_show() argument
130 struct ima_queue_entry *qe = v; in ima_measurements_show()
217 static int ima_ascii_measurements_show(struct seq_file *m, void *v) in ima_ascii_measurements_show() argument
220 struct ima_queue_entry *qe = v; in ima_ascii_measurements_show()
Dima.h163 int ima_measurements_show(struct seq_file *m, void *v);
300 void *ima_policy_next(struct seq_file *m, void *v, loff_t *pos);
301 void ima_policy_stop(struct seq_file *m, void *v);
302 int ima_policy_show(struct seq_file *m, void *v);
Dima_policy.c1985 void *ima_policy_next(struct seq_file *m, void *v, loff_t *pos) in ima_policy_next() argument
1987 struct ima_rule_entry *entry = v; in ima_policy_next()
1998 void ima_policy_stop(struct seq_file *m, void *v) in ima_policy_stop() argument
2042 int ima_policy_show(struct seq_file *m, void *v) in ima_policy_show() argument
2044 struct ima_rule_entry *entry = v; in ima_policy_show()
/security/tomoyo/
Dutil.c277 unsigned long v; in tomoyo_parse_number_union() local
286 type = tomoyo_parse_ulong(&v, &data); in tomoyo_parse_number_union()
289 ptr->values[0] = v; in tomoyo_parse_number_union()
292 ptr->values[1] = v; in tomoyo_parse_number_union()
298 type = tomoyo_parse_ulong(&v, &data); in tomoyo_parse_number_union()
299 if (type == TOMOYO_VALUE_TYPE_INVALID || *data || ptr->values[0] > v) in tomoyo_parse_number_union()
301 ptr->values[1] = v; in tomoyo_parse_number_union()
/security/selinux/ss/
Dpolicydb.c428 int v; in filenametr_cmp() local
430 v = ft1->ttype - ft2->ttype; in filenametr_cmp()
431 if (v) in filenametr_cmp()
432 return v; in filenametr_cmp()
434 v = ft1->tclass - ft2->tclass; in filenametr_cmp()
435 if (v) in filenametr_cmp()
436 return v; in filenametr_cmp()
464 int v; in rangetr_cmp() local
466 v = key1->source_type - key2->source_type; in rangetr_cmp()
467 if (v) in rangetr_cmp()
[all …]
Davtab.c44 u32 v = input; \ in avtab_hash()
45 v *= c1; \ in avtab_hash()
46 v = (v << r1) | (v >> (32 - r1)); \ in avtab_hash()
47 v *= c2; \ in avtab_hash()
48 hash ^= v; \ in avtab_hash()
Dpolicydb.h203 } v; member
Dservices.c2913 if ((!c->v.sclass || sclass == c->v.sclass) && in __security_genfs_sid()
3004 sbsec->behavior = c->v.behavior; in security_fs_use()
/security/apparmor/
Dapparmorfs.c989 static int aa_sfs_seq_show(struct seq_file *seq, void *v) in aa_sfs_seq_show() argument
998 seq_printf(seq, "%s\n", fs_file->v.boolean ? "yes" : "no"); in aa_sfs_seq_show()
1001 seq_printf(seq, "%s\n", fs_file->v.string); in aa_sfs_seq_show()
1004 seq_printf(seq, "%#08lx\n", fs_file->v.u64); in aa_sfs_seq_show()
1068 static int seq_profile_name_show(struct seq_file *seq, void *v) in seq_profile_name_show() argument
1079 static int seq_profile_mode_show(struct seq_file *seq, void *v) in seq_profile_mode_show() argument
1090 static int seq_profile_attach_show(struct seq_file *seq, void *v) in seq_profile_attach_show() argument
1106 static int seq_profile_hash_show(struct seq_file *seq, void *v) in seq_profile_hash_show() argument
1148 static int seq_ns_stacked_show(struct seq_file *seq, void *v) in seq_ns_stacked_show() argument
1159 static int seq_ns_nsstacked_show(struct seq_file *seq, void *v) in seq_ns_nsstacked_show() argument
[all …]
/security/keys/trusted-keys/
Dtrusted_tpm2.c134 const u8 *v = value; in tpm2_key_parent() local
140 ctx->parent |= v[i]; in tpm2_key_parent()
/security/selinux/
Dselinuxfs.c1639 static void *sel_avc_stats_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sel_avc_stats_seq_next() argument
1644 static int sel_avc_stats_seq_show(struct seq_file *seq, void *v) in sel_avc_stats_seq_show() argument
1646 struct avc_cache_stats *st = v; in sel_avc_stats_seq_show()
1648 if (v == SEQ_START_TOKEN) { in sel_avc_stats_seq_show()
1662 static void sel_avc_stats_seq_stop(struct seq_file *seq, void *v) in sel_avc_stats_seq_stop() argument
/security/
Ddevice_cgroup.c281 static int devcgroup_seq_show(struct seq_file *m, void *v) in devcgroup_seq_show() argument