linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] siginfo fix for v4.16-rc5
@ 2018-03-06  7:11 Eric W. Biederman
  2018-03-31 10:56 ` Eugene Syromiatnikov
  0 siblings, 1 reply; 7+ messages in thread
From: Eric W. Biederman @ 2018-03-06  7:11 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, kernel test robot

Linus,

Please pull the siginfo-linus branch from the git tree:

   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-linus

   HEAD: f6a015498dcaee72f80283cb7873d88deb07129c signal/x86: Include the field offsets in the build time checks

The kbuild test robot found that I accidentally moved si_pkey when I was
cleaning up siginfo_t.  A short followed by an int with the int having 8
byte alignment.  Sheesh siginfo_t is a weird structure.

I have now corrected it and added build time checks that with a little
luck will catch any similar future mistakes.  The build time checks were
sufficient for me to verify the bug and to verify my fix.  So they are
at least useful this once.

Eric W. Biederman (2):
      signal: Correct the offset of si_pkey in struct siginfo
      signal/x86: Include the field offsets in the build time checks

 arch/x86/kernel/signal_compat.c    | 65 ++++++++++++++++++++++++++++++++++++++
 include/linux/compat.h             |  4 +--
 include/uapi/asm-generic/siginfo.h |  4 +--
 3 files changed, 69 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-03 17:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06  7:11 [GIT PULL] siginfo fix for v4.16-rc5 Eric W. Biederman
2018-03-31 10:56 ` Eugene Syromiatnikov
2018-04-02 20:17   ` Eric W. Biederman
2018-04-03  7:30     ` Geert Uytterhoeven
2018-04-03 14:27       ` Eric W. Biederman
2018-04-03 15:24         ` Josh Juran
2018-04-03 17:26           ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).