diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-10-18 00:43:23 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-10-18 00:50:41 +0200 |
| commit | 1d20f33ff4fb634310f27493b7b87d0b20f4a0b0 (patch) | |
| tree | 9155e9f1f1417168e8783c4fa97120ac181fe501 /stdlib/bits/stdlib.h | |
| parent | 9d3c9a046a2d7cfc9cad18675612e5916c65d7d7 (diff) | |
| download | glibc-1d20f33ff4fb634310f27493b7b87d0b20f4a0b0.tar.xz glibc-1d20f33ff4fb634310f27493b7b87d0b20f4a0b0.zip | |
hurd: Fix intr-msg parameter/stack kludge
INTR_MSG_TRAP was tinkering with esp to make it point to
_hurd_intr_rpc_mach_msg's parameters, and notably use (&msg)[-1] which is
meaningless in C.
Instead, just push the parameters on the stack, which also avoids leaving
local variables of _hurd_intr_rpc_mach_msg below esp. We now also
properly express that OPTION and TIMEOUT may be updated during the trap
call.
Diffstat (limited to 'stdlib/bits/stdlib.h')
0 files changed, 0 insertions, 0 deletions
