Home
last modified time | relevance | path

Searched refs:SEL_VEC_MAX (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/security/selinux/include/
Dsecurity.h244 #define SEL_VEC_MAX 32 macro
/Linux-v5.15/security/selinux/
Dselinuxfs.c1802 return (class * (SEL_VEC_MAX + 1)) | SEL_CLASS_INO_OFFSET; in sel_class_to_ino()
1807 return (ino & SEL_INO_MASK) / (SEL_VEC_MAX + 1); in sel_ino_to_class()
1812 return (class * (SEL_VEC_MAX + 1) + perm) | SEL_CLASS_INO_OFFSET; in sel_perm_to_ino()
1817 return (ino & SEL_INO_MASK) % (SEL_VEC_MAX + 1); in sel_ino_to_perm()