Lines Matching defs:hats
1033 static struct aa_label *change_hat(struct aa_label *label, const char *hats[],
1044 AA_BUG(!hats);
1052 name = hats[i];
1082 /* no hats that match, find appropriate error
1096 info = "no hats defined";
1105 * related to missing hats
1131 * @hats: vector of hat names to try changing into (MAYBE NULL if @count == 0)
1132 * @count: number of hat names in @hats
1138 * Change to the first profile specified in @hats that exists, and store
1146 int aa_change_hat(const char *hats[], int count, u64 token, int flags)
1178 new = change_hat(label, hats, count, flags);
1283 * Change to new profile @name. Unlike with hats, there is no way