Files
linux/arch/um
Tiwei Bie f68b2d5a90 um: Preserve errno within signal handler
We rely on errno to determine whether a syscall has failed, so we
need to ensure that accessing errno is async-signal-safe. Currently,
we preserve the errno in sig_handler_common(), but it doesn't cover
every possible case. Let's do it in hard_handler() instead, which
is the signal handler we actually register.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20260106001228.1531146-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-01-13 19:39:09 +01:00
..
2023-04-20 23:06:38 +02:00
2025-11-25 10:18:37 +01:00