summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/crontab.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove setlocale(3) calls. I checked that no functions are called thatschwarze2020-02-111-3/+1
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-6/+6
* When caching the mtime of the spool directory and system crontab files,millert2016-01-111-1/+2
* Check for setgid() failure before executing editor and warn ifmillert2015-11-171-4/+8
* Remove log_it() and call syslog(3) directly using the same format:millert2015-11-141-10/+13
* Use absolute paths in pathnames.h. There is no longer a need tomillert2015-11-121-24/+21
* Use warn/warnx and err/errx. OK jca@millert2015-11-111-102/+62
* Niether cron nor crontab need flock permission.millert2015-11-111-2/+2
* For "crontab -u user -e" change the euid for the mkstemp() callmillert2015-11-111-9/+18
* Remove unused xpid argument to log_it().millert2015-11-091-9/+7
* Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improvemillert2015-11-091-8/+8
* Use __progname instead of the homegrown ProgramName.millert2015-11-061-19/+16
* Change cron from including all headers in every file to only includingmillert2015-11-041-7/+23
* If pledge(2) fails use perror instead of log_it(RealUser, ...) sincemillert2015-11-031-3/+3
* It is only necessary to swap the effective gid when reading a file.millert2015-11-031-33/+1
* Use setegid() directly instead of swap_gids() / swap_gids_back().millert2015-11-021-33/+25
* swap_gids and swap_gids_back are only used by crontab.c somillert2015-10-311-1/+13
* Also need exec to run the editor of course.millert2015-10-291-2/+2
* crontab needs "proc" for fork(2)millert2015-10-291-2/+2
* pledgederaadt2015-10-281-1/+7
* Remove TMPDIR support, it is not really useful in crontab.millert2015-10-261-9/+3
* Remove some useless defines and the set_cron_uid() function.millert2015-10-261-2/+2
* clear out some more legacy code and whatnottedu2015-10-061-6/+1
* correct copyright, upon approval from paul vixie via todd miller. thederaadt2015-02-091-5/+1
* braces to open a function go on their own line like god intendedtedu2015-01-231-11/+21
* Remove the OK and ERR macros. They obfuscate the code and don'ttedu2015-01-231-14/+14
* remove debug code.tedu2015-01-231-15/+1
* Use standard types for wait, readdir, signals and pids.millert2015-01-141-2/+2
* Remove compatibility defines for ancient systems. We assume amillert2015-01-141-11/+2
* Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert2014-11-261-4/+2
* Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOmillert2011-08-221-31/+31
* Use futimens() instead of futimes() to avoid converting to/frommillert2011-08-191-12/+6
* Fix some possible NULL pointer dereferences, and a little bit of cleanup.phessler2011-05-191-2/+2
* Remove unused variables; from Michael W. Bombardierimillert2011-04-041-3/+2
* Make "crontab -l" not crash on crontab files that don't have theguenther2011-02-111-21/+14
* Make "crontab -e" honor TMPDIR; from the Openwall project (ldv)millert2011-01-311-4/+43
* using the rcsid is sillyderaadt2009-10-271-4/+2
* tweak usage()sobrado2009-01-291-8/+9
* from ray@okan2008-05-101-15/+30
* Deal with timespec vs. timeval precision issues. Fixes a problemmillert2007-11-171-3/+7
* - Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byderaadt2007-10-171-13/+10
* Include err.h and remove unused variables.ray2007-09-011-4/+4
* Copy editit() from sendbug, synchronizing editor calling code.ray2007-08-311-63/+63
* tidy up synopsis and usage();jmc2007-02-191-3/+3
* crontab -e /tmp//crontab.ynUyD24939 versus /tmp/crontab.ynUyD24939.mglocker2007-02-131-3/+3
* crontab.c uses the rcsid in the crontab head comment so don't protectmillert2005-11-291-4/+2
* Detect editors that move the edited file out from underneath us and warn.millert2005-01-301-3/+8
* Treat EOF at prompt the same as 'n' instead of looping forever.millert2004-11-041-5/+8
* ftruncate() with ftello() instead of ftell(); ok millertderaadt2004-09-161-3/+3
* use snprintf(3) instead of home-grown glue_strings() functionavsm2004-06-221-11/+11