diff options
author | Carlos O'Donell Jr <carlos@systemhalted.org> | 2007-02-16 10:54:10 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-02-17 01:22:00 -0500 |
commit | f6744bdd7346dcdf94b9a7ac6fb820693b2724cd (patch) | |
tree | 4b69d15e8784e50a024287624426ed59d87892fc /kernel/compat.c | |
parent | 1e67685b1b654138a20a4db487cf12c3fca968f2 (diff) | |
download | op-kernel-dev-f6744bdd7346dcdf94b9a7ac6fb820693b2724cd.zip op-kernel-dev-f6744bdd7346dcdf94b9a7ac6fb820693b2724cd.tar.gz |
[PARISC] Compat signal fixes for 64-bit parisc
In copy_siginfo_from_user32:
Use compat_uptr_t. Use compat_ptr().
In copy_siginfo_to_user32:
Use compat_int_t. Use ptr_to_compat().
The sigevent_t structure has a 64-bit si_ptr field
that when copied to a 32-bit si_ptr will copy the wrong
word. For the compat copy use the si_int field instead.
Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions