All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: SELinux <selinux@tycho.nsa.gov>
Subject: Colin Walters asked for this patch to be added to libselinux
Date: Mon, 15 Mar 2010 15:01:49 -0400	[thread overview]
Message-ID: <4B9E841D.6040406@redhat.com> (raw)

[-- 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;

             reply	other threads:[~2010-03-15 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 19:01 Daniel J Walsh [this message]
2010-03-15 23:06 ` Colin Walters asked for this patch to be added to libselinux Eamon Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B9E841D.6040406@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.