linux-2.5 jejb
Quoted 10 lines
CVSROOT:
/var/cvs
Module name: linux-2.5
Changes by: jejb 03/02/16 11:10:21Modified files:
arch/parisc/kernel:signal.csys32.h
include/asm-parisc:signal.hLog message:
More signal change fixes
Thanks for all the great work James!
Just to comment on this, we have incorrect sigcontext's from 64-bit kernels. If you look at the usage of "HACK" you'll see that the 32-bit userspace gets some rather unusable 64-bit values in the sigcontext. I'm not sure how other arches fix this? Cut off the top 32 bits?
This item is on my personal todo list, but I haven't talked to anyone who has suggested a solution. I'm just a lowly GNU/Libc hacker, but if you suggest something I _will_ write it.
c.
Quoted 4 lines · Carlos O'Donell
Quoted 4 lines
CVSROOT:
/var/cvs
Module name: linux-2.5
Changes by: jejb 03/02/16 11:10:21
Quoted 8 lines
Quoted 6 lines
Modified files:
arch/parisc/kernel:signal.csys32.h
include/asm-parisc:signal.hLog message:
More signal change fixesThanks for all the great work James!
You're welcome, but these were really just compile fixes.
Quoted 8 lines
Just to comment on this, we have incorrect sigcontext's from 64-bit kernels. If you look at the usage of "HACK" you'll see that the 32-bit userspace gets some rather unusable 64-bit values in the sigcontext. I'm not sure how other arches fix this? Cut off the top 32 bits?
This item is on my personal todo list, but I haven't talked to anyone who has suggested a solution. I'm just a lowly GNU/Libc hacker, but if you suggest something I _will_ write it.
In general, we should probably be relying more on the generic 32/64 compatibility layer recently introduced. I suspect the best role model for all of this is sparc64, since that's habitually run as a 64 bit kernel with (mostly) 32 bit user space.
The HACK thing should continue to work OK as long as PA-RISC has no 64 bit user binary support, though.
James
Quoted 8 lines
Quoted 3 lines
This item is on my personal todo list, but I haven't talked to anyone who has suggested a solution. I'm just a lowly GNU/Libc hacker, but if you suggest something I _will_ write it.
In general, we should probably be relying more on the generic 32/64 compatibility layer recently introduced. I suspect the best role model for all of this is sparc64, since that's habitually run as a 64 bit kernel with (mostly) 32 bit user space.
The sparc64 code is quite frightening, but I will look to it for a role model.
Quoted 2 lines
The HACK thing should continue to work OK as long as PA-RISC has no 64 bit user binary support, though.
Yeah, it's OK until I attempt to write make/get/set/swap/context support in libc :)
c.