summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
AgeCommit message (Expand)Author
2002-08-08Move closelog() into log_close() function and call that insteadTodd C. Miller
2002-08-08Make wakeupKind an enum for clarity at Vixie's requestTodd C. Miller
2002-08-07paranoia: zero out pw_passwd since we don't need itTodd C. Miller
2002-08-04Extra paranoia -- check that pw_name matches the crontab user's name.Todd C. Miller
2002-08-02o Instead of passing "*system*" as the fname to process_crontab()Todd C. Miller
2002-07-17Include limits.h since we use LONG_MAX; we squeaked by with anTodd C. Miller
2002-07-15fix typo (pw vs. pwd) in unused codeTodd C. Miller
2002-07-15Pass e->pwd to auth_setpwd() to avoid extra passwd lookup in BSD auth routinesTodd C. Miller
2002-07-15Move login_close() out of #ifdef BSD_AUTH blockTodd C. Miller
2002-07-15-Wall was for testingTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-12Do not collapse \\ -> \ in a command, the shell will be unhappy withTodd C. Miller
2002-07-11No need to compare sizes of new/old crontab file now that weTodd C. Miller
2002-07-11More syncing with my cron 4.0 patch tree, basically cosmetic:Todd C. Miller
2002-07-11Add a new error code for memory allocation failures, e_memory andTodd C. Miller
2002-07-09o Add _PATH_CRON_PID which is built up from PIDDIR and PIDFILE via stringTodd C. Miller
2002-07-09o Rename clean_turds() in crontab.c to die() and just _exit(ERROR_EXIT)Todd C. Miller
2002-07-09We already did a closelog(); no need for it here.Todd C. Miller
2002-07-08minor cosmetic change to reduce diffsTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-21Correctly close the writing end of the pipe when dup'ing the fd toTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-28Kill an sscanf() in favor of strtol()Todd C. Miller
2002-05-28use %ld (long) for pidTheo de Raadt
2002-05-22Set close-on-exec flag for the socket cron selects on.Todd C. Miller
2002-05-22Remove pid file if sent SIGINT or SIGTERM before exiting.Todd C. Miller
2002-05-22o avoid stdio in acquire_daemonlock() so we don't leak FILE * memoryTodd C. Miller
2002-05-21Better handling of negative timeval than last commit.Todd C. Miller
2002-05-20Add a check for negative values in struct timeval after the timersub().Todd C. Miller
2002-05-11.Xr at 1Todd C. Miller
2002-05-11Put options in a real list, preceded by "The options are as follows"Todd C. Miller
2002-05-09prototype open_socket()Todd C. Miller
2002-05-09nuke unused variableTodd C. Miller
2002-05-09allowed() is only called once so there is no need to use staticTodd C. Miller
2002-05-09Missing piece from last commit.Todd C. Miller
2002-05-09Better error handling for in_file(); from OwlTodd C. Miller
2002-05-09crontab is no longer setuid root, it is now setgid crontab.Todd C. Miller
2002-05-08o Use proper #defines; It is HAVE_*, not HAS_*Todd C. Miller
2002-02-19Fix gethostname() usage.Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-09Kill volatile now that jongjmp is history.Todd C. Miller
2001-12-20Cause crontab to send SIGUSR1 when a user's crontab file has changed.Todd C. Miller
2001-12-13Mention that cron should be started late in the rc file and why.Todd C. Miller
2001-12-12o pids should be pid_t, not intTodd C. Miller
2001-12-11If we receive a signal during the sleep(), run signal handlers asTodd C. Miller
2001-12-07do not call abort(), it is tastelessTheo de Raadt
2001-11-17save errno in signal handlerTheo de Raadt
2001-10-24When becoming a daemon, dup stdin, stdout, and stderr to /dev/nullTodd C. Miller
2001-10-01In "r" mode always dup2(STDOUT_FILENO, STDERR_FILENO); from ftpd/popen.cTodd C. Miller