diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-04-14 22:36:56 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-17 21:00:02 +0200 |
commit | e411e31b7b74f4b2326b65544994c89d84d2cdd8 (patch) | |
tree | a930610a47f85447e45be356deb2151c2b96392a /hurd | |
parent | 060cadaab64083b415054508fb6f221be74d95d2 (diff) | |
download | glibc-e411e31b7b74f4b2326b65544994c89d84d2cdd8.zip glibc-e411e31b7b74f4b2326b65544994c89d84d2cdd8.tar.gz glibc-e411e31b7b74f4b2326b65544994c89d84d2cdd8.tar.bz2 |
hurd: Fix restoring reply port in sigreturn
We must not use the user's reply port (scp->sc_reply_port) for any of
our own RPCs, otherwise various things break. So, use MACH_PORT_DEAD as
a reply port when destroying our reply port, and make sure to do this
after _hurd_sigstate_unlock (), which may do a gsync_wake () RPC.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Diffstat (limited to 'hurd')
0 files changed, 0 insertions, 0 deletions