/security/apparmor/ |
D | match.c | 66 struct table_header *table = NULL; in unpack_table() local 91 table = kvzalloc(tsize, GFP_KERNEL); in unpack_table() 92 if (table) { in unpack_table() 93 table->td_id = th.td_id; in unpack_table() 94 table->td_flags = th.td_flags; in unpack_table() 95 table->td_lolen = th.td_lolen; in unpack_table() 97 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table() 100 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table() 103 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table() 110 if (is_vmalloc_addr(table)) in unpack_table() [all …]
|
D | domain.c | 42 if (!domain->table) in aa_free_domain_entries() 46 kzfree(domain->table[i]); in aa_free_domain_entries() 47 kzfree(domain->table); in aa_free_domain_entries() 48 domain->table = NULL; in aa_free_domain_entries() 390 for (*name = profile->file.trans.table[index]; !label && *name; in x_table_lookup() 439 stack = profile->file.trans.table[xindex & AA_X_INDEX_MASK]; in x_to_label()
|
D | policy_unpack.c | 461 profile->file.trans.table = kzalloc(sizeof(char *) * size, in unpack_trans_table() 463 if (!profile->file.trans.table) in unpack_trans_table() 475 profile->file.trans.table[i] = str; in unpack_trans_table()
|
D | lsm.c | 1077 static int apparmor_dointvec(struct ctl_table *table, int write, in apparmor_dointvec() argument 1085 return proc_dointvec(table, write, buffer, lenp, ppos); in apparmor_dointvec()
|
/security/ |
D | min_addr.c | 32 int mmap_min_addr_handler(struct ctl_table *table, int write, in mmap_min_addr_handler() argument 40 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in mmap_min_addr_handler()
|
/security/selinux/ss/ |
D | symtab.c | 38 s->table = hashtab_create(symhash, symcmp, size); in symtab_init() 39 if (!s->table) in symtab_init()
|
D | mls.c | 167 levdatum = hashtab_search(p->p_levels.table, in mls_level_isvalid() 283 levdatum = hashtab_search(pol->p_levels.table, scontextp); in mls_context_to_sid() 308 catdatum = hashtab_search(pol->p_cats.table, in mls_context_to_sid() 324 rngdatum = hashtab_search(pol->p_cats.table, rngptr); in mls_context_to_sid() 477 levdatum = hashtab_search(newp->p_levels.table, in mls_convert_context() 489 catdatum = hashtab_search(newp->p_cats.table, in mls_convert_context()
|
D | symtab.h | 16 struct hashtab *table; /* hash table (keyed on a string) */ member
|
D | policydb.c | 205 rc = hashtab_insert(p->p_roles.table, key, role); in roles_init() 328 hashtab_map(p->symtab[i].table, destroy_f[i], NULL); in policydb_init() 329 hashtab_destroy(p->symtab[i].table); in policydb_init() 521 hash_eval(s[i].table, symtab_name[i]); in symtab_hash_eval() 602 rc = hashtab_map(p->symtab[i].table, index_f[i], p); in policydb_index() 631 hashtab_map(comdatum->permissions.table, perm_destroy, NULL); in common_destroy() 632 hashtab_destroy(comdatum->permissions.table); in common_destroy() 660 hashtab_map(cladatum->permissions.table, perm_destroy, NULL); in cls_destroy() 661 hashtab_destroy(cladatum->permissions.table); in cls_destroy() 811 hashtab_map(p->symtab[i].table, destroy_f[i], NULL); in policydb_destroy() [all …]
|
D | services.c | 502 hashtab_map(common_dat->permissions.table, in security_dump_masked_av() 506 if (hashtab_map(tclass_dat->permissions.table, in security_dump_masked_av() 1356 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct() 1372 role = hashtab_search(pol->p_roles.table, scontextp); in string_to_context_struct() 1384 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct() 1916 usrdatum = hashtab_search(args->newp->p_users.table, in convert_context() 1924 role = hashtab_search(args->newp->p_roles.table, in convert_context() 1932 typdatum = hashtab_search(args->newp->p_types.table, in convert_context() 2503 user = hashtab_search(policydb.p_users.table, username); in security_get_user_sids() 2827 booldatum = hashtab_search(p->p_bools.table, bnames[i]); in security_preserve_bools() [all …]
|
/security/apparmor/include/ |
D | domain.h | 25 char **table; member
|
/security/yama/ |
D | yama_lsm.c | 441 static int yama_dointvec_minmax(struct ctl_table *table, int write, in yama_dointvec_minmax() argument 450 table_copy = *table; in yama_dointvec_minmax()
|