Page MenuHomeFreeBSD

ktrace: Remove CAPFAIL from default trace points
ClosedPublic

Authored by jfree on Sat, Apr 20, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 12:21 AM
Unknown Object (File)
Mon, Apr 29, 10:29 AM
Unknown Object (File)
Sun, Apr 28, 9:40 AM
Unknown Object (File)
Fri, Apr 26, 3:52 PM
Unknown Object (File)
Fri, Apr 26, 3:52 PM
Unknown Object (File)
Fri, Apr 26, 3:52 PM
Unknown Object (File)
Fri, Apr 26, 10:33 AM
Unknown Object (File)
Wed, Apr 24, 12:43 AM
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.Sat, Apr 20, 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.Sun, Apr 21, 3:06 PM