mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
kernel: Enable FORTIFY_SOURCE for 4.13 kernels
This new feature was disabled by default, enable it as it seems sensible to have. From the documentation: Detect overflows of buffers in common string and memory functions where the compiler can determine and validate the buffer sizes. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
d0e55af229
commit
6f535f866a
@ -3864,7 +3864,7 @@ CONFIG_SECURITY_PATH=y
|
||||
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
|
||||
CONFIG_HARDENED_USERCOPY=y
|
||||
# CONFIG_HARDENED_USERCOPY_PAGESPAN is not set
|
||||
# CONFIG_FORTIFY_SOURCE is not set
|
||||
CONFIG_FORTIFY_SOURCE=y
|
||||
CONFIG_STATIC_USERMODEHELPER=y
|
||||
CONFIG_STATIC_USERMODEHELPER_PATH="/sbin/usermode-helper"
|
||||
# CONFIG_SECURITY_SELINUX is not set
|
||||
|
@ -3817,7 +3817,7 @@ CONFIG_SECURITY_PATH=y
|
||||
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
|
||||
CONFIG_HARDENED_USERCOPY=y
|
||||
# CONFIG_HARDENED_USERCOPY_PAGESPAN is not set
|
||||
# CONFIG_FORTIFY_SOURCE is not set
|
||||
CONFIG_FORTIFY_SOURCE=y
|
||||
CONFIG_STATIC_USERMODEHELPER=y
|
||||
CONFIG_STATIC_USERMODEHELPER_PATH="/sbin/usermode-helper"
|
||||
# CONFIG_SECURITY_SELINUX is not set
|
||||
|
Loading…
Reference in New Issue
Block a user