]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/glibc/glibc-rh1125307.patch
lcdproc: Update to 0.5.7
[ipfire-2.x.git] / src / patches / glibc / glibc-rh1125307.patch
CommitLineData
bb330e25
AF
1commit a11892631d92f594c690d0d50a642b0d1aba58b8
2Author: Ondřej Bílka <neleai@seznam.cz>
3Date: Wed May 7 14:08:57 2014 +0200
4
5 Fix typo in nscd/selinux.c
6
7diff --git a/nscd/selinux.c b/nscd/selinux.c
8index 9a8a5a8..eaed6dd 100644
9--- a/nscd/selinux.c
10+++ b/nscd/selinux.c
11@@ -372,7 +372,7 @@ nscd_request_avc_has_perm (int fd, request_type req)
12 /* Get the security class for nscd. If this fails we will likely be
13 unable to do anything unless avc_deny_unknown is 0. */
14 sc_nscd = string_to_security_class ("nscd");
15- if (perm == 0 && avc_deny_unknown == 1)
16+ if (sc_nscd == 0 && avc_deny_unknown == 1)
17 dbg_log (_("Error getting security class for nscd."));
18
19 /* Convert permission to AVC bits. */