diff options
Diffstat (limited to 'include/linux/bpf-cgroup.h')
-rw-r--r-- | include/linux/bpf-cgroup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bpf-cgroup.h b/include/linux/bpf-cgroup.h index 102e56fbb6de..359b6f5d3d90 100644 --- a/include/linux/bpf-cgroup.h +++ b/include/linux/bpf-cgroup.h | |||
@@ -44,12 +44,16 @@ int __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, | |||
44 | enum bpf_attach_type type, u32 flags); | 44 | enum bpf_attach_type type, u32 flags); |
45 | int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, | 45 | int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, |
46 | enum bpf_attach_type type, u32 flags); | 46 | enum bpf_attach_type type, u32 flags); |
47 | int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, | ||
48 | union bpf_attr __user *uattr); | ||
47 | 49 | ||
48 | /* Wrapper for __cgroup_bpf_*() protected by cgroup_mutex */ | 50 | /* Wrapper for __cgroup_bpf_*() protected by cgroup_mutex */ |
49 | int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, | 51 | int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, |
50 | enum bpf_attach_type type, u32 flags); | 52 | enum bpf_attach_type type, u32 flags); |
51 | int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, | 53 | int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, |
52 | enum bpf_attach_type type, u32 flags); | 54 | enum bpf_attach_type type, u32 flags); |
55 | int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, | ||
56 | union bpf_attr __user *uattr); | ||
53 | 57 | ||
54 | int __cgroup_bpf_run_filter_skb(struct sock *sk, | 58 | int __cgroup_bpf_run_filter_skb(struct sock *sk, |
55 | struct sk_buff *skb, | 59 | struct sk_buff *skb, |