diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-12-12 07:37:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-12-12 07:37:22 +0000 |
commit | e844bfa2c53c6f4ad0c2d3eb7c473792a367387c (patch) | |
tree | cc6908934a7cfbe223a13ea717dba9ef16fd50bc /include | |
parent | 568684ccff4377f0c3ebfeb53d963c498211bb0f (diff) |
The sigtramp was calling sigreturn(2), and upon failure exit(2), which
doesn't make sense anymore. It is better to just issue an illegal
instruction.
ok kettenis, with some misgivings about inconsistant approaches between
architectures.
In the future we could change sigreturn(2) to never return an exit code,
but always just terminate the process. We stopped this system call
from being callable ages ago with msyscall(2), and there is no stub for
it in libc.. maybe that's the next step to take?
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions