Kconfig (050e9baa9dc9fbd9ce2b27f0056990fc9e0a08a0) Kconfig (d148eac0e70f06485dbd4cce6ed01cb07c650cec)
1# SPDX-License-Identifier: GPL-2.0
2#
3# General architecture dependent options
4#
5
6config CRASH_CORE
7 bool
8

--- 535 unchanged lines hidden (view full) ---

544 depends on !COMPILE_TEST # do not reduce test coverage
545 help
546 If you say Y here, the RANDSTRUCT randomization will make a
547 best effort at restricting randomization to cacheline-sized
548 groups of elements. It will further not randomize bitfields
549 in structures. This reduces the performance hit of RANDSTRUCT
550 at the cost of weakened randomization.
551
1# SPDX-License-Identifier: GPL-2.0
2#
3# General architecture dependent options
4#
5
6config CRASH_CORE
7 bool
8

--- 535 unchanged lines hidden (view full) ---

544 depends on !COMPILE_TEST # do not reduce test coverage
545 help
546 If you say Y here, the RANDSTRUCT randomization will make a
547 best effort at restricting randomization to cacheline-sized
548 groups of elements. It will further not randomize bitfields
549 in structures. This reduces the performance hit of RANDSTRUCT
550 at the cost of weakened randomization.
551
552config HAVE_CC_STACKPROTECTOR
552config HAVE_STACKPROTECTOR
553 bool
554 help
555 An arch should select this symbol if:
556 - it has implemented a stack canary (e.g. __stack_chk_guard)
557
558config CC_HAS_STACKPROTECTOR_NONE
559 def_bool $(cc-option,-fno-stack-protector)
560
561config STACKPROTECTOR
562 bool "Stack Protector buffer overflow detection"
553 bool
554 help
555 An arch should select this symbol if:
556 - it has implemented a stack canary (e.g. __stack_chk_guard)
557
558config CC_HAS_STACKPROTECTOR_NONE
559 def_bool $(cc-option,-fno-stack-protector)
560
561config STACKPROTECTOR
562 bool "Stack Protector buffer overflow detection"
563 depends on HAVE_CC_STACKPROTECTOR
563 depends on HAVE_STACKPROTECTOR
564 depends on $(cc-option,-fstack-protector)
565 default y
566 help
567 This option turns on the "stack-protector" GCC feature. This
568 feature puts, at the beginning of functions, a canary value on
569 the stack just before the return address, and validates
570 the value just before actually returning. Stack based buffer
571 overflows (that need to overwrite this return address) now also

--- 403 unchanged lines hidden ---
564 depends on $(cc-option,-fstack-protector)
565 default y
566 help
567 This option turns on the "stack-protector" GCC feature. This
568 feature puts, at the beginning of functions, a canary value on
569 the stack just before the return address, and validates
570 the value just before actually returning. Stack based buffer
571 overflows (that need to overwrite this return address) now also

--- 403 unchanged lines hidden ---