Add tests for the new extended errno feature, using a custom kernel
module to report errors to userland.
Sponsored by: ConnectWise
MFC after: 2 weeks
Differential D51174
uexterr_gettext: add tests asomers on Jul 5 2025, 9:36 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event Timeline
Comment Actions Loading module which is not configured against the same kernel config as current kernel is dangerous. It does not guarantee that the KBI of module and kernel match, and then all bets are off. I suggest you to utilize existing syscalls instead: we already have almost whole top-level mmap(2) converted to exterr. Then, I guarantee that exterrctl(2) would never set the ext error itself. So you could
Comment Actions
Comment Actions I have no idea why Arcanist decided to include all of those extra revisions when I updated the diff. I did not rebase. Only the most recent three revisions are intended to be part of the review. I'll abandon and reopen. |