summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mm/uffd-unit-tests.c
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2024-01-01 11:36:13 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-01-05 21:17:48 +0300
commit8c9eea721a9837b227abcc9374862f4cefc71530 (patch)
treee02a23ba05261e4acba56de51c4ea9cd99754baf /tools/testing/selftests/mm/uffd-unit-tests.c
parent9a21701edc41465de56f97914741bfb7bfc2517d (diff)
downloadlinux-8c9eea721a9837b227abcc9374862f4cefc71530.tar.xz
selftests/mm: skip test if application doesn't has root privileges
The test depends on writing to nr_hugepages which isn't possible without root privileges. So skip the test in this case. Link: https://lkml.kernel.org/r/20240101083614.1076768-2-usama.anjum@collabora.com Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/mm/uffd-unit-tests.c')
0 files changed, 0 insertions, 0 deletions