summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/atrun.c
AgeCommit message (Expand)Author
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2019-10-20Use strtonum(3) in atrun. Also limit uid/gid to UID_MAX-1 andTodd C. Miller
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2017-10-25Open a bunch of fds with O_CLOEXECJeremie Courreges-Anglas
2017-10-23Close the socket (and dfd) in at(1) child processesJeremie Courreges-Anglas
2017-06-08Add logging for when we find a non-file in the at spool that wasTodd C. Miller
2017-06-07In cron(8), require that crontab and at files in the spool be ownedTodd C. Miller
2017-06-07When running at jobs, open the at spool and use the directory fdTodd 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-15Clean up the remaining uses of stderr and perror() and use warn/errTodd 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-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-04Change cron from including all headers in every file to only includingTodd 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-03There is no need to keep a global array of sysconf(_SC_OPEN_MAX) elementsTed Unangst
2015-10-03unifdef some features we will always have. ok benno zhukTed Unangst
2015-08-25Use ppoll(2) instead of poll(2). This has two benefits. Firstly,Todd C. Miller
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
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-22delete useless casts. ok deraadt guenther millertTed Unangst
2015-01-19If UID_MAX is not defined, this should fail to compile.Theo de Raadt
2015-01-14Replace MAXHOSTNAMELEN with HOST_NAME_MAX+1 and MAXNAMLEN with NAME_MAXTodd C. Miller
2015-01-14Use HAVE_FOO for BSD-specific features instead of relying on theTodd C. Miller
2015-01-14Use standard types for wait, readdir, signals and pids.Todd C. Miller
2013-11-23remove redundant check, and be a bit more careful about queue namingTheo de Raadt
2013-04-17Adapt cron and at for future large time_t and tv_sec types. These were someTheo de Raadt
2011-08-22Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2011-03-03Reset the SIGPIPE signal handler immediately before executing a command.Todd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2006-08-13Add Auto-Submitted header in generated mail as per RFC 3834.Todd C. Miller
2005-01-30Proper cleanup on malloc failure; Andrey MatveevTodd C. Miller
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2004-06-03More changes from Dmitry V. Levin:Todd C. Miller
2004-05-13Pasto, change a cast from uid_t to gid_t (no real change...)Todd C. Miller
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
2003-05-12feof() can only be used after you actually hit EOF so the checkTodd C. Miller
2003-04-14Use setproctitle() instead of the CAPITALIZE_FOR_PS hack. InspiredTodd 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