]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/kernel/kernel.config.armv5tel-ipfire-multi
kernel: enable CONFIG_SCHED_STACK_END_CHECK on x86_64, armv5tel and aarch64
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 18 Apr 2020 08:42:19 +0000 (10:42 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 2 Jun 2020 11:15:34 +0000 (11:15 +0000)
commit4264e41a612187b2c985d0ce843b598aaba648c5
tree62718ab4e835e264e8926aba152cb78b4bb9c961
parentc2749c1bed787890c843b16ebbcf99c85a21eefb
kernel: enable CONFIG_SCHED_STACK_END_CHECK on x86_64, armv5tel and aarch64

> This option checks for a stack overrun on calls to schedule(). If the stack
> end location is found to be over written always panic as the content of the
> corrupted region can no longer be trusted. This is to ensure no erroneous
> behaviour occurs which could result in data corruption or a sporadic crash at a
> later stage once the region is examined. The runtime overhead introduced is
> minimal.

Fixes: #12376
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/kernel/kernel.config.aarch64-ipfire
config/kernel/kernel.config.armv5tel-ipfire-multi
config/kernel/kernel.config.x86_64-ipfire