diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-08-24 01:25:51 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-08-24 02:08:21 +0300 |
commit | dea6a4e17013382b20717664ebf3d7cc405e0952 (patch) | |
tree | 63cec65b79079956824e270aa7455bac8450defe /ipc | |
parent | 92ec1cc3784a2a8a7a62596dcec4f2224b85dcf4 (diff) | |
download | linux-dea6a4e17013382b20717664ebf3d7cc405e0952.tar.xz |
bpf: Introduce cgroup_{common,current}_func_proto
Split cgroup_base_func_proto into the following:
* cgroup_common_func_proto - common helpers for all cgroup hooks
* cgroup_current_func_proto - common helpers for all cgroup hooks
running in the process context (== have meaningful 'current').
Move bpf_{g,s}et_retval and other cgroup-related helpers into
kernel/bpf/cgroup.c so they closer to where they are being used.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/r/20220823222555.523590-2-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions