summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
AgeCommit message (Expand)Author
2016-08-30Fix fd leak on error. OK jsg@Todd C. Miller
2016-01-11When caching the mtime of the spool directory and system crontab files,Todd C. Miller
2015-11-17Check pipe(2) return value; noticed by deraadt@Todd C. Miller
2015-11-17Check for setgid() failure before executing editor and warn ifTodd C. Miller
2015-11-15Clean up the remaining uses of stderr and perror() and use warn/errTodd C. Miller
2015-11-14Cleanup from unifdef: set sact.sa_flags to SA_RESTART instead ofTodd C. Miller
2015-11-14Remove log_it() and call syslog(3) directly using the same format:Todd C. Miller
2015-11-12new location for cron sockets; ok millertJason McIntyre
2015-11-12Use absolute paths in pathnames.h. There is no longer a need toTodd C. Miller
2015-11-12Remove SIGNALS section now that the non-syslog code has been removed.Todd C. Miller
2015-11-12Move cron socket to /var/run/cron.sock. Client code will try the oldTodd C. Miller
2015-11-11Use warn/warnx and err/errx. OK jca@Todd C. Miller
2015-11-11Niether cron nor crontab need flock permission.Todd C. Miller
2015-11-11Remove obsolete utime() call. It predates the use of a socket toTodd C. Miller
2015-11-11Fix spool dir mode check to avoid extraneous chmod() calls.Todd C. Miller
2015-11-11For "crontab -u user -e" change the euid for the mkstemp() callTodd C. Miller
2015-11-11exit on pledge failure, oopsTheo de Raadt
2015-11-09Remove unused xpid argument to log_it().Todd C. Miller
2015-11-09Update CRONDIR comment to reality.Todd C. Miller
2015-11-09Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improveTodd C. Miller
2015-11-09Use fstatat() when checking the files in the at queue so weTodd C. Miller
2015-11-09queue(3) instead of homegrown queues and lists. This also fixesTodd C. Miller
2015-11-08Quiet silly clang analyzer warning in calloc() usage.Todd C. Miller
2015-11-06Use __progname instead of the homegrown ProgramName.Todd C. Miller
2015-11-04Change cron from including all headers in every file to only includingTodd C. Miller
2015-11-04Remove unused LogFD variableTodd C. Miller
2015-11-04Change some globals from extern to static when they are not usedTodd C. Miller
2015-11-03If pledge(2) fails use perror instead of log_it(RealUser, ...) sinceTodd C. Miller
2015-11-03It is only necessary to swap the effective gid when reading a file.Todd C. Miller
2015-11-03Use send(MSG_NOSIGNAL) instead of mucking with the disposition of SIGPIPEPhilip Guenther
2015-11-02Use setegid() directly instead of swap_gids() / swap_gids_back().Todd C. Miller
2015-10-31Split client-only (at, crontab) functions out of misc.c and intoTodd C. Miller
2015-10-31open_socket() is only used by cron proper so move to cron.cTodd C. Miller
2015-10-31swap_gids and swap_gids_back are only used by crontab.c soTodd C. Miller
2015-10-29Also need exec to run the editor of course.Todd C. Miller
2015-10-29crontab needs "proc" for fork(2)Todd C. Miller
2015-10-29Use stravis(3) instead of a homegrown vis-like function.Todd C. Miller
2015-10-29remove unused variablesTodd C. Miller
2015-10-29Convert env_get() into env_find() similar to __findenv() in libc.Todd C. Miller
2015-10-29Remove useless FACILITY define and use LOG_CRON directly.Todd C. Miller
2015-10-28pledgeTheo de Raadt
2015-10-26Remove TMPDIR support, it is not really useful in crontab.Todd C. Miller
2015-10-26Use SOCK_NONBLOCK and SOCK_CLOEXEC instead of fcntl() calls.Todd C. Miller
2015-10-26Remove some useless defines and the set_cron_uid() function.Todd C. Miller
2015-10-25Remove PIDDIR and PIDFILE missed in previous commit.Todd C. Miller
2015-10-25Remove cron.pid support. We still want to avoid multiple cronsTodd C. Miller
2015-10-23remove some more ifdef mazinessTed Unangst
2015-10-06clear out some more legacy code and whatnotTed Unangst
2015-10-04remove stale comment. there is no need to avoid side effects from a "list"Ted Unangst
2015-10-03There is no need to keep a global array of sysconf(_SC_OPEN_MAX) elementsTed Unangst