Lines Matching refs:profile
69 struct aa_profile *profile; member
79 int aa_replace_current_profile(struct aa_profile *profile);
80 int aa_set_current_onexec(struct aa_profile *profile);
81 int aa_set_current_hat(struct aa_profile *profile, u64 token);
94 BUG_ON(!cxt || !cxt->profile); in __aa_task_is_confined()
95 if (unconfined(aa_newest_version(cxt->profile))) in __aa_task_is_confined()
112 BUG_ON(!cxt || !cxt->profile); in aa_cred_profile()
113 return aa_newest_version(cxt->profile); in aa_cred_profile()
140 struct aa_profile *profile; in aa_current_profile() local
141 BUG_ON(!cxt || !cxt->profile); in aa_current_profile()
143 profile = aa_newest_version(cxt->profile); in aa_current_profile()
148 if (unlikely((cxt->profile != profile))) in aa_current_profile()
149 aa_replace_current_profile(profile); in aa_current_profile()
151 return profile; in aa_current_profile()