Date: Thu, 19 Sep 2013 19:43:39 +0000 (UTC) From: Joel Dahl <joel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255711 - in head: lib/libc/sys usr.bin/protect Message-ID: <201309191943.r8JJhdO4083154@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: joel (doc committer) Date: Thu Sep 19 19:43:38 2013 New Revision: 255711 URL: http://svnweb.freebsd.org/changeset/base/255711 Log: Minor mdoc improvements. Approved by: re (blanket) Modified: head/lib/libc/sys/procctl.2 head/usr.bin/protect/protect.1 Modified: head/lib/libc/sys/procctl.2 ============================================================================== --- head/lib/libc/sys/procctl.2 Thu Sep 19 19:43:29 2013 (r255710) +++ head/lib/libc/sys/procctl.2 Thu Sep 19 19:43:38 2013 (r255711) @@ -54,7 +54,7 @@ to control as many of the selected possi An error is only returned if no selected processes successfully complete the request. The following identifier types are supported: -.Bl -tag -width Dv P_PGID +.Bl -tag -width "Dv P_PGID" .It Dv P_PID Control the process with the process ID .Fa id . @@ -67,7 +67,7 @@ The control request to perform is specif .Fa cmd argument. The following commands are supported: -.Bl -tag -width Dv PROC_SPROTECT +.Bl -tag -width "Dv PROC_SPROTECT" .It Dv PROC_SPROTECT Set process protection state. This is used to mark a process as protected from being killed if the system @@ -77,7 +77,7 @@ The parameter must point to an integer containing an operation and zero or more optional flags. The following operations are supported: -.Bl -tag -width Dv PPROT_CLEAR +.Bl -tag -width "Dv PPROT_CLEAR" .It Dv PPROT_SET Mark the selected processes as protected. .It Dv PPROT_CLEAR @@ -85,7 +85,7 @@ Clear the protected state of selected pr .El .Pp The following optional flags are supported: -.Bl -tag -width Dv PPROT_DESCEND +.Bl -tag -width "Dv PPROT_DESCE" .It Dv PPROT_DESCEND Apply the requested operation to all child processes of each selected process in addition to each selected process. Modified: head/usr.bin/protect/protect.1 ============================================================================== --- head/usr.bin/protect/protect.1 Thu Sep 19 19:43:29 2013 (r255710) +++ head/usr.bin/protect/protect.1 Thu Sep 19 19:43:38 2013 (r255711) @@ -46,7 +46,7 @@ The kernel does not kill protected proce 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 th 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309191943.r8JJhdO4083154>