summaryrefslogtreecommitdiffstats
path: root/usr.bin/at
Commit message (Collapse)AuthorAgeFilesLines
* SECURITY.ru2001-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.
* Remove some unsafe function calls from the signal handlers.kris2001-09-011-6/+14
| | | | | | Obtained from: OpenBSD Reviewed by: audit MFC after: 2 weeks
* An empty at.deny doesn't mean everyone can use at.dd2001-08-141-4/+0
| | | | | PR: 29549 Submitted by: swear@aa.net
* Expland `mymalloc' with malloc + error checking.obrien2001-07-244-17/+10
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-4/+4
|
* Don't use MANDEPEND and MANSRC.ru2001-03-261-5/+2
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-4/+4
|
* Prepare for mdoc(7)NG.ru2000-12-191-3/+4
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* Y2K fix. at(1) would die with 'garbled time' when assign_date() wassheldonh2000-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
* Typocharnier2000-03-261-1/+1
|
* Change the usage of the .Nm macro in the NAME section to bempp2000-03-241-1/+4
| | | | consistent with the rest of the system.
* Correct use of .Nm, .Em, .Evcharnier1999-12-056-127/+120
| | | | | Add rcsid. Use errx instead of fprintf + exit. Various spelling fixes.
* $Id$ -> $FreeBSD$peter1999-08-286-6/+6
|
* 1. Add support for months and years in relative time spec (now + 1 year)nsayer1999-08-262-52/+35
| | | | | | | 2. Rip out dateadd() and re-do the plus operator handler to use mktime() instead (per wollman). Reviewed by: wollman
* Various man page cleanup:mpp1999-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>
* (1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.billf1999-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
* More egcs warning fixes:imp1999-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
* Clean up some .Os macro uses: quotes are not needed, multiple argumentsfenner1999-02-151-2/+2
| | | | | don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental" isn't an OS name.
* Eliminate compiler warnings from -Wallarchie1998-12-065-6/+9
|
* atq ignored locale info when printing dates. Is the other call tomckay1998-10-151-1/+5
| | | | | | setlocale() just in the wrong place? PR: 8300
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Typo fix: garbeld -> garbledsteve1998-08-301-2/+2
| | | | | PR: 7784 Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
* Year is sometimes set to -1 when assign_date() is called. Check for -1alex1998-08-081-2/+2
| | | | | | before Y2K processing. PR: 7524
* Recognize long month names in addition to short ones.des1998-07-091-1/+13
| | | | | PR: bin/7228 Submitted by: Archie Cobbs <archie@whistle.com>
* $@ is deprecated, use ${.TARGET} instead. Ditto for other single characterimp1998-06-091-2/+2
| | | | | $n. PR: conf/3273
* Fix a bunch of spelling errors.steve1998-06-041-2/+2
| | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net>
* Permit double digit year values to be used in the next millenium.alex1998-05-051-1/+17
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-4/+6
|
* Revert part of previous commit. I didn't see rcsid string in the middle ofcharnier1997-06-241-4/+2
| | | | the file. Put includes in alphabetical order.
* Use err(3).charnier1997-06-232-8/+10
| | | | Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Back out MAXLOGNAME fix, Bruce points that copyinstr require NULache1997-03-031-2/+2
|
* Fix MAXLOGNAME usage, the code has wrong assumption that it must beache1997-03-021-3/+3
| | | | NULL terminated
* Revert $FreeBSD$ to $Id$peter1997-02-226-6/+6
|
* Fix for hard-coded length of login name.davidn1997-02-181-3/+11
| | | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> Closes #PR bin/2755
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-146-6/+6
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix botches in the handling of "AM" and "PM":jdp1996-07-191-3/+8
| | | | | 12:xx PM is 12:xx, not 24:xx. 12:xx AM is 00:xx, not 12:xx.
* Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.bde1996-02-251-2/+2
|
* making <page>.1 from <page>.manwosch1996-02-061-1/+2
|
* recording cvs-1.6 file deathpeter1995-12-302-258/+0
|
* Add setlocale LC_TIMEache1995-10-241-1/+7
|
* Describe the correct default situation for the various permissionjoerg1995-10-051-3/+3
| | | | | | options. Submitted by: sgk@troutmask.apl.washington.edu (Steven G. Kargl)
* Upgrade to 2.9ache1995-08-2112-116/+256
|
* Make parsetime.c more consistent by using the (already declared) enumjoerg1995-06-242-11/+13
| | | | | | | | | | type instead of int all over the place. (Cosmetic, enhances debugging.) Point out that a date specification _must_ follow the time of day spec, in the man page. This clarifies the last point PR # of bin/483: "at doesn't seem to ..." (the remainder has already been fixed with version 1.3 of parsetime.c).
* Remove trailing whitespace.rgrimes1995-05-309-43/+43
|
* Remove setre* hacks, we have working thing nowache1995-04-272-41/+24
|
* Fight over non-working setruidache1995-04-152-11/+15
|
* Upgrade.ache1995-04-1212-618/+1207
|
OpenPOWER on IntegriCloud