Thread (2 messages) flat view 2 messages, 2 authors, 2021-01-05

Re: [PATCH] bpf: Add signature checking for BPF programs

From: Alexei Starovoitov <hidden>
Date: 2021-01-05 20:17:50
Also in: bpf, linux-fsdevel, lkml

On Tue, Jan 5, 2021 at 12:00 AM Xichen Lin [off-list ref] wrote:
From: Xichen Lin <redacted>

Check the signature of a BPF program against the same set of keys for
module signature checking.

Currently the format of a signed BPF program is similar to that of
a signed kernel module, composed of BPF bytecode, signature,
module_signature structure and a magic string, in order, aligned to
struct sock_filter.
Commit log talks about 'what' and gives no insight into 'why' the
patch was sent.
Please take time to clearly explain the motivation for the changes.
Also please see earlier discussions on the subject and Arnaldo's preso
from plumbers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help