summaryrefslogtreecommitdiffstats
path: root/usr.bin/timeout
Commit message (Collapse)AuthorAgeFilesLines
* timeout(1): fix the acceptable range values for parse_signal()bapt2015-10-241-1/+1
| | | | | | | | | Before both 0 and sys_nsig would be successfully returned by parse_signal() although being invalid signal numbers. PR: Alexandre Perrin <alex@kaworu.ch> MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D3990
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | 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
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-19/+44
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-195-8/+255
| |\
| * | Merge head from 7/28sjg2014-08-191-0/+19
| | |
* | | timeout: handle zombie grandchildrenemaste2015-02-151-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timeout previously collected only one child status with wait(2). If this was one of the grandchildren timeout would return to sigsuspend and wait until the timeout expired. Instead, loop for all children. PR: kern/197608 Reviewed by: bapt, kib MFC after: 1 week Sponsored by: The FreeBSD Foundation
* | | Use the new process reaper functionalitybapt2015-01-061-13/+32
| |/ |/| | | | | | | | | When not using the --foreground option timeout(1) is supported to signal all command children hierarchy, timeout(1) now acquire the reaper to ensure this really happens and no children process can escaper from timeout(1) control
* | Add regression tests for the timeout(1) utilitybapt2014-10-283-0/+228
| | | | | | | | | | They are modeled over the regression tests that are provided for the GNU coreutils timeout(1) utility
* | Improve compatibility with GNU timeoutbapt2014-10-282-8/+27
|/ | | | | | | | | | According to the coreutils regression testsuite for timeout(1) It is expect to exit with a status being: 125 in case an invalid duration or signal is passed in arguments 126 in case an invalid command is passed in arguments 127 in case the command passed in arguments does not exists. While here document this behaviour in the man page
* Improve timeout(1) man pagebapt2014-07-181-9/+53
| | | | | | | | | | Document the exit values and the duration format Improve wording Pet mandoc -Tlint Sort SEE ALSO Phabric: https://phabric.freebsd.org/D432 Reviewed by: wblock
* Sort properly the headersbapt2014-07-161-4/+5
| | | | | | While here space/tabs cleanup Reviewed by: kib
* White space fixesbapt2014-07-161-2/+2
|
* Sort headersbapt2014-07-161-12/+8
| | | | | | Constify long options Remove useless call to sigemptyset properly check errno when waiting for a process status when a SIGCHLD is received
* Fix typobapt2014-07-161-1/+1
|
* Style(9) fixbapt2014-07-161-0/+1
|
* Fix build with gccbapt2014-07-161-5/+4
|
* Fix indentationbapt2014-07-161-1/+1
|
* New BSDL timeout(1) utility compatible with GNU timeoutbapt2014-07-163-0/+411
it fully passes the GNU timeout regression tests, it is written in a mostly portable way (only signal parsing is relying on non portable structures) Phabric: D377
OpenPOWER on IntegriCloud