Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 6 of 6) sorted by relevance

/security/apparmor/
A Dpolicy.c955 return ent->new; in __list_lookup_parent()
1139 ent = NULL; in aa_replace_profiles()
1186 if (ent->old || ent->rename) in aa_replace_profiles()
1229 ent = NULL; in aa_replace_profiles()
1234 if (!ent->old) { in aa_replace_profiles()
1257 op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; in aa_replace_profiles()
1259 if (ent->old && ent->old->rawdata == ent->new->rawdata && in aa_replace_profiles()
1278 if (ent->old) { in aa_replace_profiles()
1279 share_name(ent->old, ent->new); in aa_replace_profiles()
1280 __replace_profile(ent->old, ent->new); in aa_replace_profiles()
[all …]
A Dlib.c65 struct val_table_ent *ent; in aa_parse_debug_params() local
73 ent = val_table_find_ent(debug_values_table, str, next - str); in aa_parse_debug_params()
74 if (ent) in aa_parse_debug_params()
75 val |= ent->value; in aa_parse_debug_params()
94 const struct val_table_ent *ent; in val_mask_to_str() local
97 for (ent = table; ent->str; ent++) { in val_mask_to_str()
98 if (ent->value && (ent->value & mask) == ent->value) { in val_mask_to_str()
100 ent->str); in val_mask_to_str()
104 mask &= ~ent->value; in val_mask_to_str()
A Dcapability.c73 struct audit_cache *ent; in audit_caps() local
95 ent = &get_cpu_var(audit_cache); in audit_caps()
97 if (ad->subj_cred == ent->ad_subj_cred && ktime_get_ns() <= ent->ktime_ns_expiration[cap]) { in audit_caps()
103 put_cred(ent->ad_subj_cred); in audit_caps()
104 ent->ad_subj_cred = get_cred(ad->subj_cred); in audit_caps()
105 ent->ktime_ns_expiration[cap] = ktime_get_ns() + AUDIT_CACHE_TIMEOUT_NS; in audit_caps()
A Dpolicy_unpack.c1330 if (ent) { in aa_load_ent_free()
1332 aa_put_profile(ent->old); in aa_load_ent_free()
1334 kfree(ent->ns_name); in aa_load_ent_free()
1335 kfree_sensitive(ent); in aa_load_ent_free()
1341 struct aa_load_ent *ent = kzalloc(sizeof(*ent), GFP_KERNEL); in aa_load_ent_alloc() local
1342 if (ent) in aa_load_ent_alloc()
1344 return ent; in aa_load_ent_alloc()
1494 if (!ent) { in aa_unpack()
1499 ent->new = profile; in aa_unpack()
1500 ent->ns_name = ns_name; in aa_unpack()
[all …]
A Dapparmorfs.c1908 struct aa_loaddata *ent, *tmp; in __aa_fs_list_remove_rawdata() local
1912 list_for_each_entry_safe(ent, tmp, &ns->rawdata_list, list) in __aa_fs_list_remove_rawdata()
1913 __aa_fs_remove_rawdata(ent); in __aa_fs_list_remove_rawdata()
/security/apparmor/include/
A Dpolicy_unpack.h28 void aa_load_ent_free(struct aa_load_ent *ent);

Completed in 17 milliseconds