Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2015-11-16 | Make "at -l" comply with POSIX. Our "at -l" currently acts like | Todd C. Miller | |
the historic BSD atq which takes a list of users instead of a list of jobs. We now accept either a user or a job number for "at -l". The "at -l user" syntax is still accepted but no longer documented. This is similar to how we handle differences in "at -r" vs. atrm. OK deraadt@ jmc@ | |||
2015-11-13 | Use crontab-style syslog calls in at. | Todd C. Miller | |
Remove check_permission and just call allowed() directly. | |||
2015-11-13 | There's no need for at.c globals to be extern. | Todd C. Miller | |
2015-11-12 | Use absolute paths in pathnames.h. There is no longer a need to | Todd C. Miller | |
chdir(2) to the cron dir and cron(8) now changes to / via daemon(3). We no longer try to create/chmod the spool directories as they should be set correctly at install time. The setegid(crontab) has been moved to open_socket() so it is closer to the chmod(2) call that needs it. OK deraadt@ tedu@ | |||
2015-11-11 | at already uses O_EXCL when creating files so there's no need to | Todd C. Miller | |
lock the spool dir. OK jca@ | |||
2015-11-11 | Use warn/warnx here too. | Todd C. Miller | |
2015-11-11 | Remove bogus DST code. mktime() handles DST automatically when | Todd C. Miller | |
tm_isdst is set to -1. | |||
2015-11-11 | Use warn/warnx where sensible and add fatal/fatalx wrappers for | Todd C. Miller | |
err/errx that unlink atfile as needed. OK deraadt@ | |||
2015-11-11 | Use fstatat(), openat() and unlinkat() when operating on files in | Todd C. Miller | |
the at queue so we don't need to chdir to the queue dir. OK guenther@ | |||
2015-11-09 | Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improve | Todd C. Miller | |
readability. | |||
2015-11-06 | Use __progname instead of the homegrown ProgramName. | Todd C. Miller | |
2015-11-04 | Change cron from including all headers in every file to only including | Todd C. Miller | |
what each .c file needs. I have not removed cron.h since it will be used in a future clean up of the cron's .h files. OK nicm@ | |||
2015-11-03 | It is only necessary to swap the effective gid when reading a file. | Todd C. Miller | |
An attacker exploiting an overflow can change the egid themselves so running with the egid of the user in other places just gives you a false sense of security. OK nicm@ deraadt@ | |||
2015-10-31 | Split client-only (at, crontab) functions out of misc.c and into | Todd C. Miller | |
client.c. Move truly common functions into common.c. This avoids dead code in the at and crontab commands. | |||
2015-10-28 | pledge | Theo de Raadt | |
ok millert | |||
2015-09-09 | The .Nd macro is intended to provide "a one line description", so avoid | Ingo Schwarze | |
multiple lines of input, in particular, don't use macros below .Nd; such bad style can confuse various apropos(1) tools. All deleted macros reappear later in the text, anyway, except for .Tn, which i'm deleting outright. Found while scanning the tree for good and bad practices in preparation for my EuroBSD2015 mdoc(7) tutorial on Oct 1 in Stockholm. | |||
2015-08-20 | Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope | Theo de Raadt | |
ok krw millert | |||
2015-03-17 | Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@ | Todd C. Miller | |
2015-03-15 | tzfile.h is an internal header that should never have been installed. | Todd C. Miller | |
What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ | |||
2015-01-23 | don't need to define debugging 0 anymore | Ted Unangst | |
2014-10-08 | userland reallocarray audit. | Doug Hogan | |
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the arguments with reallocarray(). ok deraadt@ | |||
2014-09-29 | When setting environment variables in the atrun script, use the | Todd C. Miller | |
"export foo=bar" form instead of "foo=bar; export foo" since the former allows the shell to catch variable names that are not valid shell identifiers. This will cause /bin/sh to exit with an error (which gets mailed to the at user) and it will not run the script. OK miod@ | |||
2014-09-16 | no need to discuss sendmail (or any particular mailer) here; | Jason McIntyre | |
while here, \*(Gt -> >, per ingo; | |||
2014-03-17 | as suggested by schwarze, reshuffle STANDARDS text detailing posix features | Jason McIntyre | |
we don;t support next to the posix compat blurb, in order to make things a bit clearer; this also makes the text more concise; ok millert schwarze sobrado | |||
2014-02-15 | macro cleanup, mostly to use .Cm for fixed strings | Ingo Schwarze | |
to be passed as command line arguments; from Jan Stary <hans at stare dot cz>, tweaked by me | |||
2014-01-30 | STANDARDS: at.allow/deny is xsi (same as cron); | Jason McIntyre | |
2014-01-13 | Add the "next" keyword as an alias for "+ 1" for relative times. | Todd C. Miller | |
Also support "months" and "years" keywords when specified as relative time units. All as per POSIX. Man page changes OK jmc@ sobrado@ | |||
2014-01-09 | flesh out some details in STANDARDS regarding timespec; | Jason McIntyre | |
ok sobrado millert | |||
2013-11-25 | variety of unsigned char casts (or conversions) for ctype | Theo de Raadt | |
ok krw | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-04-17 | Adapt cron and at for future large time_t and tv_sec types. These were some | Theo de Raadt | |
of the harder programs to adapt, so let me know if problems happen. tested by guenther, gilles, chl, others | |||
2011-09-04 | have the -t argument name in the options list match that of SYNOPSIS; | Jason McIntyre | |
ok millert | |||
2011-08-31 | have the timespec arguments match in case those of time_arg; | Jason McIntyre | |
2011-08-31 | Copy description of the -t option and its argument with revised text | Philip Guenthe | |
from the touch(1) manpage after much discussion with jmc@ and miller@ | |||
2011-08-30 | Same fix as 'touch': with the -t option, when the year is specified | Philip Guenthe | |
but the century isn't, the century is 1900 if year >= 69; otherwise it's 2000. (With 32bit time_t, this does't affect any working usage.) ok millert@ | |||
2011-08-23 | Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENO | Todd C. Miller | |
defines instead of using custom macros. Missed in last commit. | |||
2011-03-20 | Add two missing lines that got missed when I did the initial at + cron | Todd C. Miller | |
merge. | |||
2011-03-03 | Use dirfd() instead of peeking into struct dirent for dd_fd, which is | Todd C. Miller | |
non-standard. | |||
2010-09-03 | add an EXIT STATUS section for /usr/bin; | Jason McIntyre | |
2010-07-21 | document exit values; from daniel dickman | Jason McIntyre | |
2010-07-02 | 'wether' -> 'whether' typo in license text. | Kenneth R Westerback | |
ok deraadt@ | |||
2009-12-07 | behaviour for the -l flag differs between this implementation and posix; | Jason McIntyre | |
spotted by millert | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-10-05 | open the -f inputfile before letting lower-down functions call chdir() | Theo de Raadt | |
and move us to where we cannot open it. problem spotted by austin ok millert | |||
2009-02-08 | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | Jason McIntyre | |
updates to follow; | |||
2008-01-03 | missing word; from Jason Filley | Jason McIntyre | |
2007-09-05 | Change some variables to their proper type size_t. | Moritz Jodeit | |
ok millert@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-06-18 | Fix typo introduced in seconds parsing. From Tim van der Molen. | Todd C. Miller | |