diff options
author | 2019-01-27 01:43:57 -0800 | |
---|---|---|
committer | 2019-02-13 08:52:42 -0700 | |
commit | ed492c2ad46450791c80f5e260f48d36e3a044eb (patch) | |
tree | 08c1c7c9547999d21eb9f458a9a3466f4219c793 /include/linux/pfn_t.h | |
parent | selftests/harness: Update named initializer syntax (diff) | |
download | wireguard-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 'include/linux/pfn_t.h')
0 files changed, 0 insertions, 0 deletions