aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ir
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-01-27 01:43:57 -0800
committerShuah Khan <shuah@kernel.org>2019-02-13 08:52:42 -0700
commited492c2ad46450791c80f5e260f48d36e3a044eb (patch)
tree08c1c7c9547999d21eb9f458a9a3466f4219c793 /tools/testing/selftests/ir
parentselftests/harness: Update named initializer syntax (diff)
downloadwireguard-linux-ed492c2ad46450791c80f5e260f48d36e3a044eb.tar.xz
wireguard-linux-ed492c2ad46450791c80f5e260f48d36e3a044eb.zip
selftests/seccomp: Actually sleep for 1/10th second
Clang noticed that some none-zero sleep()s were actually using zero anyway. This switches to nanosleep() to gain sub-second granularity. seccomp_bpf.c:2625:9: warning: implicit conversion from 'double' to 'unsigned int' changes value from 0.1 to 0 [-Wliteral-conversion] sleep(0.1); ~~~~~ ^~~ Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ir')
0 files changed, 0 insertions, 0 deletions