Lines Matching defs:roles
22 char *roles = NULL;
38 roles = malloc(size);
39 if (roles) {
40 strcpy(roles,roles_arr[0]);
42 strcat(roles,",");
43 strcat(roles,roles_arr[i]);
51 return roles;
61 char *roles = NULL;
74 roles = semanage_user_roles(handle, sename);
87 if (roles && (!proles || strcmp(proles, roles) != 0)) {
109 audit_log_semanage_message(fd, audit_type, NULL, msg, name, 0, sename, roles, mls, psename, proles, pmls, NULL, NULL,NULL, success);
113 free(roles);