Skip to contentSkip to conversation

linux-2.5 jejb

parisc-linux Carlos O'Donell 2 participants 3 messages Feb 17, 2003 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 10 lines

CVSROOT: /var/cvs
Module name: linux-2.5
Changes by: jejb 03/02/16 11:10:21

Modified files:
arch/parisc/kernel: signal.c sys32.h
include/asm-parisc: signal.h

Log 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.

#2 lore raw
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.c sys32.h
include/asm-parisc: signal.h

Log message:
More signal change fixes

Thanks 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

#3 lore raw
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.