Lines Matching refs:xindex
239 static struct aa_profile *x_table_lookup(struct aa_profile *profile, u32 xindex) in x_table_lookup() argument
243 u32 xtype = xindex & AA_X_TYPE_MASK; in x_table_lookup()
244 int index = xindex & AA_X_INDEX_MASK; in x_table_lookup()
254 if (xindex & AA_X_CHILD) { in x_table_lookup()
301 const char *name, u32 xindex) in x_to_profile() argument
305 u32 xtype = xindex & AA_X_TYPE_MASK; in x_to_profile()
312 if (xindex & AA_X_CHILD) in x_to_profile()
323 new_profile = x_table_lookup(profile, xindex); in x_to_profile()
424 new_profile = x_to_profile(profile, name, perms.xindex); in apparmor_bprm_set_creds()
426 if (perms.xindex & AA_X_INHERIT) { in apparmor_bprm_set_creds()
434 } else if (perms.xindex & AA_X_UNCONFINED) { in apparmor_bprm_set_creds()
454 perms.xindex |= AA_X_UNSAFE; in apparmor_bprm_set_creds()
497 if (!(perms.xindex & AA_X_UNSAFE)) { in apparmor_bprm_set_creds()