linux/tools/testing/selftests
Thierry Reding d0a871141d userfaultfd: selftests: vm: pick up sanitized kernel headers
Add the usr/include subdirectory of the top-level tree to the include
path, and make sure to include headers without relative paths to make
sure the sanitized headers get picked up.  Otherwise the compiler will
not be able to find the linux/compiler.h header included by the non-
sanitized include/uapi/linux/userfaultfd.h.

While at it, make sure to only hardcode the syscall numbers on x86 and
PowerPC if they haven't been properly picked up from the headers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-22 15:09:53 -07:00
..
breakpoints selftests: breakpoints: fix installing error on the architecture except x86 2015-08-27 16:05:28 -06:00
capabilities selftests/capabilities: Add tests for capability evolution 2015-09-04 16:54:41 -07:00
cpu-hotplug selftests: change cpu on-off-test.sh name to be unique 2015-04-01 10:32:52 -06:00
efivarfs selftests: Set CC using CROSS_COMPILE once in lib.mk 2015-03-19 15:16:51 -06:00
exec selftests: exec: revert to default emit rule 2015-09-14 16:45:05 -06:00
firmware selftests: firmware: skip timeout checks for kernels without user mode helper 2015-08-05 17:07:19 -07:00
ftrace selftests: change install command to rsync 2015-09-14 16:43:51 -06:00
futex selftests/futex: Fix futex_cmp_requeue_pi() error handling 2015-07-20 18:29:38 -06:00
ipc selftest/ipc: enable cross compilation 2015-04-02 12:41:52 -06:00
kcmp selftests: Set CC using CROSS_COMPILE once in lib.mk 2015-03-19 15:16:51 -06:00
membarrier selftests: enhance membarrier syscall test 2015-09-11 15:21:34 -07:00
memfd selftest/memfd: include default header install path 2015-04-02 12:41:03 -06:00
memory-hotplug selftests: Change memory on-off-test.sh name to be unique 2015-04-01 10:33:02 -06:00
mount selftests/mount: output WARN messages when mount test skipped 2015-05-26 15:58:06 -06:00
mqueue selftests: mqueue: simplify the Makefile 2015-09-14 16:43:24 -06:00
net selftests/net: test extended BPF fanout mode 2015-08-17 14:22:48 -07:00
powerpc selftests/powerpc: Install tempfile so the subpage_prot_file test works 2015-08-17 18:28:49 +10:00
ptrace selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
rcutorture Merge branches 'doc.2015.07.15a' and 'torture.2015.07.15a' into HEAD 2015-08-04 08:42:02 -07:00
seccomp selftests/seccomp: add support for s390 2015-09-14 16:41:37 -06:00
size selftests: Set CC using CROSS_COMPILE once in lib.mk 2015-03-19 15:16:51 -06:00
static_keys locking/static_keys: Provide a selftest 2015-08-03 11:51:12 +02:00
sysctl selftests: Add install target 2015-03-13 15:21:56 -06:00
timers linux-kselftest-4.2-rc1 2015-06-29 09:11:10 -07:00
user selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
vm userfaultfd: selftests: vm: pick up sanitized kernel headers 2015-09-22 15:09:53 -07:00
x86 x86/vm86: Block non-root vm86(old) if mmap_min_addr != 0 2015-09-05 09:01:16 +02:00
zram seltests/zram: fix syntax error 2015-09-14 16:40:57 -06:00
gen_kselftest_tar.sh selftests: Add tool to generate kselftest tar archive 2015-03-24 08:43:19 -06:00
kselftest_install.sh selftests: Add kselftest install tool 2015-03-24 08:43:05 -06:00
kselftest.h kselftest: Add exit code defines 2015-05-26 15:58:08 -06:00
lib.mk selftests: change install command to rsync 2015-09-14 16:43:51 -06:00
Makefile selftests: rename jump label to static_keys 2015-09-14 16:42:23 -06:00