Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/22 patches 4 repliesIn review
- v1 posting 1/22 patches 6 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstackinclude/ kernel/ | +12 | 0 replies | |
| 2/2 | arm64: compat: Provide definition for COMPAT_SIGMINSTKSZarch/ | +1 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Dave Martin | Steve McIntyre |
|---|---|---|
| Series | T-b T-b | |
| 1/2 | ||
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RESEND PATCH 0/2] Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks
Hi all,
This is a resend of:
http://lists.infradead.org/pipermail/linux-arm-kernel/2018-July/593559.html
now based on 4.19-rc2.
The Debian folks have observed a failure in the 32-bit arm glibc testsuite when running under a 64-bit kernel. They tracked this down to sigaltstack(2) enforcing the alternative signal stack to be at least SIGMINSTKSZ bytes, which is higher for native arm64 tasks than compat 32-bit tasks.
These patches resolve the issue by allowing an architecture to define COMPAT_SIGMINSTKSZ for compat tasks, which is then used by the sigaltstack checking code.
Feedback welcome,
Will
--->8
Will Deacon (2):
signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack
arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ
arch/arm64/include/asm/compat.h | 1 + include/linux/compat.h | 3 +++ kernel/signal.c | 14 +++++++++----- 3 files changed, 13 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.4