aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorChris Metcalf <[email protected]>2015-03-16 15:04:05 -0400
committerChris Metcalf <[email protected]>2015-04-17 12:56:42 -0400
commit89067c2daf3d9e0ce51c768589e79e845e6fda42 (patch)
tree52b2205fecc3f751b85c4d232330adc9367fd50c /lib/memory-notifier-error-inject.c
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
tile: use si_int instead of si_ptr for compat_siginfo
To be compatible with the generic get_compat_sigevent(), the copy_siginfo_to_user32() and thus copy_siginfo_from_user32() have to use si_int instead of si_ptr. Using si_ptr means that for the case of ILP32 compat code running in big-endian mode, we would end up copying the high 32 bits of the pointer value into si_int instead of the desired low 32 bits. Signed-off-by: Chris Metcalf <[email protected]> Cc: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions