freebsd-src/usr.bin/kdump
Jake Freeland 9bec841312 ktrace: Record detailed ECAPMODE violations
When a Capsicum violation occurs in the kernel, ktrace will now record
detailed information pertaining to the violation.

For example:
- When a namei lookup violation occurs, ktrace will record the path.
- When a signal violation occurs, ktrace will record the signal number.
- When a sendto(2) violation occurs, ktrace will record the recipient
  sockaddr.

For all violations, the syscall and ABI is recorded.

kdump is also modified to display this new information to the user.

Reviewed by:	oshogbo, markj
Approved by:	markj (mentor)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D40676
2024-04-07 18:52:51 -05:00
..
kdump.1 usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
kdump.c ktrace: Record detailed ECAPMODE violations 2024-04-07 18:52:51 -05:00
kdump.h kdump: Add a facility to print numbers in decimal format always 2023-05-26 19:35:08 +03:00
linux.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07: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
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00