summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2026-09-17 13:05:33 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-09-19 05:32:56 +0000
commit2ef54525d2fc24224c0317e2e662307fcbbd1f9c (patch)
treec90769bdb879429098583e5d4e0054a8991b8084 /tools/include/uapi/linux
parent4d71b3e0821f71819090f1ab422937e543b839a8 (diff)
downloadlinux-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