Lines Matching defs:sename
21 static char *semanage_user_roles(semanage_handle_t * handle, const char *sename) {
29 if (semanage_user_key_create(handle, sename, &key) >= 0) {
60 const char *sename = NULL;
72 sename = semanage_seuser_get_sename(seuser);
74 roles = semanage_user_roles(handle, sename);
82 if (sename && (!psename || strcmp(psename, sename) != 0)) {
84 strcat(msg,"sename");
109 audit_log_semanage_message(fd, audit_type, NULL, msg, name, 0, sename, roles, mls, psename, proles, pmls, NULL, NULL,NULL, success);
125 const char *sename = semanage_seuser_get_sename(data);
130 if (!sename) {
142 rc = semanage_user_key_create(handle, sename, &ukey);
251 const char *sename = semanage_seuser_get_sename(seuser);
256 if (semanage_user_key_create(handle, sename, &key) < 0)
261 ERR(handle, "selinux user %s does not exist", sename);
282 mls_range, name, user_mls_range, sename);
305 name, sename, mls_range);
308 name, sename);