summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/crontab.c
AgeCommit message (Expand)Author
2016-01-11When caching the mtime of the spool directory and system crontab files,Todd C. Miller
2015-11-17Check for setgid() failure before executing editor and warn ifTodd C. Miller
2015-11-14Remove log_it() and call syslog(3) directly using the same format:Todd C. Miller
2015-11-12Use absolute paths in pathnames.h. There is no longer a need toTodd 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-11For "crontab -u user -e" change the euid for the mkstemp() callTodd C. Miller
2015-11-09Remove unused xpid argument to log_it().Todd C. Miller
2015-11-09Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improveTodd 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-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-02Use setegid() directly instead of swap_gids() / swap_gids_back().Todd 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-28pledgeTheo de Raadt
2015-10-26Remove TMPDIR support, it is not really useful in crontab.Todd C. Miller
2015-10-26Remove some useless defines and the set_cron_uid() function.Todd C. Miller
2015-10-06clear out some more legacy code and whatnotTed Unangst
2015-02-09correct copyright, upon approval from paul vixie via todd miller. theTheo de Raadt
2015-01-23braces to open a function go on their own line like god intendedTed Unangst
2015-01-23Remove the OK and ERR macros. They obfuscate the code and don'tTed Unangst
2015-01-23remove debug code.Ted Unangst
2015-01-14Use standard types for wait, readdir, signals and pids.Todd C. Miller
2015-01-14Remove compatibility defines for ancient systems. We assume aTodd C. Miller
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2011-08-22Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2011-08-19Use futimens() instead of futimes() to avoid converting to/fromTodd C. Miller
2011-05-19Fix some possible NULL pointer dereferences, and a little bit of cleanup.Peter Hessler
2011-04-04Remove unused variables; from Michael W. BombardieriTodd C. Miller
2011-02-11Make "crontab -l" not crash on crontab files that don't have thePhilip Guenthe
2011-01-31Make "crontab -e" honor TMPDIR; from the Openwall project (ldv)Todd C. Miller
2009-10-27using the rcsid is sillyTheo de Raadt
2009-01-29tweak usage()Igor Sobrado
2008-05-10from ray@Okan Demirmen
2007-11-17Deal with timespec vs. timeval precision issues. Fixes a problemTodd C. Miller
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
2007-09-01Include err.h and remove unused variables.Ray Lai
2007-08-31Copy editit() from sendbug, synchronizing editor calling code.Ray Lai
2007-02-19tidy up synopsis and usage();Jason McIntyre
2007-02-13crontab -e /tmp//crontab.ynUyD24939 versus /tmp/crontab.ynUyD24939.Marcus Glocker
2005-11-29crontab.c uses the rcsid in the crontab head comment so don't protectTodd C. Miller
2005-01-30Detect editors that move the edited file out from underneath us and warn.Todd C. Miller
2004-11-04Treat EOF at prompt the same as 'n' instead of looping forever.Todd C. Miller
2004-09-16ftruncate() with ftello() instead of ftell(); ok millertTheo de Raadt
2004-06-22use snprintf(3) instead of home-grown glue_strings() functionAnil Madhavapeddy
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2003-07-30Use (char *)NULL instead of (char *)0 in execl and execle; Andrey MatveevTodd C. Miller