]> git.baikalelectronics.ru Git - kernel.git/commit
security: bpf: replace include of linux/bpf.h with forward declarations
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 1 Nov 2017 18:48:00 +0000 (11:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 07:50:28 +0000 (16:50 +0900)
commita9d96b5a91349ada7dc8f42bd65c91b880ecc87d
treecb640da25763f40ad150a622de12c1fb1326615c
parent6fda091f11aaaaa60a37c91eb5e74e6e0dbb9b62
security: bpf: replace include of linux/bpf.h with forward declarations

Touching linux/bpf.h makes us rebuild a surprisingly large
portion of the kernel.  Remove the unnecessary dependency
from security.h, it only needs forward declarations.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/security.h