aboutsummaryrefslogtreecommitdiff
path: root/libexec/atrun
Commit message (Collapse)AuthorAgeFilesLines
* libexec: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-273-3/+10
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326274
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* libexec: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-1/+1
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314653
* Add missing files to 'at' and 'rcmds' packages.Glen Barber2016-02-051-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295294
* Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail onEnji Cooper2016-01-301-1/+2
| | | | | | | | | | | | | 64-bit architectures where sizeof(int) != sizeof(size_t). MFC after: 1 week PR: 206758 Reported by: Christoph Schönweiler <public2016@hauptsignal.at> Submitted by: kib Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295079
* Call /etc/crontab the "system crontab", not "root's crontab". WhileWarren Block2015-06-221-11/+13
| | | | | | | | | | | here, fix some other wording issues PR: 201048 Submitted by: teksimian@gmail.com MFC after: 1 week Notes: svn path=/head/; revision=284709
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Merge headSimon J. Gerraty2014-04-281-0/+6
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ \ Merge from headSimon J. Gerraty2013-09-051-1/+5
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | Sync from headSimon J. Gerraty2012-11-042-3/+22
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Re-introduce this - it doesn't compile clean on a mips targetAdrian Chadd2015-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (eg CARAMBOLA2.) Notes: svn path=/head/; revision=284095
* | | | | | Remove WARNS atrun builds fine with clang and gccBaptiste Daroussin2015-06-061-1/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | Notes: svn path=/head/; revision=284071
* | | | | Convert to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* | | | Fix releasing the lock in the parent atrun process after the queueGuy Helmer2014-04-171-0/+6
| |_|/ |/| | | | | | | | | | | | | | | | | | | | directory has been processed. Otherwise, a long-running child process caused other atrun invocations to stall unnecessarily. Notes: svn path=/head/; revision=264617
* | | Add the name of the file that could not be opened to the error messageGuy Helmer2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | regarding the failure. Suggested while working on PR bin/113239. Notes: svn path=/head/; revision=251627
* | | Prevent races running the queue by serializing access to theGuy Helmer2013-06-111-0/+4
| |/ |/| | | | | | | | | | | | | | | queue directory. PR: bin/113239 Notes: svn path=/head/; revision=251625
* | atrun(8): scale default load average limit with the number of CPUsMateusz Guzik2012-10-302-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=242372
* | atrun: Do not assume that MAXLOGNAME <= 100.Jilles Tjoelker2012-09-261-1/+1
|/ | | | | | | | | | | | 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 Notes: svn path=/head/; revision=240974
* Make WARNS=6 the default for libexec/.Ed Schouten2010-01-021-0/+2
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=201380
* Don't use UT_NAMESIZE here to determine the maximum username length.Ed Schouten2009-12-251-9/+2
| | | | Notes: svn path=/head/; revision=200982
* Fixed static linkage (build with -DNO_SHARED).Ruslan Ermilov2007-10-011-1/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172402
* Note PAM support in atrun(8).Yaroslav Tykhiy2007-06-171-4/+17
| | | | | | | | Sort FILES section while there. Touch document date. Notes: svn path=/head/; revision=170881
* Add PAM support to atrun(8).Yaroslav Tykhiy2007-06-152-11/+36
| | | | Notes: svn path=/head/; revision=170773
* Actually use new features of perr() and perrx().Yaroslav Tykhiy2007-06-151-44/+33
| | | | Notes: svn path=/head/; revision=170769
* Catch up with perr() becoming variadic.Yaroslav Tykhiy2007-06-151-1/+1
| | | | Notes: svn path=/head/; revision=170768
* Make perr() variadic and add perrx() to use in cases whereYaroslav Tykhiy2007-06-151-4/+30
| | | | | | | | errno is irrelevant. Some code duplication can be reduced if perr() is variadic and perrx() is available. Notes: svn path=/head/; revision=170767
* Use a single setusercontext(3) instead of a bunch of basic syscalls.Yaroslav Tykhiy2007-06-142-0/+29
| | | | | | | | Besides aesthetic benefits, that makes at(1) jobs subject to such login.conf(5) settings as resource limits. Notes: svn path=/head/; revision=170741
* Spotted another copy of the loony error message.Yaroslav Tykhiy2007-06-141-1/+1
| | | | Notes: svn path=/head/; revision=170739
* Fix an error message that was beside the point.Yaroslav Tykhiy2007-06-141-1/+1
| | | | Notes: svn path=/head/; revision=170728
* Fix a typical off-by-one error that can result in an unterminated string:Yaroslav Tykhiy2007-06-141-1/+1
| | | | | | | | | | | strncpy(dst, src, sizeof(dst)); by substituting the safer strlcpy() for strncpy(). X-Security: none (the source string isn't user-supplied) Notes: svn path=/head/; revision=170726
* Don't be sexist - fix a typo.Ceri Davies2005-12-301-1/+1
| | | | Notes: svn path=/head/; revision=153893
* Fix a few cases that relied on 'implicit int' (constraint violation in C99).Stefan Farfeleder2004-07-111-1/+1
| | | | Notes: svn path=/head/; revision=131990
* Removed trailing whitespace.Ruslan Ermilov2004-07-021-4/+4
| | | | Notes: svn path=/head/; revision=131472
* mdoc(7) police: Deal with self-xrefs.Ruslan Ermilov2002-12-241-1/+1
| | | | Notes: svn path=/head/; revision=108257
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichKris Kennaway2002-02-041-0/+1
| | | | | | | are not yet warning-clean. Tested on i386 and alpha. Notes: svn path=/head/; revision=90164
* o Eliminate __PWarner Losh2002-02-031-3/+3
| | | | | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register Notes: svn path=/head/; revision=90148
* by by -> byKris Kennaway2001-07-231-1/+1
| | | | | | | | Obtained from: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80201
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79529
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-4/+5
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Don't use MANDEPEND and MANSRC.Ruslan Ermilov2001-03-261-0/+1
| | | | Notes: svn path=/head/; revision=74804
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-3/+2
| | | | Notes: svn path=/head/; revision=74529
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-2/+3
| | | | Notes: svn path=/head/; revision=71895
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015