Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: BUG : PowerPC RCU: torture test failed with __stack_chk_fail | Date | Thu, 27 Apr 2023 00:45:44 +1000 |
| |
Peter Zijlstra <peterz@infradead.org> writes: > On Wed, Apr 26, 2023 at 09:44:22AM -0400, Joel Fernandes wrote: > >> How could you control which code paths don't have the stack protector? >> Just curious. > > https://lkml.kernel.org/r/20230412-no_stackp-v2-0-116f9fe4bbe7@google.com
We also have some entire files disabled, eg:
$ git grep no-stack-protector arch/powerpc/ arch/powerpc/kernel/Makefile:CFLAGS_prom_init.o += -fno-stack-protector arch/powerpc/kernel/Makefile:CFLAGS_syscall.o += -fno-stack-protector arch/powerpc/kernel/Makefile:CFLAGS_setup_64.o += -fno-stack-protector arch/powerpc/kernel/Makefile:CFLAGS_paca.o += -fno-stack-protector
cheers
| |