Thread (2 messages) flat view 2 messages, 2 authors, 2018-10-16

Re: [PATCH bpf-next] bpf, tls: add tls header to tools infrastructure

From: Alexei Starovoitov <hidden>
Date: 2018-10-16 23:12:35

On Tue, Oct 16, 2018 at 03:59:36PM +0200, Daniel Borkmann wrote:
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 <redacted>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Applied, Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help