freebsd-dev/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 Close the newly-created FD if the pathname is too long. 2014-01-11 15:01:30 +00:00
chflags Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
chio use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
chmod
cp
csh Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
date Port date/bin/tests to ATF 2014-08-13 04:43:29 +00:00
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 Point users towards nisdomainname and rc.conf. 2013-04-22 17:55:12 +00:00
echo
ed Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
expr Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
freebsd-version Fix dependency on newvers.sh 2014-12-10 03:12:22 +00:00
getfacl
hostname Mark usage() __dead2 2013-04-28 22:52:43 +00:00
kenv Constify parameters, no functional or binary change. 2013-05-15 18:38:28 +00:00
kill sh: Allow kill %job on jobs started without job control. 2014-03-15 14:58:48 +00:00
ln Add 'static' where able. 2013-06-02 17:55:00 +00:00
ls Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
mkdir Add missing static qualifiers 2013-04-27 21:59:43 +00:00
mv Check if fchflags() is needed by fstat'ing before and check 2014-07-01 22:46:39 +00:00
pax Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
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 rm -rf can fail sometimes with an error from fts_read. Make it honor 2014-07-07 23:21:20 +00:00
rmail Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
rmdir
setfacl use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
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 Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
tests Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
uuidgen
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00