[PATCH v3 4/5] bpf: Only enable BPF LSM hooks when an LSM program is attached

Song Liu song at kernel.org
Thu Sep 21 21:04:06 UTC 2023


On Mon, Sep 18, 2023 at 2:25 PM KP Singh <kpsingh at kernel.org> wrote:
>
[...]
>    0xffffffff818f0e89 <+89>:    mov    %r14,%rdi
>    0xffffffff818f0e8c <+92>:    mov    %ebp,%esi
>    0xffffffff818f0e8e <+94>:    mov    %rbx,%rdx
>    0xffffffff818f0e91 <+97>:    pop    %rbx
>    0xffffffff818f0e92 <+98>:    pop    %r14
>    0xffffffff818f0e94 <+100>:   pop    %rbp
>    0xffffffff818f0e95 <+101>:   ret
>
> Signed-off-by: KP Singh <kpsingh at kernel.org>

Acked-by: Song Liu <song at kernel.org>



More information about the Linux-security-module-archive mailing list