diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-04-23 16:29:18 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-04-23 16:29:18 -0700 |
commit | d643bdca8ab9cd333da1b68267d0e47328e56f56 (patch) | |
tree | 59fa93e4f8e51fcbd862aeeef25d026d19c18459 /arch/x86/include/asm/siginfo.h | |
parent | 98e5272fe70d62e193f70acf9951667beab27aba (diff) |
asm-generic: Allow overriding clock_t and add attributes to siginfo_t
For the particular issue of x32, which shares code with i386 in the
handling of compat_siginfo_t, the use of a 64-bit clock_t bumps the
sigchld structure out of alignment, which triggers a messy cascade of
padding.
This was already handled on the kernel compat side, but it needs
handling on the user space side, which uses the generic header. To
make that possible:
1. Allow __kernel_clock_t to be overridden in struct siginfo;
2. Allow there to be attributes added to struct siginfo.
Reported-by: H.J. Lu <hjl.rools@gmail.com>
Cc: Bruce J. Beare <bruce.j.beare@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: http://lkml.kernel.org/r/CAMe9rOqF6Kh6-NK7oP0Fpzkd4SBAWU%2BG53hwBbSD4iA2UzyxuA@mail.gmail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/siginfo.h')
0 files changed, 0 insertions, 0 deletions