Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
goto cleanup;
if (STRNEQ_NULLABLE(val, context)) {
- VIR_DEBUG("Unexpected SELinux context attribute");
+ VIR_DEBUG("Want SELinux context '%s' got '%s'",
+ context, val);
goto cleanup;
}
goto cleanup;
}
if (STRNEQ_NULLABLE("foo_u:bar_r:wizz_t:s0-s0:c0.c1023", gotSELinuxContext)) {
- fprintf(stderr, "Want groupname 'foo_u:bar_r:wizz_t:s0-s0:c0.c1023' got '%s'\n",
- NULLSTR(gotGroupID));
+ fprintf(stderr, "Want SELinux context 'foo_u:bar_r:wizz_t:s0-s0:c0.c1023' got '%s'\n",
+ NULLSTR(gotSELinuxContext));
goto cleanup;
}