aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-04-14 22:36:56 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-17 21:00:02 +0200
commite411e31b7b74f4b2326b65544994c89d84d2cdd8 (patch)
treea930610a47f85447e45be356deb2151c2b96392a /hurd
parent060cadaab64083b415054508fb6f221be74d95d2 (diff)
downloadglibc-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