HardenedBSD/bin
Konstantin Belousov 6ddcc23386 Add facility to stop all userspace processes. The supposed use of the
feature is to quisce the system before suspend.

Stop is implemented by reusing the thread_single(9) with the special
mode SINGLE_ALLPROC.  SINGLE_ALLPROC differs from the existing
single-threading modes by allowing (requiring) caller to operate on
other process.  Interruptible sleeps for !TDF_SBDRY threads are
suspended like SIGSTOP does it, instead of aborting the sleep, like
SINGLE_NO_EXIT, to avoid spurious EINTRs on resume.

Provide debugging sysctl debug.stop_all_proc, which causes total stop
and suspends syncer, while waiting for variable reset for resume.  It
is used for debugging; should be removed after the real use of the
interface is added.

In collaboration with:	pho
Discussed with:	avg
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2014-12-13 16:18:29 +00:00
..
cat
chflags
chio
chmod
cp
csh Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
date
dd bin/dd: revert 273734, as it fails on 32bit platforms 2014-10-27 17:39:37 +00:00
df Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
domainname
echo
ed Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
expr
freebsd-version Fix dependency on newvers.sh 2014-12-10 03:12:22 +00:00
getfacl
hostname
kenv
kill
ln
ls Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
mkdir
mv
pax
pkill Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
ps Add facility to stop all userspace processes. The supposed use of the 2014-12-13 16:18:29 +00:00
pwait
pwd
rcp
realpath
rm
rmail Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
rmdir
setfacl
sh sh: Remove special case for '=' in set -x; always quote it in outqstr(). 2014-11-30 20:12:47 +00:00
sleep Integrate bin/sleep/tests from NetBSD into atf/kyua 2014-10-09 01:39:07 +00:00
stty
sync
test
tests
uuidgen
Makefile
Makefile.inc