Lines Matching defs:hats
1060 struct aa_label *label, const char *hats[],
1071 AA_BUG(!hats);
1079 name = hats[i];
1109 /* no hats that match, find appropriate error
1123 info = "no hats defined";
1132 * related to missing hats
1160 * @hats: vector of hat names to try changing into (MAYBE NULL if @count == 0)
1161 * @count: number of hat names in @hats
1167 * Change to the first profile specified in @hats that exists, and store
1175 int aa_change_hat(const char *hats[], int count, u64 token, int flags)
1207 new = change_hat(subj_cred, label, hats, count, flags);
1317 * Change to new profile @name. Unlike with hats, there is no way