about summary refs log tree commit diff
path: root/test-skeleton.c
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2022-08-11 09:47:46 +0200
committerStefan Liebler <stli@linux.ibm.com>2022-08-11 12:21:05 +0200
commit11f09947f3066f5ff84fd15ef22b72b46eea97a8 (patch)
treecab9aee540ec1ae8af7705a8cd6fbe25c0c0554f /test-skeleton.c
parent61d2066c193472ca324b851e7f9b3668592913f0 (diff)
downloadglibc-11f09947f3066f5ff84fd15ef22b72b46eea97a8.tar.gz
glibc-11f09947f3066f5ff84fd15ef22b72b46eea97a8.tar.xz
glibc-11f09947f3066f5ff84fd15ef22b72b46eea97a8.zip
tst-process_madvise: Check process_madvise-syscall support.
So far this test checks if pidfd_open-syscall is supported,
which was introduced with linux 5.3.

The process_madvise-syscall was introduced with linux 5.10.
Thus you'll get FAILs if you are running a kernel in between.

This patch adds a check if the first process_madvise-syscall
returns ENOSYS and in this case will fail with UNSUPPORTED.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'test-skeleton.c')
0 files changed, 0 insertions, 0 deletions