lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 15 Jan 2020 18:24:17 +0100
From:   Greg Kroah-Hartman <>
To:     KP Singh <>
        Alexei Starovoitov <>,
        Daniel Borkmann <>,
        James Morris <>,
        Kees Cook <>,
        Thomas Garnier <>,
        Michael Halcrow <>,
        Paul Turner <>,
        Brendan Gregg <>,
        Jann Horn <>,
        Matthew Garrett <>,
        Christian Brauner <>,
        Mickaël Salaün <>,
        Florent Revest <>,
        Brendan Jackman <>,
        Martin KaFai Lau <>,
        Song Liu <>, Yonghong Song <>,
        "Serge E. Hallyn" <>,
        Mauro Carvalho Chehab <>,
        "David S. Miller" <>,
        Nicolas Ferre <>,
        Stanislav Fomichev <>,
        Quentin Monnet <>,
        Andrey Ignatov <>, Joe Stringer <>
Subject: Re: [PATCH bpf-next v2 06/10] bpf: lsm: Implement attach, detach and

On Wed, Jan 15, 2020 at 06:13:29PM +0100, KP Singh wrote:
> From: KP Singh <>
> JITed BPF programs are used by the BPF LSM as dynamically allocated
> security hooks. arch_bpf_prepare_trampoline handles the
> arch_bpf_prepare_trampoline generates code to handle conversion of the
> signature of the hook to the BPF context and allows the BPF program to
> be called directly as a C function.
> The following permissions are required to attach a program to a hook:
> - CAP_SYS_ADMIN to load the program
> - CAP_MAC_ADMIN to attach it (i.e. to update the security policy)

You forgot to list "GPL-compatible license" here :)

Anyway, looks good to me:

Reviewed-by: Greg Kroah-Hartman <>

Powered by blists - more mailing lists