HomeFreeBSD

Add security.bsd.allow_ptrace sysctl

Description

Add security.bsd.allow_ptrace sysctl

that disables any access to ptrace(2) for all processes.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D33986

Details

Provenance
kibAuthored on Jan 21 2022, 9:52 PM
Reviewer
emaste
Differential Revision
D33986: p_candebug(), p_cansee(): always allow for curproc
Parents
rG55a0aa21628a: p_candebug(), p_cansee(): always allow for curproc
Branches
Unknown
Tags
Unknown