Page MenuHomeFreeBSD

ktrace: Record syscall violations with KTR_CAPFAIL
ClosedPublic

Authored by jfree on Jun 20 2023, 10:05 PM.
Referenced Files
Unknown Object (File)
Sun, Jun 7, 1:48 PM
Unknown Object (File)
Sat, Jun 6, 11:49 PM
Unknown Object (File)
May 15 2026, 1:07 PM
Unknown Object (File)
May 15 2026, 9:37 AM
Unknown Object (File)
May 14 2026, 5:17 PM
Unknown Object (File)
May 14 2026, 8:29 AM
Unknown Object (File)
May 13 2026, 6:23 PM
Unknown Object (File)
May 12 2026, 12:21 PM
Subscribers

Details

Summary
Report syscalls that are not allowed in capability mode with
CAPFAIL_SYSCALL.

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