bogus sigaltstack calls by rt_sigreturn
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Roland McGrath
There is a longstanding bug in the
rt_sigreturnsystem 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
Quoted 7 lines
Quoted 2 lines · Roland McGrath
There is a longstanding bug in the
rt_sigreturnsystem 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
-EFAULTinaccess_ok().
The patch I sent doesn't just avoid the bogus access, it implements the feature properly.