summaryrefslogtreecommitdiff
path: root/usr.bin/at/at.c
AgeCommit message (Expand)Author
2024-11-05fix an alignment error in the Queue column label of atq(1) introduced onIgor Sobrado
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2019-11-29at(1): ctime comparison: subtraction is not comparison; ok millert@cheloha
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-06-15Finer grained pledge for at(1). After setegid(), do a three-way pledge:Theo Buehler
2017-06-07In cron(8), require that crontab and at files in the spool be ownedTodd C. Miller
2017-03-18Use recallocarray for growth of the jobs, just because it is a littleTheo de Raadt
2016-10-31Delete setlocale(LC_TIME, "").Ingo Schwarze
2015-11-16Make "at -l" comply with POSIX. Our "at -l" currently acts likeTodd C. Miller
2015-11-13Use crontab-style syslog calls in at.Todd C. Miller
2015-11-13There's no need for at.c globals to be extern.Todd C. Miller
2015-11-12Use absolute paths in pathnames.h. There is no longer a need toTodd C. Miller
2015-11-11at already uses O_EXCL when creating files so there's no need toTodd C. Miller
2015-11-11Use warn/warnx where sensible and add fatal/fatalx wrappers forTodd C. Miller
2015-11-11Use fstatat(), openat() and unlinkat() when operating on files inTodd 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-03It is only necessary to swap the effective gid when reading a file.Todd C. Miller
2015-10-28pledgeTheo de Raadt
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2014-10-08userland reallocarray audit.Doug Hogan
2014-09-29When setting environment variables in the atrun script, use theTodd C. Miller
2013-11-25variety of unsigned char casts (or conversions) for ctypeTheo de Raadt
2013-04-17Adapt cron and at for future large time_t and tv_sec types. These were someTheo de Raadt
2011-08-30Same fix as 'touch': with the -t option, when the year is specifiedPhilip Guenthe
2011-08-23Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2011-03-03Use dirfd() instead of peeking into struct dirent for dd_fd, which isTodd C. Miller
2010-07-02'wether' -> 'whether' typo in license text.Kenneth R Westerback
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-05open the -f inputfile before letting lower-down functions call chdir()Theo de Raadt
2007-09-05Change some variables to their proper type size_t.Moritz Jodeit
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-18Fix typo introduced in seconds parsing. From Tim van der Molen.Todd C. Miller
2007-05-24If century not specified used the current one instead of aassuming 2000.Todd C. Miller
2007-05-23Fix cut and pasto, seconds value is now stored in dot, not p.Todd C. Miller
2007-05-23Set tm_sec to 0 if no seconds were specified by the timespec (-t) arg.Todd C. Miller
2007-05-23Sanity check the time argument specified by the -t argument. SomeTodd C. Miller
2007-03-26indicate that -l takes an optional argument;Jason McIntyre
2006-04-26Cleanup, remove an unused var, use an int to store argc instead of a char,Chad Loder
2006-03-22plug an fd leak and closedir() two directories;Robert Nagy
2005-10-25dont' -> don't in comments;Jason McIntyre
2005-06-23- at(1) synopsis: -r expects a `job' arg, not a timespecJason McIntyre
2004-06-17Remove trailing whitespace and, for printf, uid/gid are unsignedTodd C. Miller
2004-06-03Verify that argc > 0 before trying to use argv and mark usage as __dead.Todd C. Miller
2003-09-26better realloc. ok deraadt@Ted Unangst
2003-07-23Add '\n' to error messages in "atrm" mode.Mike Pechkin
2003-05-04the buffer to getcwd(3) should be PATH_MAX in size, not MAX_FNAMEAnil Madhavapeddy
2003-03-13Stash uid and mode in struct at so we don't need to pass around aTodd C. Miller
2003-03-03Add back fix from 1.32 that was lost in latest syncTodd C. Miller