aboutsummaryrefslogtreecommitdiffstats
path: root/libio/bits/stdio2.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-10-18 00:43:23 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-10-18 00:50:41 +0200
commit1d20f33ff4fb634310f27493b7b87d0b20f4a0b0 (patch)
tree9155e9f1f1417168e8783c4fa97120ac181fe501 /libio/bits/stdio2.h
parentx86-64: Add test-vector-abi.h/test-vector-abi-sincos.h (diff)
downloadglibc-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 'libio/bits/stdio2.h')
0 files changed, 0 insertions, 0 deletions