History log of /freebsd-10.1-release/libexec/atrun/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


265368 05-May-2014 ghelmer

MFC r264617:

Fix releasing the lock in the parent atrun process after the queue
directory has been processed. Otherwise, a long-running child process
caused other atrun invocations to stall unnecessarily.

Submitted by: J.R. Oldroyd jr at opal.com


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


251627 11-Jun-2013 ghelmer

Add the name of the file that could not be opened to the error message
regarding the failure.

Suggested while working on PR bin/113239.


251625 11-Jun-2013 ghelmer

Prevent races running the queue by serializing access to the
queue directory.

PR: bin/113239


242372 30-Oct-2012 mjg

atrun(8): scale default load average limit with the number of CPUs

Previously atrun refused to run jobs if load average was not below fixed limit of 1.5.

PR: 173175
Reviewed by: peterj
Approved by: trasz (mentor)
MFC after: 2 weeks


240974 26-Sep-2012 jilles

atrun: Do not assume that MAXLOGNAME <= 100.

The reserved space for fmt was exactly sufficient for a two-digit value of
MAXLOGNAME - 1.

PR: bin/171815
Submitted by: Jeremy Huddleston Sequoia
MFC after: 1 week


201380 02-Jan-2010 ed

Make WARNS=6 the default for libexec/.

Just like bin/ and sbin/, I think setting WARNS to the highest value
possible will make it more attractive for people to fix warnings.

- The WARNS variable is set in the Makefile in the directory of the
application itself, making it more likely that it will be removed out
of curiosity to see what happens.
- New applications will most likely build with WARNS=6 out of the box,
because the author would more likely fix the warnings during
development than lower WARNS.

Unfortunately almost all apps in libexec require a lowered value of
WARNS.


200982 25-Dec-2009 ed

Don't use UT_NAMESIZE here to determine the maximum username length.


172402 01-Oct-2007 ru

Fixed static linkage (build with -DNO_SHARED).

Approved by: re (kensmith)


170881 17-Jun-2007 yar

Note PAM support in atrun(8).
Sort FILES section while there.
Touch document date.


170773 15-Jun-2007 yar

Add PAM support to atrun(8).


170769 15-Jun-2007 yar

Actually use new features of perr() and perrx().


170768 15-Jun-2007 yar

Catch up with perr() becoming variadic.


170767 15-Jun-2007 yar

Make perr() variadic and add perrx() to use in cases where
errno is irrelevant. Some code duplication can be reduced
if perr() is variadic and perrx() is available.


170741 14-Jun-2007 yar

Use a single setusercontext(3) instead of a bunch of basic syscalls.
Besides aesthetic benefits, that makes at(1) jobs subject to such
login.conf(5) settings as resource limits.


170739 14-Jun-2007 yar

Spotted another copy of the loony error message.


170728 14-Jun-2007 yar

Fix an error message that was beside the point.


170726 14-Jun-2007 yar

Fix a typical off-by-one error that can result in an unterminated string:

strncpy(dst, src, sizeof(dst));

by substituting the safer strlcpy() for strncpy().

X-Security: none (the source string isn't user-supplied)


153893 30-Dec-2005 ceri

Don't be sexist - fix a typo.


131990 11-Jul-2004 stefanf

Fix a few cases that relied on 'implicit int' (constraint violation in C99).


131472 02-Jul-2004 ru

Removed trailing whitespace.


108257 24-Dec-2002 ru

mdoc(7) police: Deal with self-xrefs.


90164 04-Feb-2002 kris

Lock down with WFORMAT?=1, with overrides in the subdirectories which
are not yet warning-clean. Tested on i386 and alpha.


90148 03-Feb-2002 imp

o Eliminate __P
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register


80201 23-Jul-2001 kris

by by -> by

Obtained from: OpenBSD
MFC After: 1 week


79529 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


74814 26-Mar-2001 ru

- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.


74804 26-Mar-2001 ru

Don't use MANDEPEND and MANSRC.


74529 20-Mar-2001 ru

Set the default manual section for libexec/ to 8.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70015 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os FreeBSD call.


69199 26-Nov-2000 kris

Don't hard-code a buffer size


60604 15-May-2000 bde

Don't uselessly set MANDEPEND (it isn't used in this Makefile, and isn't
really used in bsd.man.mk).

Don't uselessly set MANSRC ("." is in the path by default, and there are
no ordering problems).

Fixed some other style bugs.


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


44060 15-Feb-1999 fenner

Clean up some .Os macro uses: quotes are not needed, multiple arguments
don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental"
isn't an OS name.


38024 02-Aug-1998 bde

Fixed printf format errors.


37322 01-Jul-1998 jkoshy

Clean up grammar. Provide proper pathnames for spool directories.
Document dependency on current load average for starting new batch jobs.

PR: 7109


31306 20-Nov-1997 charnier

Cosmetic in error strings. Sort Xrefs. Add usage (with syslog capability).


29231 08-Sep-1997 dima

Do setlogin() before changing uid/gid, since
`at/batch' requires this.

Obtained from: me && OpenBSD


24829 12-Apr-1997 davidn

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
Fixes name size limitation (was hardcoded to 8).
Closes PR#3258


24349 28-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


22989 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


18471 22-Sep-1996 wosch

add forgotten $Id$


13122 30-Dec-1995 peter

recording cvs-1.6 file death


10415 29-Aug-1995 ache

Fix ${.CURDIR} misspelling


10401 28-Aug-1995 mpp

Check for expired passwords before allowing access to the system.


10154 21-Aug-1995 ache

Upgrade to 2.9


8870 30-May-1995 rgrimes

Remove trailing whitespace.


7777 12-Apr-1995 ache

Add some useful sendmail options


7768 12-Apr-1995 ache

Upgrade.
Close security holes reported.


940 05-Jan-1994 nate

Modified Os string to be FreeBSD instead of NetBSD


939 05-Jan-1994 nate

Added the Linux atrun command as hacked by Chris Demetriou for NetBSD.