]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/glibc/glibc-rh700507.patch
lcdproc: Update to 0.5.7
[ipfire-2.x.git] / src / patches / glibc / glibc-rh700507.patch
CommitLineData
12788f63
MT
1Index: glibc-2.12-2-gc4ccff1/nscd/nscd.c
2===================================================================
3--- glibc-2.12-2-gc4ccff1.orig/nscd/nscd.c
4+++ glibc-2.12-2-gc4ccff1/nscd/nscd.c
5@@ -260,10 +260,6 @@ main (int argc, char **argv)
6 /* In foreground mode we are not paranoid. */
7 paranoia = 0;
8
9- /* Start the SELinux AVC. */
10- if (selinux_enabled)
11- nscd_avc_init ();
12-
13 signal (SIGINT, termination_handler);
14 signal (SIGQUIT, termination_handler);
15 signal (SIGTERM, termination_handler);
16@@ -278,6 +274,10 @@ main (int argc, char **argv)
17 /* Init databases. */
18 nscd_init ();
19
20+ /* Start the SELinux AVC. */
21+ if (selinux_enabled)
22+ nscd_avc_init ();
23+
24 /* Handle incoming requests */
25 start_threads ();
26