Home
last modified time | relevance | path

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

/security/apparmor/include/
Dpolicy.h217 unsigned char class) in PROFILE_MEDIATES() argument
219 if (class <= AA_CLASS_LAST) in PROFILE_MEDIATES()
220 return profile->policy.start[class]; in PROFILE_MEDIATES()
223 profile->policy.start[0], &class, 1); in PROFILE_MEDIATES()
/security/selinux/ss/
Dpolicydb.h316 extern int policydb_class_isvalid(struct policydb *p, unsigned int class);
Dpolicydb.c895 int policydb_class_isvalid(struct policydb *p, unsigned int class) in policydb_class_isvalid() argument
897 if (!class || class > p->p_classes.nprim) in policydb_class_isvalid()
Dservices.c3272 char *class, char ***perms, int *nperms) in security_get_permissions() argument
3281 match = hashtab_search(policydb->p_classes.table, class); in security_get_permissions()
3284 __func__, class); in security_get_permissions()
/security/selinux/include/
Dsecurity.h336 char *class, char ***perms, int *nperms);
/security/selinux/
Dselinuxfs.c1712 static inline unsigned long sel_class_to_ino(u16 class) in sel_class_to_ino() argument
1714 return (class * (SEL_VEC_MAX + 1)) | SEL_CLASS_INO_OFFSET; in sel_class_to_ino()
1722 static inline unsigned long sel_perm_to_ino(u16 class, u32 perm) in sel_perm_to_ino() argument
1724 return (class * (SEL_VEC_MAX + 1) + perm) | SEL_CLASS_INO_OFFSET; in sel_perm_to_ino()
/security/
DKconfig.hardening52 uninitialized variables. The selected class of variable will be