SOURCES: initng-savefile.patch (NEW) - avoid writing to world writ...

glen glen at pld-linux.org
Mon Oct 17 12:15:04 CEST 2005


Author: glen                         Date: Mon Oct 17 10:15:04 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- avoid writing to world writable /tmp

---- Files affected:
SOURCES:
   initng-savefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/initng-savefile.patch
diff -u /dev/null SOURCES/initng-savefile.patch:1.1
--- /dev/null	Mon Oct 17 12:15:04 2005
+++ SOURCES/initng-savefile.patch	Mon Oct 17 12:14:59 2005
@@ -0,0 +1,12 @@
+--- ././plugins/reload/initng_reload.c~	2005-10-12 23:34:46.000000000 +0300
++++ ././plugins/reload/initng_reload.c	2005-10-17 12:59:06.000000000 +0300
+@@ -36,7 +36,9 @@
+ 
+ #include "initng_reload.h"
+ 
++#ifndef SAVE_FILE
+ #define SAVE_FILE "/tmp/active_db_save.v7"
++#endif
+ 
+ s_command FAST_RELOAD = { 'c', "hot_reload", TRUE_OR_FALSE_COMMAND, NO_OPT,
+     {(void *) &cmd_fast_reload},
================================================================



More information about the pld-cvs-commit mailing list