diff options
author | 2020-07-07 11:39:27 -0400 | |
---|---|---|
committer | 2020-07-07 13:28:58 -0600 | |
commit | 05790fd7f8d3a77c26f1acd16b6d0f8f7d61d98a (patch) | |
tree | 0e49672a45956aeb32490cf643a241069e8133be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: pidfd: do not use ksft_exit_skip after ksft_set_plan (diff) | |
download | wireguard-linux-05790fd7f8d3a77c26f1acd16b6d0f8f7d61d98a.tar.xz wireguard-linux-05790fd7f8d3a77c26f1acd16b6d0f8f7d61d98a.zip |
selftests: pidfd: skip test if unshare fails with EPERM
Similar to how ENOSYS causes a skip if pidfd_send_signal is not present,
we can do the same for unshare if it fails with EPERM. This way, running
the test without privileges causes four tests to skip but no early bail out.
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions