summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-13 16:01:48 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2018-02-18 20:18:37 +0100
commit941f5d281a7f3900e291771815b3e7b86d788304 (patch)
treefcccbffea3c978bafae7fe13fe7339f715567537 /configs
parent367e3d2e15fb6377edafe7d585f022c65b4a10c2 (diff)
downloadDistroKit-941f5d281a7f3900e291771815b3e7b86d788304.tar.gz
DistroKit-941f5d281a7f3900e291771815b3e7b86d788304.tar.xz
kernelconfig: reason: enable SCHED_STACK_END_CHECK
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. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/platform-v7a/kernelconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index 1c39aea..9149a94 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -2977,7 +2977,7 @@ CONFIG_PANIC_TIMEOUT=-1
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHED_INFO is not set
# CONFIG_SCHEDSTATS is not set
-# CONFIG_SCHED_STACK_END_CHECK is not set
+CONFIG_SCHED_STACK_END_CHECK=y
# CONFIG_DEBUG_TIMEKEEPING is not set
CONFIG_DEBUG_PREEMPT=y