Handle T_CP traps from userland by generating SIGILL, with
authorguenther <guenther@openbsd.org>
Sun, 16 Apr 2023 06:38:50 +0000 (06:38 +0000)
committerguenther <guenther@openbsd.org>
Sun, 16 Apr 2023 06:38:50 +0000 (06:38 +0000)
commitf5edbdc5910a35966903868133ff9b8c9e7e8353
tree85b8935db9b2002ad8112cd8e52ac4b884bbc28f
parent8834829c50bf3705662bf698dcc0c42d05a02bc8
Handle T_CP traps from userland by generating SIGILL, with
code ILL_ILLOPC or ILL_BADSTK depending on the error from hardware

lack of handling noted by deraadt@
ok jsg@
sys/arch/amd64/amd64/trap.c