Skip to content

x86: compat_siginfo fixes and build-time tests

Dave Hansen lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

* lots of style fixups to the MPX selftests. No
Functional changes.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86, signals: add missing signal_compat code for x86 featuresarch/x86/include/asm/compat.h arch/x86/kernel/signal_compat.c+26 -00 replies
2/3x86, siginfo: add build-time checks in siginfo compat codearch/x86/kernel/signal_compat.c+93 -00 replies
3/3x86, mpx, selftests: add MPX self testtools/testing/selftests/x86/Makefile tools/testing/selftests/x86/mpx-debug.h tools/testing/selftests/x86/mpx-dig.c +3 more+2230 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/3] [v2] x86: compat_siginfo fixes and build-time tests

Changes from v1:
* lots of style fixups to the MPX selftests. No
Functional changes.

---

We have not been updating the x86 compat_siginfo when updating the generic one. These patches fix the issue, and then add a bunch of build-time checks to try to avoid this happening again in the future (suggested by Ingo).