diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 7e37a36b6913..e0e2eebf7ab3 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1609,6 +1609,19 @@ config TEST_MODULE | |||
1609 | 1609 | ||
1610 | If unsure, say N. | 1610 | If unsure, say N. |
1611 | 1611 | ||
1612 | config TEST_USER_COPY | ||
1613 | tristate "Test user/kernel boundary protections" | ||
1614 | default n | ||
1615 | depends on m | ||
1616 | help | ||
1617 | This builds the "test_user_copy" module that runs sanity checks | ||
1618 | on the copy_to/from_user infrastructure, making sure basic | ||
1619 | user/kernel boundary testing is working. If it fails to load, | ||
1620 | a regression has been detected in the user/kernel memory boundary | ||
1621 | protections. | ||
1622 | |||
1623 | If unsure, say N. | ||
1624 | |||
1612 | source "samples/Kconfig" | 1625 | source "samples/Kconfig" |
1613 | 1626 | ||
1614 | source "lib/Kconfig.kgdb" | 1627 | source "lib/Kconfig.kgdb" |