/security/keys/ |
D | proc.c | 17 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() 145 static void proc_keys_stop(struct seq_file *p, void *v) in proc_keys_stop() argument 151 static int proc_keys_show(struct seq_file *m, void *v) in proc_keys_show() argument [all …]
|
/security/apparmor/include/ |
D | apparmorfs.h | 36 } 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/ |
D | smackfs.c | 548 static void *smk_seq_next(struct seq_file *s, void *v, loff_t *pos, in smk_seq_next() argument 551 struct list_head *list = v; in smk_seq_next() 559 static void smk_seq_stop(struct seq_file *s, void *v) in smk_seq_stop() argument 612 static void *load2_seq_next(struct seq_file *s, void *v, loff_t *pos) in load2_seq_next() argument 614 return smk_seq_next(s, v, pos, &smack_known_list); in load2_seq_next() 617 static int load_seq_show(struct seq_file *s, void *v) in load_seq_show() argument 619 struct list_head *list = v; in load_seq_show() 758 static void *cipso_seq_next(struct seq_file *s, void *v, loff_t *pos) in cipso_seq_next() argument 760 return smk_seq_next(s, v, pos, &smack_known_list); in cipso_seq_next() 767 static int cipso_seq_show(struct seq_file *s, void *v) in cipso_seq_show() argument [all …]
|
/security/integrity/ima/ |
D | ima_fs.c | 95 static void *ima_measurements_next(struct seq_file *m, void *v, loff_t *pos) in ima_measurements_next() argument 97 struct ima_queue_entry *qe = v; in ima_measurements_next() 110 static void ima_measurements_stop(struct seq_file *m, void *v) in ima_measurements_stop() argument 128 int ima_measurements_show(struct seq_file *m, void *v) in ima_measurements_show() argument 131 struct ima_queue_entry *qe = v; in ima_measurements_show() 218 static int ima_ascii_measurements_show(struct seq_file *m, void *v) in ima_ascii_measurements_show() argument 221 struct ima_queue_entry *qe = v; in ima_ascii_measurements_show()
|
D | ima.h | 158 int ima_measurements_show(struct seq_file *m, void *v); 242 void *ima_policy_next(struct seq_file *m, void *v, loff_t *pos); 243 void ima_policy_stop(struct seq_file *m, void *v); 244 int ima_policy_show(struct seq_file *m, void *v);
|
D | ima_policy.c | 1336 void *ima_policy_next(struct seq_file *m, void *v, loff_t *pos) in ima_policy_next() argument 1338 struct ima_rule_entry *entry = v; in ima_policy_next() 1348 void ima_policy_stop(struct seq_file *m, void *v) in ima_policy_stop() argument 1366 int ima_policy_show(struct seq_file *m, void *v) in ima_policy_show() argument 1368 struct ima_rule_entry *entry = v; in ima_policy_show()
|
/security/tomoyo/ |
D | util.c | 275 unsigned long v; in tomoyo_parse_number_union() local 284 type = tomoyo_parse_ulong(&v, &data); in tomoyo_parse_number_union() 287 ptr->values[0] = v; in tomoyo_parse_number_union() 290 ptr->values[1] = v; in tomoyo_parse_number_union() 296 type = tomoyo_parse_ulong(&v, &data); in tomoyo_parse_number_union() 297 if (type == TOMOYO_VALUE_TYPE_INVALID || *data || ptr->values[0] > v) in tomoyo_parse_number_union() 299 ptr->values[1] = v; in tomoyo_parse_number_union()
|
/security/selinux/ss/ |
D | policydb.c | 421 int v; in filenametr_cmp() local 423 v = ft1->stype - ft2->stype; in filenametr_cmp() 424 if (v) in filenametr_cmp() 425 return v; in filenametr_cmp() 427 v = ft1->ttype - ft2->ttype; in filenametr_cmp() 428 if (v) in filenametr_cmp() 429 return v; in filenametr_cmp() 431 v = ft1->tclass - ft2->tclass; in filenametr_cmp() 432 if (v) in filenametr_cmp() 433 return v; in filenametr_cmp() [all …]
|
D | avtab.c | 44 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()
|
D | policydb.h | 199 } v; member
|
D | services.c | 2752 if ((!c->v.sclass || sclass == c->v.sclass) && in __security_genfs_sid() 2823 sbsec->behavior = c->v.behavior; in security_fs_use()
|
/security/apparmor/ |
D | apparmorfs.c | 986 static int aa_sfs_seq_show(struct seq_file *seq, void *v) in aa_sfs_seq_show() argument 995 seq_printf(seq, "%s\n", fs_file->v.boolean ? "yes" : "no"); in aa_sfs_seq_show() 998 seq_printf(seq, "%s\n", fs_file->v.string); in aa_sfs_seq_show() 1001 seq_printf(seq, "%#08lx\n", fs_file->v.u64); in aa_sfs_seq_show() 1065 static int seq_profile_name_show(struct seq_file *seq, void *v) in seq_profile_name_show() argument 1076 static int seq_profile_mode_show(struct seq_file *seq, void *v) in seq_profile_mode_show() argument 1087 static int seq_profile_attach_show(struct seq_file *seq, void *v) in seq_profile_attach_show() argument 1103 static int seq_profile_hash_show(struct seq_file *seq, void *v) in seq_profile_hash_show() argument 1145 static int seq_ns_stacked_show(struct seq_file *seq, void *v) in seq_ns_stacked_show() argument 1156 static int seq_ns_nsstacked_show(struct seq_file *seq, void *v) in seq_ns_nsstacked_show() argument [all …]
|
/security/selinux/ |
D | selinuxfs.c | 1550 static void *sel_avc_stats_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sel_avc_stats_seq_next() argument 1555 static int sel_avc_stats_seq_show(struct seq_file *seq, void *v) in sel_avc_stats_seq_show() argument 1557 struct avc_cache_stats *st = v; in sel_avc_stats_seq_show() 1559 if (v == SEQ_START_TOKEN) { in sel_avc_stats_seq_show() 1573 static void sel_avc_stats_seq_stop(struct seq_file *seq, void *v) in sel_avc_stats_seq_stop() argument
|
/security/ |
D | device_cgroup.c | 267 static int devcgroup_seq_show(struct seq_file *m, void *v) in devcgroup_seq_show() argument
|