Lines Matching defs:xindex
507 * @xindex: index into x transition table
512 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex,
518 u32 xtype = xindex & AA_X_TYPE_MASK;
519 int index = xindex & AA_X_INDEX_MASK;
529 if (xindex & AA_X_CHILD) {
549 * x_to_label - get target label for a given xindex
553 * @xindex: index into x transition table
562 const char *name, u32 xindex,
570 u32 xtype = xindex & AA_X_TYPE_MASK;
580 stack = rules->file.trans.table[xindex & AA_X_INDEX_MASK];
583 new = x_table_lookup(profile, xindex, lookupname);
589 if (xindex & AA_X_CHILD)
602 if (xindex & AA_X_INHERIT) {
609 } else if (xindex & AA_X_UNCONFINED) {
676 new = x_to_label(profile, bprm, name, perms.xindex, &target,
700 perms.xindex |= AA_X_UNSAFE;
709 if (!(perms.xindex & AA_X_UNSAFE)) {
789 if (!(perms.xindex & AA_X_UNSAFE)) {