Re: [PATCH net-next] bpf: remove tail_call and get_stackid helper declarations from bpf.h

2017-10-27 Thread David Miller
From: Gianluca Borello Date: Thu, 26 Oct 2017 01:47:42 + > commit afdb09c720b6 ("security: bpf: Add LSM hooks for bpf object related > syscall") included linux/bpf.h in linux/security.h. As a result, bpf > programs including bpf_helpers.h and some other header that ends up > pulling in also s

[PATCH net-next] bpf: remove tail_call and get_stackid helper declarations from bpf.h

2017-10-25 Thread Gianluca Borello
commit afdb09c720b6 ("security: bpf: Add LSM hooks for bpf object related syscall") included linux/bpf.h in linux/security.h. As a result, bpf programs including bpf_helpers.h and some other header that ends up pulling in also security.h, such as several examples under samples/bpf, fail to compile