aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/at
Commit message (Collapse)AuthorAgeFilesLines
* Explain the format of the at.allow and at.deny files in detail.Giorgos Keramidas2003-03-261-0/+5
| | | | | | | | PR: 35942 Submitted by: Gary W. Swearingen <swear@blarg.net> Notes: svn path=/head/; revision=112661
* The .Nm utility.Giorgos Keramidas2003-02-281-4/+9
| | | | Notes: svn path=/head/; revision=111683
* mdoc(7) police:Ruslan Ermilov2002-11-261-1/+3
| | | | | | | | | | | Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai] strings; using these strings is unsafe in troff mode, as they include a change in a font size. Approved by: re Notes: svn path=/head/; revision=107282
* mdoc(7) police: Removed redundant .Ns calls.Ruslan Ermilov2002-08-131-2/+2
| | | | Notes: svn path=/head/; revision=101828
* - Use MAXLOGNAME - 1 instead of UT_NAMESIZE.Robert Drehmel2002-07-221-11/+5
| | | | | | | - Do not pretend there is something like '/etc/utmp'. Notes: svn path=/head/; revision=100494
* mdoc(7) police: lint.Ruslan Ermilov2002-05-291-2/+3
| | | | Notes: svn path=/head/; revision=97493
* Add the SUSv3 -l option to at. This is an alias for atq. Allow job idsTim J. Robbins2002-05-163-6/+62
| | | | | | | | | | to be specified on the command line for which information should be reported. Submitted by: Joe Halpin <joe.halpin@attbi.com> Reviewed by: mike Notes: svn path=/head/; revision=96701
* Change whtespace indent in format string to fit new output form ofJun Kuriyama2002-05-081-2/+2
| | | | | | | | | timestamp. Reviewed by: markm Notes: svn path=/head/; revision=96216
* Document the fact that at(1) is run through cron(8) and that this affectsJeroen Ruigrok van der Werven2002-05-041-0/+14
| | | | | | | | | the granularity of the at queue runs. Submitted by: mux Notes: svn path=/head/; revision=96032
* mdoc(7) police: markup fixes.Ruslan Ermilov2002-03-151-13/+20
| | | | Notes: svn path=/head/; revision=92340
* #include <sys/time.h> instead of depending on namespace pollution inBruce Evans2002-02-251-7/+8
| | | | | | | | | | | <sys/stat.h> for the declaration of struct timeval (sys/stat.h> only needs timespecs even when its POSIX support is not turned on, so it shouldn't declare timevals). Fixed some #include messes. Notes: svn path=/head/; revision=91220
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* o Remove the -V [version number] option, since our version of at(1) noMike Barcroft2002-01-223-43/+26
| | | | | | | | | | longer resembles the original. o Remove references to `you' in the manual. Submitted by: Joe Halpin <joe.halpin@attbi.com> Notes: svn path=/head/; revision=89633
* Fix a typo introduced in the previous delta. The mistake was mineMike Barcroft2002-01-171-1/+1
| | | | | | | rather than the submitter's. Notes: svn path=/head/; revision=89448
* Implement the POSIX 1003.1-2001 -r and -t options in at(1). Fix someMike Barcroft2002-01-134-26/+157
| | | | | | | | | | | minor issues in the rest of the source and manual. Submitted by: Joe Halpin <joe.halpin@attbi.com> Obtained from: touch(1) (partially) MFC after: 1 month Notes: svn path=/head/; revision=89315
* - Add 4-digit year variants in the manpage, since at(1) alreadyGiorgos Keramidas2002-01-101-6/+7
| | | | | | | | | | understands them. PR: docs/32843 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Notes: svn path=/head/; revision=89186
* Style improvements recommended by Bruce as a follow up to someDavid Malone2001-12-104-4/+0
| | | | | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF. Notes: svn path=/head/; revision=87628
* Use __FBSDID()Mark Murray2001-12-024-16/+12
| | | | Notes: svn path=/head/; revision=87230
* WARNS=2 fixup.Mark Murray2001-12-027-18/+24
| | | | Notes: svn path=/head/; revision=87208
* Allow an ``at now'' specification.Brian Somers2001-11-241-1/+5
| | | | | | | | | PR: 32242 Submitted by: Alan E <alane@geeksrus.net> MFC after: 3 weeks Notes: svn path=/head/; revision=86848
* mdoc(7) police: kill whitespace at EOL and HSB.Ruslan Ermilov2001-11-201-6/+8
| | | | Notes: svn path=/head/; revision=86673
* Use .Nm to correctly display the program name.Murray Stokely2001-11-191-1/+3
| | | | | | | | | PR: docs/32086 Submitted by: setantae@submonkey.net MFC After: 2 days Notes: svn path=/head/; revision=86594
* Set BINOWN=root explicitly for setuid root binaries.Ruslan Ermilov2001-09-131-0/+1
| | | | | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case. Notes: svn path=/head/; revision=83391
* SECURITY.Ruslan Ermilov2001-09-042-40/+42
| | | | | | | | | | | | | | | | Fixed macros for temporarily relinquishing and restoring setuid/setgid privileges so that they never change the real user and group IDs of the calling process. The setre[ug]id() calls are still used in the REDUCE_PERM macro (with the r[ug]id arguments of -1) so that the call changes the saved user and group IDs of the process to that specified. Also, the panic() and perr() functions had insufficient privileges to delete the problematic file under /var/at. Notes: svn path=/head/; revision=82973
* Remove some unsafe function calls from the signal handlers.Kris Kennaway2001-09-011-6/+14
| | | | | | | | | Obtained from: OpenBSD Reviewed by: audit MFC after: 2 weeks Notes: svn path=/head/; revision=82722
* An empty at.deny doesn't mean everyone can use at.Dima Dorfman2001-08-141-4/+0
| | | | | | | | PR: 29549 Submitted by: swear@aa.net Notes: svn path=/head/; revision=81619
* Expland `mymalloc' with malloc + error checking.David E. O'Brien2001-07-244-17/+10
| | | | Notes: svn path=/head/; revision=80294
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-4/+4
| | | | Notes: svn path=/head/; revision=74848
* Don't use MANDEPEND and MANSRC.Ruslan Ermilov2001-03-261-5/+2
| | | | Notes: svn path=/head/; revision=74804
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-4/+4
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-3/+4
| | | | Notes: svn path=/head/; revision=70197
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* Y2K fix. at(1) would die with 'garbled time' when assign_date() wasSheldon Hearn2000-03-271-20/+22
| | | | | | | | | | | | | | | | pased a year > 99. This change fixes the conversion of 2-digit years into tm_year format. This change is differs from the OpenBSD fix because of differences in our assign_date(). PR: 15872 Reported by: "Crist J. Clark" <cjclark@home.com> Submitted by: "Sergey N. Voronkov" <serg@dor.zaural.ru> Obtained from: OpenBSD Notes: svn path=/head/; revision=58660
* TypoPhilippe Charnier2000-03-261-1/+1
| | | | Notes: svn path=/head/; revision=58607
* Change the usage of the .Nm macro in the NAME section to beMike Pritchard2000-03-241-1/+4
| | | | | | | consistent with the rest of the system. Notes: svn path=/head/; revision=58504
* Correct use of .Nm, .Em, .EvPhilippe Charnier1999-12-056-127/+120
| | | | | | | | Add rcsid. Use errx instead of fprintf + exit. Various spelling fixes. Notes: svn path=/head/; revision=54158
* $Id$ -> $FreeBSD$Peter Wemm1999-08-286-6/+6
| | | | Notes: svn path=/head/; revision=50477
* 1. Add support for months and years in relative time spec (now + 1 year)Nick Sayer1999-08-262-52/+35
| | | | | | | | | | 2. Rip out dateadd() and re-do the plus operator handler to use mktime() instead (per wollman). Reviewed by: wollman Notes: svn path=/head/; revision=50411
* Various man page cleanup:Mike Pritchard1999-08-151-6/+6
| | | | | | | | | | | | - Sort xrefs - Be consistent with section names as outlines in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49823
* (1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.Bill Fumerola1999-07-011-3/+6
| | | | | | | | | | | (2) Die when there is a problem opening at.allow other then it not existing. An error other then it not existing might be a trick to somehow circumvent system security. Mostly Reviewed By: msmith Notes: svn path=/head/; revision=48386
* More egcs warning fixes:Warner Losh1999-04-251-2/+2
| | | | | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr Notes: svn path=/head/; revision=46081
* Clean up some .Os macro uses: quotes are not needed, multiple argumentsBill Fenner1999-02-151-2/+2
| | | | | | | | don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental" isn't an OS name. Notes: svn path=/head/; revision=44060
* Eliminate compiler warnings from -WallArchie Cobbs1998-12-065-6/+9
| | | | Notes: svn path=/head/; revision=41556
* atq ignored locale info when printing dates. Is the other call toStephen McKay1998-10-151-1/+5
| | | | | | | | | setlocale() just in the wrong place? PR: 8300 Notes: svn path=/head/; revision=40389
* Remove useless `BINOWN=root' now that it is the default.David E. O'Brien1998-09-191-2/+1
| | | | Notes: svn path=/head/; revision=39495
* Typo fix: garbeld -> garbledSteve Price1998-08-301-2/+2
| | | | | | | | PR: 7784 Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au> Notes: svn path=/head/; revision=38646
* Year is sometimes set to -1 when assign_date() is called. Check for -1Alexander Langer1998-08-081-2/+2
| | | | | | | | | before Y2K processing. PR: 7524 Notes: svn path=/head/; revision=38188
* Recognize long month names in addition to short ones.Dag-Erling Smørgrav1998-07-091-1/+13
| | | | | | | | PR: bin/7228 Submitted by: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=37538
* $@ is deprecated, use ${.TARGET} instead. Ditto for other single characterWarner Losh1998-06-091-2/+2
| | | | | | | | $n. PR: conf/3273 Notes: svn path=/head/; revision=36786