[Bug 288284] dtrace: could not enable tracing: Permission denied when trying to permit destructive actions with -w

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Jul 2025 16:23:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288284

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Do you by chance have security.bsd.allow_destructive_dtrace set to 1?

This is configured by a tunable that you can set via the "hardening" menu in
bsdinstall.  To me this tunable is rather strange, dtrace is already limited to
the root user on FreeBSD (unlike illumos/Solaris).  It would be better to
integrate dtrace with securelevel, but anyway..

-- 
You are receiving this mail because:
You are the assignee for the bug.