> Another possibility is to avoid it in the first place by not allowing C++ function pointers that are not marked noexcept to be passed to C functions.
That said, my personal preference is to use C instead of C++, which avoids the issues of exceptions breaking kernel expectations entirely.
> Another possibility is to avoid it in the first place by not allowing C++ function pointers that are not marked noexcept to be passed to C functions.