diff options
| author | Thadeu Lima de Souza Cascardo <[email protected]> | 2020-04-08 23:57:53 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2020-04-14 15:49:51 +0000 |
| commit | d42b8dbec46c08c6bd3f9d264127bd4910581c07 (patch) | |
| tree | 4f5ff9935105c7a553a3ea2199a7fe7284fad6d8 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | kselftest/runner: allow to properly deliver signals to tests (diff) | |
| download | kernel-d42b8dbec46c08c6bd3f9d264127bd4910581c07.tar.gz kernel-d42b8dbec46c08c6bd3f9d264127bd4910581c07.zip | |
selftests/seccomp: allow clock_nanosleep instead of nanosleep
glibc 2.31 calls clock_nanosleep when its nanosleep function is used. So
the restart_syscall fails after that. In order to deal with it, we trace
clock_nanosleep and nanosleep. Then we check for either.
This works just fine on systems with both glibc 2.30 and glibc 2.31,
whereas it failed before on a system with glibc 2.31.
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
