Home
last modified time | relevance | path

Searched refs:nperms (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/security/selinux/include/
H A Dsecurity.h311 const char *class, char ***perms, u32 *nperms);
/openbmc/linux/security/selinux/
H A Dselinuxfs.c1803 u32 i, nperms; in sel_make_perm_files() local
1807 rc = security_get_permissions(newpolicy, objclass, &perms, &nperms); in sel_make_perm_files()
1811 for (i = 0; i < nperms; i++) { in sel_make_perm_files()
1834 for (i = 0; i < nperms; i++) in sel_make_perm_files()
/openbmc/linux/security/selinux/ss/
H A Dservices.c3388 const char *class, char ***perms, u32 *nperms) in security_get_permissions() argument
3406 *nperms = match->permissions.nprim; in security_get_permissions()
3407 *perms = kcalloc(*nperms, sizeof(**perms), GFP_ATOMIC); in security_get_permissions()
3427 for (i = 0; i < *nperms; i++) in security_get_permissions()