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