Lines Matching refs:perms
29 char **perms; member
76 node->perms = calloc(MAXVECTORS,sizeof(char*)); in discover_class()
77 if (node->perms == NULL) in discover_class()
133 node->perms[value-1] = strdup(dentry->d_name); in discover_class()
134 if (node->perms[value-1] == NULL) in discover_class()
149 free(node->perms[i]); in discover_class()
153 free(node->perms); in discover_class()
168 free(cur->perms[i]); in flush_class_cache()
170 free(cur->perms); in flush_class_cache()
206 for (i=0; i<MAXVECTORS && node->perms[i] != NULL; i++) in string_to_av_perm()
207 if (strcmp(node->perms[i],s) == 0) in string_to_av_perm()
240 return node->perms[i]; in security_av_perm_to_string()