]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - arch/x86/Kconfig.debug
Kconfig: consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECKS
[mirror_ubuntu-focal-kernel.git] / arch / x86 / Kconfig.debug
index 16f738385dcb9c0f15c10531a3e2e9215439f8ee..c198b7e13e7bba5be02fdd04db10681bdda97337 100644 (file)
@@ -292,20 +292,6 @@ config OPTIMIZE_INLINING
 
          If unsure, say N.
 
-config DEBUG_STRICT_USER_COPY_CHECKS
-       bool "Strict copy size checks"
-       depends on DEBUG_KERNEL && !TRACE_BRANCH_PROFILING
-       ---help---
-         Enabling this option turns a certain set of sanity checks for user
-         copy operations into compile time failures.
-
-         The copy_from_user() etc checks are there to help test if there
-         are sufficient security checks on the length argument of
-         the copy operation, by having gcc prove that the argument is
-         within bounds.
-
-         If unsure, or if you run an older (pre 4.4) gcc, say N.
-
 config DEBUG_NMI_SELFTEST
        bool "NMI Selftest"
        depends on DEBUG_KERNEL && X86_LOCAL_APIC