Home
last modified time | relevance | path

Searched refs:xindex (Results 1 – 6 of 6) sorted by relevance

/security/apparmor/
Ddomain.c504 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup() argument
508 u32 xtype = xindex & AA_X_TYPE_MASK; in x_table_lookup()
509 int index = xindex & AA_X_INDEX_MASK; in x_table_lookup()
519 if (xindex & AA_X_CHILD) { in x_table_lookup()
552 const char *name, u32 xindex, in x_to_label() argument
558 u32 xtype = xindex & AA_X_TYPE_MASK; in x_to_label()
568 stack = profile->file.trans.table[xindex & AA_X_INDEX_MASK]; in x_to_label()
571 new = x_table_lookup(profile, xindex, lookupname); in x_to_label()
577 if (xindex & AA_X_CHILD) in x_to_label()
590 if (xindex & AA_X_INHERIT) { in x_to_label()
[all …]
Dfile.c238 perms.xindex = dfa_user_xindex(dfa, state); in aa_compute_fperms()
243 perms.xindex = dfa_other_xindex(dfa, state); in aa_compute_fperms()
431 !xindex_is_subset(lperms.xindex, perms.xindex)) { in profile_path_link()
Dpolicy_unpack.c985 static bool verify_xindex(int xindex, int table_size) in verify_xindex() argument
988 xtype = xindex & AA_X_TYPE_MASK; in verify_xindex()
989 index = xindex & AA_X_INDEX_MASK; in verify_xindex()
Dmount.c220 .xindex = dfa_user_xindex(dfa, state), in compute_mnt_perms()
/security/apparmor/include/
Ddomain.h30 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex,
Dperms.h84 u16 xindex; member