diff options
| author | Martin KaFai Lau <martin.lau@kernel.org> | 2026-09-17 13:05:33 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-09-19 05:32:56 +0000 |
| commit | 2ef54525d2fc24224c0317e2e662307fcbbd1f9c (patch) | |
| tree | c90769bdb879429098583e5d4e0054a8991b8084 /tools/include/uapi/linux | |
| parent | 4d71b3e0821f71819090f1ab422937e543b839a8 (diff) | |
| download | linux-next-2ef54525d2fc24224c0317e2e662307fcbbd1f9c.tar.gz linux-next-2ef54525d2fc24224c0317e2e662307fcbbd1f9c.zip | |
bpf: Move LSM trampoline unlink into bpf_cgroup_link_auto_detach()
Move the LSM trampoline unlink into bpf_cgroup_link_auto_detach().
The purpose is to consolidate the auto_detach cleanup logic.
It prepares for the upcoming struct_ops cgroup attachment patch where
bpf_cgroup_link_auto_detach() will need to handle the struct_ops case
(link->map != NULL).
This is a no-op change.
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Link: https://patch.msgid.link/20260917200542.3689605-8-ameryhung@gmail.com
Diffstat (limited to 'tools/include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
