SOURCES: dictd-umask.patch (NEW) - umask 077 instead of 0

radek radek at pld-linux.org
Wed May 10 23:21:30 CEST 2006


Author: radek                        Date: Wed May 10 21:21:30 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- umask 077 instead of 0

---- Files affected:
SOURCES:
   dictd-umask.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dictd-umask.patch
diff -u /dev/null SOURCES/dictd-umask.patch:1.1
--- /dev/null	Wed May 10 23:21:30 2006
+++ SOURCES/dictd-umask.patch	Wed May 10 23:21:25 2006
@@ -0,0 +1,11 @@
+--- dictd-1.10.2/net.c~	2004-10-06 16:43:03.000000000 +0200
++++ dictd-1.10.2/net.c	2006-05-10 23:10:08.092244500 +0200
+@@ -189,7 +189,7 @@
+    
+    chdir("/");		/* cd to safe directory */
+    
+-   umask(0);		/* set safe umask */
++   umask(077);		/* set safe umask */
+    
+    setpgid(0,getpid());	/* Get process group */
+ 
================================================================


More information about the pld-cvs-commit mailing list