aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2022-05-30 17:03:49 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2022-06-17 19:35:40 +0000
commitd37548e01059f7cff3b88bebe894b7519b7fd1e6 (patch)
treead4ee5579b9b0c43df33e1082934e7a82bb9159b /sys/x86
parent7c61d8e49410041482ae15bf92c3a9c1cf2ca763 (diff)
linux(4): Properly restore the thread signal mask after signal delivery on i386
Replace sigframe sf_extramask by native sigset_t and use it to store/restore the thread signal mask without conversion to/from Linux signal mask. Pointy hat to: dchagin MFC after: 2 weeks (cherry picked from commit 4a6c2d075da0c5105269e6edcbe57bf6aaa0a0ae)
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/linux/linux_x86_sigframe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/linux/linux_x86_sigframe.h b/sys/x86/linux/linux_x86_sigframe.h
index 56ff346ea5b7..75d9a104a345 100644
--- a/sys/x86/linux/linux_x86_sigframe.h
+++ b/sys/x86/linux/linux_x86_sigframe.h
@@ -116,7 +116,7 @@ struct l_sigframe {
l_int sf_sig;
struct l_sigcontext sf_sc;
struct l_fpstate sf_fpstate;
- l_uint sf_extramask[1];
+ sigset_t sf_sigmask;
};
struct l_rt_sigframe {