Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: Bruce J. Beare <[email protected]> Cc: Arnd Bergmann <[email protected]> Link: http://lkml.kernel.org/r/CAMe9rOqF6Kh6-NK7oP0Fpzkd4SBAWU%[email protected] Signed-off-by: H. Peter Anvin <[email protected]>
- Loading branch information