* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: database.c,v 1.73 2004-08-12 09:45:30 thib Exp $ */
+ /* $Id: database.c,v 1.74 2004-11-13 19:43:15 thib Exp $ */
#include "fcron.h"
set_cl_nextexe:
/* set cl_nextexe (handle the timezone differences) */
+
+ /* TODO : save the ftime.tm_isdst before mktime(), compare the saved value
+ * to ftime.tm_isdst after mktime() : if it is different, then mktime
+ * has added or removed one hour because of the daylight saving change :
+ * then, check it has done what we want or not, and fix nextexe and ftime
+ * if necessary */
+
nextexe = mktime(&ftime);
if ( is_random(line->cl_option) ) {
A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: changes.sgml,v 1.33 2004-08-17 12:58:11 thib Exp $ -->
+<!-- $Id: changes.sgml,v 1.34 2004-11-13 19:47:02 thib Exp $ -->
<sect1 id="changes">
<title>Changes</title>
+ <itemizedlist>
+ <title>From version 2.9.5 to 2.9.5.1</title>
+ <listitem>
+ <para>Fixed serious security vulnerabilities in fcronsighup,
+ and improved fcronsighup's overall security (drop privileges,
+ better check user inputs, etc).</para>
+ </listitem>
+ </itemizedlist>
+
<itemizedlist>
<title>From version 2.9.4 to 2.9.5</title>
<listitem>
A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: todo.sgml,v 1.30 2004-09-02 22:08:04 thib Exp $ -->
+<!-- $Id: todo.sgml,v 1.31 2004-11-13 19:45:19 thib Exp $ -->
<sect1 id="todo">
<title>Todo</title>
to remove call to "ioctl(fd, TIOCNOTTY, 0);"</para>
</listitem>
</itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>add something on fcron's incompatibility with Vixie cron @* syntax -- fix that.</para>
+ </listitem>
+ </itemizedlist>
</sect2>
<sect2>
<title>Low priority</title>
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrontab.c,v 1.64 2003-12-25 22:42:45 thib Exp $ */
+ /* $Id: fcrontab.c,v 1.65 2004-11-13 19:42:39 thib Exp $ */
/*
* The goal of this program is simple : giving a user interface to fcron
#include "temp_file.h"
#include "read_string.h"
-char rcs_info[] = "$Id: fcrontab.c,v 1.64 2003-12-25 22:42:45 thib Exp $";
+char rcs_info[] = "$Id: fcrontab.c,v 1.65 2004-11-13 19:42:39 thib Exp $";
void info(void);
void usage(void);
/* interpret command line options */
parseopt(argc, argv);
-#ifdef USE_SETE_ID
if ( ! (pass = getpwnam(USERNAME)) )
die("user \"%s\" is not in passwd file. Aborting.", USERNAME);
fcrontab_uid = pass->pw_uid;
fcrontab_gid = pass->pw_gid;
+#ifdef USE_SETE_ID
+
#ifdef HAVE_LIBPAM
/* Open PAM session for the user and obtain any security
credentials we might need */