summaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files/patch-ac
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-25 14:14:27 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-25 14:14:27 +0000
commitbe3f8f91a91fb9b6f9d6576ff759958cb46dd14f (patch)
tree58efe144fa71630fc9de70a0a7e3d51ef3a2a388 /security/drweb-sendmail/files/patch-ac
parent- update to version 0.14 (diff)
Use right umask for socket creation
Diffstat (limited to 'security/drweb-sendmail/files/patch-ac')
-rw-r--r--security/drweb-sendmail/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/drweb-sendmail/files/patch-ac b/security/drweb-sendmail/files/patch-ac
new file mode 100644
index 000000000000..d14206fe9992
--- /dev/null
+++ b/security/drweb-sendmail/files/patch-ac
@@ -0,0 +1,11 @@
+--- dwf_main.c.bak Mon Jul 30 05:14:43 2001
++++ dwf_main.c Sat Aug 25 18:08:18 2001
+@@ -251,7 +251,7 @@
+ wprintLib( "can not change directory to root" );
+ return -1;
+ }
+- umask( 0 );
++ umask( 0117 );
+ if( getrlimit( RLIMIT_NOFILE, &filelimit ) < 0 )
+ {
+ wprintLib( "can not get system limits" );