Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/proccontrol/proccontrol.1
Show All 22 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd June 28, 2019 | .Dd October 4, 2019 | ||||
.Dt PROCCONTROL 1 | .Dt PROCCONTROL 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm proccontrol | .Nm proccontrol | ||||
.Nd Control some process execution aspects | .Nd Control some process execution aspects | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Fl m Ar mode | .Fl m Ar mode | ||||
Show All 11 Lines | |||||
with the execution parameter set for it. | with the execution parameter set for it. | ||||
.Pp | .Pp | ||||
Which execution parameter is changed, selected by the mandatory | Which execution parameter is changed, selected by the mandatory | ||||
parameter | parameter | ||||
.Ar mode . | .Ar mode . | ||||
Possible values for | Possible values for | ||||
.Ar mode | .Ar mode | ||||
are: | are: | ||||
.Bl -tag -width trapcap | .Bl -tag -width logsigexit | ||||
.It Ar aslr | .It Ar aslr | ||||
Control the Address Space Layout Randomization. | Control the Address Space Layout Randomization. | ||||
Only applicable to the new process spawned. | Only applicable to the new process spawned. | ||||
.It Ar trace | .It Ar trace | ||||
Control the permission for debuggers to attach. | Control the permission for debuggers to attach. | ||||
Note that process is only allowed to enable tracing for itself, | Note that process is only allowed to enable tracing for itself, | ||||
not for any other process. | not for any other process. | ||||
.It Ar trapcap | .It Ar trapcap | ||||
Controls the signalling of capability mode access violations. | Controls the signalling of capability mode access violations. | ||||
.It Ar protmax | .It Ar protmax | ||||
Controls the implicit PROT_MAX application for | Controls the implicit PROT_MAX application for | ||||
.Xr mmap 2 . | .Xr mmap 2 . | ||||
.It Ar kpti | .It Ar kpti | ||||
Controls the KPTI enable, AMD64 only. | Controls the KPTI enable, AMD64 only. | ||||
.It Ar logsigexit | |||||
Controls the logging of exits due to a signal. | |||||
jilles: If you change the description in procctl(2) then please change it here as well. | |||||
.El | .El | ||||
.Pp | .Pp | ||||
The | The | ||||
.Ar control | .Ar control | ||||
specifies if the selected | specifies if the selected | ||||
.Ar mode | .Ar mode | ||||
should be enabled or disabled. | should be enabled or disabled. | ||||
Possible values are | Possible values are | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
If you change the description in procctl(2) then please change it here as well.