This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-368-ga118926
- From: neleai at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 7 May 2014 12:10:52 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-368-ga118926
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via a11892631d92f594c690d0d50a642b0d1aba58b8 (commit)
from ce0c5b8f365c73fc647f9a2a43fa988e6f0f46f4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a11892631d92f594c690d0d50a642b0d1aba58b8
commit a11892631d92f594c690d0d50a642b0d1aba58b8
Author: OndÅ?ej BÃlka <neleai@seznam.cz>
Date: Wed May 7 14:08:57 2014 +0200
Fix typo in nscd/selinux.c
diff --git a/ChangeLog b/ChangeLog
index 7da675c..6c50016 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
[BZ #16876]
* nptl/sockperf.c (client): Check socket return value.
+ [BZ #16877]
+ * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
+ nscd security class.
2014-05-06 Roland McGrath <roland@hack.frob.com>
diff --git a/NEWS b/NEWS
index 6c9328d..15ced4d 100644
--- a/NEWS
+++ b/NEWS
@@ -16,7 +16,7 @@ Version 2.20
16677, 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713,
16714, 16731, 16739, 16740, 16743, 16754, 16758, 16759, 16760, 16770,
16786, 16789, 16791, 16799, 16800, 16815, 16823, 16824, 16831, 16838,
- 16854, 16876, 16885, 16888, 16890, 16912, 16916.
+ 16854, 16876, 16877, 16885, 16888, 16890, 16912, 16916.
* The minimum Linux kernel version that this version of the GNU C Library
can be used with is 2.6.32.
diff --git a/nscd/selinux.c b/nscd/selinux.c
index 9a8a5a8..eaed6dd 100644
--- a/nscd/selinux.c
+++ b/nscd/selinux.c
@@ -372,7 +372,7 @@ nscd_request_avc_has_perm (int fd, request_type req)
/* Get the security class for nscd. If this fails we will likely be
unable to do anything unless avc_deny_unknown is 0. */
sc_nscd = string_to_security_class ("nscd");
- if (perm == 0 && avc_deny_unknown == 1)
+ if (sc_nscd == 0 && avc_deny_unknown == 1)
dbg_log (_("Error getting security class for nscd."));
/* Convert permission to AVC bits. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
NEWS | 2 +-
nscd/selinux.c | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources