| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55211
|
| |
|
|
|
|
|
|
|
|
|
| |
* On startup, insert all valid PIDs into a tree.
* In our main loop, whenever a process terminates, remove its PID
from the tree.
* On exit, if the -p flag was specified, print the remaining PIDs.
MFC after: 3 days
Reviewed by: bcr, markj
Differential Revision: https://reviews.freebsd.org/D53293
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
The timeout parser would check the first character after the number and
ignore any subsequent ones.
While here, switch to bool for booleans and fix some style nits.
MFC after: 1 week
Reviewed by: 0mp, markj
Differential Revision: https://reviews.freebsd.org/D52612
|
| |
|
|
|
|
|
|
| |
A number of tests rely on timeout(1) to kill a pwait instance, and with
--preserve-status the corresponding exit status is propagated to
atf_check. Update the checks to reflect this.
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
|
| |
|
|
|
| |
Two examples showed '$?' alone on a line, which should be '$ echo $?'.
The third example got it right. Fix the first two.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
|
| |
|
|
| |
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| |
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| |
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| | |
|
| |
|
|
| |
Reported by: kevans
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following situation can trigger the deadlock:
1) Long time ago a_service was started through rc.d
2) We want to restart a_service and issue service a_service restart
3) rc.subr reads current process PID (via file or process),
sends TERM signal and runs pwait with PID harvested
4) a_service process dies very quickly so it's PID becomes available.
It is possible that while original process was running,
PID counter overflowed and pwait got assigned a_service's PID.
This patch ignores pid(s) to wait that are equal to pwait PID.
Reported by: Dan McGregor, Boris Lytochkin
Submitted by: Boris Lytochkin <lytboris at gmail.com>
Reviewed By: 0mp
MFC after: 2 weeks
PR: 218598
Differential Revision: https://reviews.freebsd.org/D28240
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add small EXAMPLES section to the man page showing the different
flags and exit codes.
* Complete description for -v flag.
Approved by: manpages (bcr@)
Notes:
svn path=/head/; revision=366444
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=357420
|
| |
|
|
|
|
|
| |
Pointed out by: jilles
Notes:
svn path=/head/; revision=357362
|
| |
|
|
|
|
|
|
|
| |
it is safer and allowed for some time now by style(9).
Sponsored by: Fudo Security
Notes:
svn path=/head/; revision=357143
|
| |
|
|
|
|
|
| |
Sponsored by: Fudo Security
Notes:
svn path=/head/; revision=357142
|
| |
|
|
|
|
|
|
|
| |
has terminated.
Sponsored by: Fudo Security
Notes:
svn path=/head/; revision=357141
|
| |
|
|
|
|
|
| |
Sponsored by: Fudo Security
Notes:
svn path=/head/; revision=357140
|
| |
|
|
|
|
|
| |
Sponsored by: Fudo Security
Notes:
svn path=/head/; revision=357139
|
| |
|
|
|
|
|
|
|
| |
- Turn fprintf()+exit() into errx().
Sponsored by: Fudo Security
Notes:
svn path=/head/; revision=357138
|
| |
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
| |
|
|
| |
Notes:
svn path=/projects/make-check-sandbox/; revision=321911
|
| |
|
|
|
|
|
|
|
| |
Requested by: ngie
MFC after: 2 weeks
X-MFC-With: r314886
Notes:
svn path=/head/; revision=314944
|
| |
|
|
|
|
|
|
|
| |
Reported by: ngie
MFC after: 2 weeks
X-MFC-With: r314886
Notes:
svn path=/head/; revision=314943
|
| |
|
|
|
|
|
|
|
|
|
| |
The exit status will be 124, as the timeout(1) utility uses.
Reviewed by: jilles
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D9697
Notes:
svn path=/head/; revision=314886
|
| |
|
|
|
|
|
|
|
|
|
| |
Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate
package, which requires pre-install/post-install scripts, to be
added later.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-pkg/; revision=295439
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=266219
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=265802
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| | |\
| |/
|/|
| | |
Notes:
svn path=/projects/bmake/; revision=246555
|
| | |
| |
| |
| |
| |
| |
| | |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
explicitly telling the compiler that we are on the exit route.
X-MFC: together with r245494
Notes:
svn path=/head/; revision=245506
|
| |/
|
|
|
|
|
|
|
|
| |
static analyzer
Approved by: cperciva
MFC after: 3 days
Notes:
svn path=/head/; revision=245494
|
| |
|
|
|
|
|
|
|
|
| |
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
Notes:
svn path=/head/; revision=233648
|
| |
|
|
| |
Notes:
svn path=/head/; revision=233457
|
| |
|
|
|
|
|
|
|
|
|
| |
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.
Reviewed by: ru
Approved by: philip, ed (mentors)
Notes:
svn path=/head/; revision=206622
|
|
|
This is similar to the Solaris utility of the same name.
Some use cases:
* rc.subr's wait_for_pids
* interactive use, e.g. to shut down the computer when some task is done
even if the task is already running
Discussed on: hackers@
Notes:
svn path=/head/; revision=199458
|