Home
last modified time | relevance | path

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

/security/selinux/include/
Dsecurity.h212 int security_get_permissions(char *class, char ***perms, int *nperms);
/security/selinux/
Dselinuxfs.c1634 int i, rc, nperms; in sel_make_perm_files() local
1637 rc = security_get_permissions(objclass, &perms, &nperms); in sel_make_perm_files()
1641 for (i = 0; i < nperms; i++) { in sel_make_perm_files()
1662 for (i = 0; i < nperms; i++) in sel_make_perm_files()
/security/selinux/ss/
Dservices.c3050 int security_get_permissions(char *class, char ***perms, int *nperms) in security_get_permissions() argument
3066 *nperms = match->permissions.nprim; in security_get_permissions()
3067 *perms = kcalloc(*nperms, sizeof(**perms), GFP_ATOMIC); in security_get_permissions()
3089 for (i = 0; i < *nperms; i++) in security_get_permissions()