These have been supplanted by the MI signal information codes in
<sys/signal.h> since 7.0. The FPE_*_TRAP ones were deprecated even
earlier in 1999.
Details
Details
- Reviewers
bz kib gnn - Commits
- rS331650: Remove very old and unused signal information codes.
- waiting on a tinderbox to finish, but I'm quite certain these aren't used anywhere
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/x86/include/signal.h | ||
---|---|---|
48 ↗ | (On Diff #40120) | I can request an exp-run to check for this. |
sys/x86/include/trap.h | ||
88 ↗ | (On Diff #40120) | This is only for legacy binaries though (< 7.0), so I think we can just hide that specific use case under #ifdef _KERNEL. We could also make the tunable depend on #ifdef COMPAT_FREEBSD6? (And just always use SIGSEGV on kernels without COMPAT_FREEBSD6?) Alternatively, the compat shim could just use 'T_PAGEFLT' directly for ucode (this matches what the code did prior to the siginfo commit). |
Comment Actions
- Use T_PAGEFLT directly for the legacy page fault signal code.
- Use T_PAGEFLT on i386 as well.
- Add <machine/trap.h> #include's.