aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/protect
diff options
context:
space:
mode:
authorJoel Dahl <joel@FreeBSD.org>2013-09-19 19:43:38 +0000
committerJoel Dahl <joel@FreeBSD.org>2013-09-19 19:43:38 +0000
commit828378a6d333ac1bc2ecdcef64d36b7720bd83fc (patch)
tree50ce98726490d7cc52799cbbf7b279a243b19183 /usr.bin/protect
parenta566e8e3c5b6e5574dbb29a86a4d418162b4af52 (diff)
downloadsrc-828378a6d333ac1bc2ecdcef64d36b7720bd83fc.tar.gz
src-828378a6d333ac1bc2ecdcef64d36b7720bd83fc.zip
Notes
Diffstat (limited to 'usr.bin/protect')
-rw-r--r--usr.bin/protect/protect.14
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/protect/protect.1 b/usr.bin/protect/protect.1
index 5a494eef8ec4..6ba5d0e9d600 100644
--- a/usr.bin/protect/protect.1
+++ b/usr.bin/protect/protect.1
@@ -46,7 +46,7 @@ The kernel does not kill protected processes when swap space is exhausted.
Note that this protected state is not inherited by child processes by default.
.Pp
The options are:
-.Bl -tag -width indent
+.Bl -tag -width XXXXXXXXXX
.It Fl c
Remove protection from the specified processes.
.It Fl d
@@ -74,9 +74,11 @@ flags may be specified when adjusting the state of existing processes.
Mark the Xorg server as protected:
.Pp
.Dl "pgrep Xorg | xargs protect -p"
+.Pp
Protect all ssh sessions and their child processes:
.Pp
.Dl "pgrep sshd | xargs protect -dip"
+.Pp
Remove protection from all current and future processes:
.Pp
.Dl "protect -cdi -p 1"