Lines Matching refs:hats
1051 struct aa_label *label, const char *hats[],
1062 AA_BUG(!hats);
1070 name = hats[i];
1100 /* no hats that match, find appropriate error
1114 info = "no hats defined";
1123 * related to missing hats
1151 * @hats: vector of hat names to try changing into (MAYBE NULL if @count == 0)
1152 * @count: number of hat names in @hats
1158 * Change to the first profile specified in @hats that exists, and store
1166 int aa_change_hat(const char *hats[], int count, u64 token, int flags)
1198 new = change_hat(subj_cred, label, hats, count, flags);
1310 * Change to new profile @name. Unlike with hats, there is no way