lists.openwall.net | 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 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 11 Sep 2020 21:59:17 -0700 From: Martin KaFai Lau <kafai@...com> To: <bpf@...r.kernel.org> CC: Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, <kernel-team@...com>, Lorenz Bauer <lmb@...udflare.com>, <netdev@...r.kernel.org> Subject: [PATCH RFC bpf-next 0/2] bpf: Enable bpf_skc_to_* sock casting helper to networking prog type This set allows networking prog type to directly read fields from the in-kernel socket type, e.g. "struct tcp_sock". Patch 2 has the details on the use case. It is currently under RFC since it needs proper tests and it builds on top of Lorenz's patches: https://lore.kernel.org/bpf/20200910125631.225188-1-lmb@cloudflare.com/ Martin KaFai Lau (2): bpf: Move the PTR_TO_BTF_ID check to check_reg_type() bpf: Enable bpf_skc_to_* sock casting helper to networking prog type kernel/bpf/verifier.c | 85 +++++++++++++++++++++++++++---------------- net/core/filter.c | 69 +++++++++++++++++++++++++---------- 2 files changed, 103 insertions(+), 51 deletions(-) -- 2.24.1
Powered by blists - more mailing lists