summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/database.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-02-05Pass a FILE * instead of a file descriptor into load_user() andTodd C. Miller
2017-10-25Open a bunch of fds with O_CLOEXECJeremie Courreges-Anglas
2017-06-07In cron(8), require that crontab and at files in the spool be ownedTodd C. Miller
2016-01-11When caching the mtime of the spool directory and system crontab files,Todd 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-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-09queue(3) instead of homegrown queues and lists. This also fixesTodd C. Miller
2015-11-04Change cron from including all headers in every file to only includingTodd 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-14Replace MAXHOSTNAMELEN with HOST_NAME_MAX+1 and MAXNAMLEN with NAME_MAXTodd C. Miller
2015-01-14Use standard types for wait, readdir, signals and pids.Todd C. Miller
2010-12-14Treat a missing spool dir like an empty one. OK deraadt@Todd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-03-28Since /etc/crontab is not edited via crontab(1) there's no goodTodd C. Miller
2004-06-22use snprintf(3) instead of home-grown glue_strings() functionAnil Madhavapeddy
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2004-06-03Though crontab files are created mode 0600 we should accept ones thatTodd C. Miller
2003-03-15Use strlcpy() instead of pre-checking the src len and using strcpy()Todd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2002-08-10Just zero out pw_passwd in the pw_dup()'d copy. There's no needTodd 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-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-05-09crontab is no longer setuid root, it is now setgid crontab.Todd C. Miller
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
2000-08-21snprintf sprinkles; solar@false.com & ITheo de Raadt
1997-12-22handle timing normally except when clock jumps between 1 and 3 hours. If itTheo de Raadt
1996-09-15enlarge bufferTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt