Skip to contentSkip to conversation

Colin Walters asked for this patch to be added to libselinux

PATCH Applied Daniel J Walsh 2 participants 2 messages Mar 15, 2010 SELinux security module

lore
Share & tools
lore
#0 lore raw

Fixes error message.

src/avc.c +3 -2
@@ -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;
Applied
#1 lore raw
Quoted 2 lines · Daniel J Walsh

Fixes error message.

Pushed to libselinux 2.0.93.

Signature · 8 lines
Eamon Walsh 
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.