Searched refs:nperms (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/security/selinux/include/ |
D | security.h | 373 char *class, char ***perms, int *nperms);
|
/Linux-v5.15/security/selinux/ |
D | selinuxfs.c | 1872 int i, rc, nperms; in sel_make_perm_files() local 1875 rc = security_get_permissions(newpolicy, objclass, &perms, &nperms); in sel_make_perm_files() 1879 for (i = 0; i < nperms; i++) { in sel_make_perm_files() 1902 for (i = 0; i < nperms; i++) in sel_make_perm_files()
|
/Linux-v5.15/security/selinux/ss/ |
D | services.c | 3453 char *class, char ***perms, int *nperms) in security_get_permissions() argument 3470 *nperms = match->permissions.nprim; in security_get_permissions() 3471 *perms = kcalloc(*nperms, sizeof(**perms), GFP_ATOMIC); in security_get_permissions() 3491 for (i = 0; i < *nperms; i++) in security_get_permissions()
|