freebsd-src/usr.bin/ktrace
Jake Freeland f239db4800 ktrace: Remove CAPFAIL from default trace points
The CAPFAIL tracepoint was recently extended to report ECAPMODE
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.

Previously, CAPFAIL only produced output for processes using Capsicum(4)
capabilties. Thus, most ktrace users never received log output from the
trace point. With the recent changes, this is no longer the case.

Having this trace point enabled by default will produce output for all
processes that use syscalls that are not permitted in capability mode.
This may lead to confusion for users that are not familiar with the
feature. Remove KTRFAC_CAPFAIL from ktrace's default points to avoid
this.

Approved by:	markj (mentor)
Reviewed by:	markj
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D44887
2024-04-23 19:26:14 -05:00
..
ktrace.1 ktrace: Remove CAPFAIL from default trace points 2024-04-23 19:26:14 -05:00
ktrace.c Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ktrace.h ktrace: Remove CAPFAIL from default trace points 2024-04-23 19:26:14 -05:00
Makefile usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
subr.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00