All of lore.kernel.org
 help / color / mirror / Atom feed
* Colin Walters asked for this patch to be added to libselinux
@ 2010-03-15 19:01 Daniel J Walsh
  2010-03-15 23:06 ` Eamon Walsh
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2010-03-15 19:01 UTC (permalink / raw)
  To: SELinux

[-- Attachment #1: Type: text/plain, Size: 21 bytes --]

Fixes error message.

[-- Attachment #2: libselinux_avc.patch --]
[-- Type: text/plain, Size: 443 bytes --]

--- libselinux-2.0.92/src/avc.c	2010-03-07 07:34:44.000000000 -0500
+++ libselinux-2.0.92.patched/src/avc.c	2010-03-12 16:50:05.000000000 -0500
@@ -215,8 +215,9 @@
 		rc = security_getenforce();
 		if (rc < 0) {
 			avc_log(SELINUX_ERROR,
-				"%s:  could not determine enforcing mode\n",
-				avc_prefix);
+				"%s:  could not determine enforcing mode: %s\n",
+				avc_prefix,
+				strerror(errno));
 			goto out;
 		}
 		avc_enforcing = rc;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-15 23:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 19:01 Colin Walters asked for this patch to be added to libselinux Daniel J Walsh
2010-03-15 23:06 ` Eamon Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.