]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/cgroup-defs.h
cgroup: add support for eBPF programs
[mirror_ubuntu-artful-kernel.git] / include / linux / cgroup-defs.h
index 5b17de62c962cd73d625427c2230d66e08cbcb4b..861b4677fc5b41134f96da33710a79735b827fe0 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/percpu-refcount.h>
 #include <linux/percpu-rwsem.h>
 #include <linux/workqueue.h>
+#include <linux/bpf-cgroup.h>
 
 #ifdef CONFIG_CGROUPS
 
@@ -300,6 +301,9 @@ struct cgroup {
        /* used to schedule release agent */
        struct work_struct release_agent_work;
 
+       /* used to store eBPF programs */
+       struct cgroup_bpf bpf;
+
        /* ids of the ancestors at each level including self */
        int ancestor_ids[];
 };