From: kloczek Date: Tue, 4 Dec 2001 08:56:11 +0000 (+0000) Subject: - don't set umask(0) at startup. X-Git-Tag: apmd-3_0_2-2~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fapmd.git;a=commitdiff_plain;h=1ef59ff367f20b22018d84ff913f54510d21e38f - don't set umask(0) at startup. Changed files: apmd-security.patch -> 1.1 --- diff --git a/apmd-security.patch b/apmd-security.patch new file mode 100644 index 0000000..171caec --- /dev/null +++ b/apmd-security.patch @@ -0,0 +1,10 @@ +--- apmd/apmd.c.sec Mon Jan 8 18:02:10 2001 ++++ apmd/apmd.c Mon Jan 8 18:02:14 2001 +@@ -945,7 +945,6 @@ + close(0); + close(1); + close(2); +- umask(0); + } + + if ((fd = apm_open()) < 0)