summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.16.0-syslogd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.16.0-syslogd.patch')
-rw-r--r--package/busybox/busybox-1.16.0-syslogd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.16.0-syslogd.patch b/package/busybox/busybox-1.16.0-syslogd.patch
new file mode 100644
index 000000000..dcca134fd
--- /dev/null
+++ b/package/busybox/busybox-1.16.0-syslogd.patch
@@ -0,0 +1,12 @@
+diff -urpN busybox-1.16.0/sysklogd/syslogd.c busybox-1.16.0-syslogd/sysklogd/syslogd.c
+--- busybox-1.16.0/sysklogd/syslogd.c 2010-01-25 01:59:38.000000000 +0100
++++ busybox-1.16.0-syslogd/sysklogd/syslogd.c 2010-02-21 01:53:33.000000000 +0100
+@@ -698,7 +698,7 @@ int syslogd_main(int argc UNUSED_PARAM,
+ if (!(opts & OPT_nofork)) {
+ bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv);
+ }
+- umask(0);
++ //umask(0); - why??
+ write_pidfile("/var/run/syslogd.pid");
+ do_syslogd();
+ /* return EXIT_SUCCESS; */