Skip to contentSkip to conversation

bogus sigaltstack calls by rt_sigreturn

PATCH Andi Kleen 2 participants 2 messages May 23, 2004 – May 24, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 2 lines · Roland McGrath

There is a longstanding bug in the rt_sigreturn system call. This exists in both 2.4 and 2.6, and for almost every platform.

I don't think the patch is really needed on x86-64 because the kernel address should always return -EFAULT in access_ok().

Too bad, there are definitely some mysterious 32bit signal failures left, e.g. newer valgrind still doesn't work reliable.

-Andi

#2 lore raw
Quoted 7 lines
Quoted 2 lines · Roland McGrath

There is a longstanding bug in the rt_sigreturn system call. This exists in both 2.4 and 2.6, and for almost every platform.

I don't think the patch is really needed on x86-64 because the kernel address should always return -EFAULT in access_ok().

The patch I sent doesn't just avoid the bogus access, it implements the feature properly.