mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 09:56:46 +00:00
[PATCH] x86_64: Remove bogus RED-PEN comment in signal.c
No red zone possible/needed on the alternative stack. It caused confusion. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
8fa3d6fc5e
commit
d9005b52de
@ -237,7 +237,6 @@ get_stack(struct k_sigaction *ka, struct pt_regs *regs, unsigned long size)
|
|||||||
rsp = regs->rsp - 128;
|
rsp = regs->rsp - 128;
|
||||||
|
|
||||||
/* This is the X/Open sanctioned signal stack switching. */
|
/* This is the X/Open sanctioned signal stack switching. */
|
||||||
/* RED-PEN: redzone on that stack? */
|
|
||||||
if (ka->sa.sa_flags & SA_ONSTACK) {
|
if (ka->sa.sa_flags & SA_ONSTACK) {
|
||||||
if (sas_ss_flags(rsp) == 0)
|
if (sas_ss_flags(rsp) == 0)
|
||||||
rsp = current->sas_ss_sp + current->sas_ss_size;
|
rsp = current->sas_ss_sp + current->sas_ss_size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user