Page MenuHomeFreeBSD

ktrace: Remove CAPFAIL from default trace points
ClosedPublic

Authored by jfree on Apr 20 2024, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 3 2024, 8:40 AM
Unknown Object (File)
Oct 1 2024, 11:24 AM
Unknown Object (File)
Sep 28 2024, 2:07 AM
Unknown Object (File)
Sep 28 2024, 12:07 AM
Unknown Object (File)
Sep 21 2024, 2:49 AM
Unknown Object (File)
Aug 25 2024, 6:58 PM
Unknown Object (File)
Aug 21 2024, 3:30 PM
Unknown Object (File)
Jun 26 2024, 11:54 PM
Subscribers

Details

Summary

The CAPFAIL tracepoint was recently modified to report capability
violations for processes that do not enter capability mode. This
allows developers that are interested in Capsicumizing their programs
to determine where violations are being raised.

Having this tracepoint enabled by default may lead to confusion for
users that are not familiar with the feature. Remove KTRFAC_CAPFAIL from
ktrace's default points to avoid this.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jfree requested review of this revision.Apr 20 2024, 5:45 PM

I would point out in the commit message that, before your commits, CAPFAIL was basically never used, so users are very unlikely to notice the change in defaults.

This revision is now accepted and ready to land.Apr 21 2024, 3:06 PM