Home
last modified time | relevance | path

Searched refs:class (Results 1 – 7 of 7) sorted by relevance

/security/apparmor/include/
Dpolicy.h215 unsigned char class) in PROFILE_MEDIATES_SAFE() argument
219 profile->policy.start[0], &class, 1); in PROFILE_MEDIATES_SAFE()
/security/
DKconfig.hardening17 uninitialized variables. The selected class will be
/security/selinux/ss/
Dpolicydb.h319 extern int policydb_class_isvalid(struct policydb *p, unsigned int class);
Dservices.c3050 int security_get_permissions(char *class, char ***perms, int *nperms) in security_get_permissions() argument
3058 match = hashtab_search(policydb.p_classes.table, class); in security_get_permissions()
3061 __func__, class); in security_get_permissions()
Dpolicydb.c930 int policydb_class_isvalid(struct policydb *p, unsigned int class) in policydb_class_isvalid() argument
932 if (!class || class > p->p_classes.nprim) in policydb_class_isvalid()
/security/selinux/include/
Dsecurity.h212 int security_get_permissions(char *class, char ***perms, int *nperms);
/security/selinux/
Dselinuxfs.c1564 static inline unsigned long sel_class_to_ino(u16 class) in sel_class_to_ino() argument
1566 return (class * (SEL_VEC_MAX + 1)) | SEL_CLASS_INO_OFFSET; in sel_class_to_ino()
1574 static inline unsigned long sel_perm_to_ino(u16 class, u32 perm) in sel_perm_to_ino() argument
1576 return (class * (SEL_VEC_MAX + 1) + perm) | SEL_CLASS_INO_OFFSET; in sel_perm_to_ino()