kernel: Fix KERNEL_STACKPROTECTOR on kernel 4.19
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 18 Dec 2018 17:44:50 +0000 (18:44 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Dec 2018 16:32:48 +0000 (17:32 +0100)
commite790227553c057d38064e720add92b3bee42ecf2
tree18ff07a83e47804a1b9bf2a6d6540bd6c074cf71
parentb1daead066173e2cdef362fa5b1776daa5ff7924
kernel: Fix KERNEL_STACKPROTECTOR on kernel 4.19

The configuration option was renamed with kernel 4.19 from
CONFIG_CC_STACKPROTECTOR to CONFIG_STACKPROTECTOR adapt the code to set
both options.

CONFIG_STACKPROTECTOR now sets the regular stack protector and
CONFIG_STACKPROTECTOR_STRONG activates the additional protection of more
functions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config/Config-build.in
target/linux/generic/config-4.19