diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2022-08-11 09:47:46 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2022-08-11 12:21:05 +0200 |
commit | 11f09947f3066f5ff84fd15ef22b72b46eea97a8 (patch) | |
tree | cab9aee540ec1ae8af7705a8cd6fbe25c0c0554f /resource | |
parent | 61d2066c193472ca324b851e7f9b3668592913f0 (diff) | |
download | glibc-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 'resource')
0 files changed, 0 insertions, 0 deletions