Re: Patch 4/6 randomize the stack pointer

From: Linus Torvalds
Date: Thu Jan 27 2005 - 15:03:36 EST




Btw, since you're clearly at the keyboard now: I do agree with Christoph
that it would be a lot cleaner to just say that all architectures have to
have a arch_align_stack() define, instead of having a
__HAVE_ARCH_ALIGN_STACK define.

After all, a trivial implementation would apparently just be

#define arch_align_stack(x) (x)

which is not too much of a bother to maintain for an architecture that
doesn't want to do this ;)

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/