summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-12-16 03:55:37 +0100
committerAlexei Starovoitov <ast@kernel.org>2021-12-16 23:57:09 +0100
commitaef2feda97b840ec38e9fa53d0065188453304e8 (patch)
tree37ce343e36a71cf2596fc98e4b1ee929f007007d /security
parentadd includes masked by cgroup -> bpf dependency (diff)
downloadlinux-aef2feda97b840ec38e9fa53d0065188453304e8.tar.xz
linux-aef2feda97b840ec38e9fa53d0065188453304e8.zip
add missing bpf-cgroup.h includes
We're about to break the cgroup-defs.h -> bpf-cgroup.h dependency, make sure those who actually need more than the definition of struct cgroup_bpf include bpf-cgroup.h explicitly. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/bpf/20211216025538.1649516-3-kuba@kernel.org
Diffstat (limited to 'security')
-rw-r--r--security/device_cgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/device_cgroup.c b/security/device_cgroup.c
index 04375df52fc9..842889f3dcb7 100644
--- a/security/device_cgroup.c
+++ b/security/device_cgroup.c
@@ -5,6 +5,7 @@
* Copyright 2007 IBM Corp
*/
+#include <linux/bpf-cgroup.h>
#include <linux/device_cgroup.h>
#include <linux/cgroup.h>
#include <linux/ctype.h>