Page MenuHomeFreeBSD

ktrace: Record socket violations with KTR_CAPFAIL
ClosedPublic

Authored by jfree on Jun 20 2023, 10:09 PM.
Referenced Files
Unknown Object (File)
Thu, Aug 14, 10:13 PM
Unknown Object (File)
Jul 28 2025, 10:18 PM
Unknown Object (File)
Jul 28 2025, 4:41 PM
Unknown Object (File)
Jul 27 2025, 7:50 PM
Unknown Object (File)
Jul 27 2025, 2:02 PM
Unknown Object (File)
Jul 12 2025, 9:54 PM
Unknown Object (File)
Jul 8 2025, 1:44 AM
Unknown Object (File)
Jul 5 2025, 11:59 PM
Subscribers

Details

Summary
Report restricted access to socket addresses and protocols while
Capsicum violation tracing with CAPFAIL_ADDR and CAPFAIL_PROTO.

Programs that are not yet Capsicumized may be traced to discover
potential capability failures. With `ktrace -t p` and kdump, you
are given a list of syscalls as a starting point for program
Capsicumization.

Diff Detail

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