diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-16 15:59:36 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-10-16 08:10:01 -0700 |
commit | 421f4292f46e871cdcf8bdc3e6fdfcefe2e81a9d (patch) | |
tree | e007b489a219df2e151ae11855bdea6d88f2be92 /tools/lib | |
parent | 2c59f06cc0442862d589c36bd2f29667f96c35e7 (diff) |
bpf, tls: add tls header to tools infrastructure
Andrey reported a build error for the BPF kselftest suite when compiled on
a machine which does not have tls related header bits installed natively:
test_sockmap.c:120:23: fatal error: linux/tls.h: No such file or directory
#include <linux/tls.h>
^
compilation terminated.
Fix it by adding the header to the tools include infrastructure and add
definitions such as SOL_TLS that could potentially be missing.
Fixes: e9dd904708c4 ("bpf: add tls support for testing in test_sockmap")
Reported-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions