Searched refs:proxy (Results 1 – 7 of 7) sorted by relevance
44 if (proxy) { in free_proxy()47 memset(proxy, 0, sizeof(*proxy)); in free_proxy()49 kfree(proxy); in free_proxy()57 free_proxy(proxy); in aa_proxy_kref()90 struct aa_proxy *proxy = new->proxy; in __proxy_share() local92 new->proxy = aa_get_proxy(old->proxy); in __proxy_share()445 if (!proxy) { in aa_label_alloc()447 if (!proxy) in aa_label_alloc()452 new->proxy = proxy; in aa_label_alloc()810 if (old->proxy != new->proxy) in aa_label_replace()[all …]
1064 aa_put_proxy(proxy); in seq_profile_open()1080 struct aa_proxy *proxy = seq->private; in seq_profile_name_show() local1091 struct aa_proxy *proxy = seq->private; in seq_profile_mode_show() local1102 struct aa_proxy *proxy = seq->private; in seq_profile_attach_show() local1538 struct aa_proxy *proxy; in __aafs_profile_rmdir() local1544 aa_put_proxy(proxy); in __aafs_profile_rmdir()1578 struct aa_proxy *proxy = aa_get_proxy(profile->label.proxy); in create_profile_file() local1583 aa_put_proxy(proxy); in create_profile_file()1768 aa_get_proxy(profile->label.proxy); in __aafs_profile_mkdir()1776 aa_get_proxy(profile->label.proxy); in __aafs_profile_mkdir()[all …]
329 struct aa_profile *aa_alloc_profile(const char *hname, struct aa_proxy *proxy, in aa_alloc_profile() argument354 if (!proxy) { in aa_alloc_profile()355 proxy = aa_alloc_proxy(&profile->label, gfp); in aa_alloc_profile()356 if (!proxy) in aa_alloc_profile()359 aa_get_proxy(proxy); in aa_alloc_profile()360 profile->label.proxy = proxy; in aa_alloc_profile()1266 aa_put_proxy(ent->new->label.proxy); in aa_replace_profiles()1267 ent->new->label.proxy = NULL; in aa_replace_profiles()
724 if (new && new->proxy == profile->label.proxy && info) { in profile_transition()1016 if (label->proxy != new->proxy) { in apparmor_bprm_creds_for_exec()
967 if ((new_label->proxy == label->proxy) || in apparmor_bprm_committing_creds()
131 struct aa_proxy *proxy; member411 AA_BUG(!l->proxy); in aa_get_newest_label()412 AA_BUG(!l->proxy->label); in aa_get_newest_label()417 tmp = aa_get_label_rcu(&l->proxy->label); in aa_get_newest_label()443 static inline struct aa_proxy *aa_get_proxy(struct aa_proxy *proxy) in aa_get_proxy() argument445 if (proxy) in aa_get_proxy()446 kref_get(&(proxy->count)); in aa_get_proxy()448 return proxy; in aa_get_proxy()451 static inline void aa_put_proxy(struct aa_proxy *proxy) in aa_put_proxy() argument453 if (proxy) in aa_put_proxy()[all …]
270 struct aa_profile *aa_alloc_profile(const char *name, struct aa_proxy *proxy,
Completed in 25 milliseconds