Message ID | 20230713025642.27477-1-laoar.shao@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: Fix errors in verifying a union | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Thu, 13 Jul 2023 02:56:38 +0000 you wrote: > From: root <root@vultr.guest> > > Patch #1: Fix an issue found in code review > Patch #2: Selftest for #1 > Patch #3: Fix an issue found in our dev server > Patch #4: Selftest for #3 > > [...] Here is the summary with links: - [v2,bpf-next,1/4] bpf: Fix an error around PTR_UNTRUSTED https://git.kernel.org/bpf/bpf-next/c/7ce4dc3e4a9d - [v2,bpf-next,2/4] selftests/bpf: Add selftests for nested_trust https://git.kernel.org/bpf/bpf-next/c/d2284d68259c - [v2,bpf-next,3/4] bpf: Fix an error in verifying a field in a union https://git.kernel.org/bpf/bpf-next/c/33937607efa0 - [v2,bpf-next,4/4] selftests/bpf: Add selftest for PTR_UNTRUSTED https://git.kernel.org/bpf/bpf-next/c/1cd0e7715cad You are awesome, thank you!
From: root <root@vultr.guest> Patch #1: Fix an issue found in code review Patch #2: Selftest for #1 Patch #3: Fix an issue found in our dev server Patch #4: Selftest for #3 Changes: - bpf: Introduce union trusted https://lore.kernel.org/bpf/20230709025912.3837-1-laoar.shao@gmail.com/ - bpf: Fix errors in verifying a union https://lore.kernel.org/bpf/20230628115205.248395-1-laoar.shao@gmail.com/ Yafang Shao (4): bpf: Fix an error around PTR_UNTRUSTED selftests/bpf: Add selftests for nested_trust bpf: Fix an error in verifying a field in a union selftests/bpf: Add selftest for PTR_UNTRUSTED kernel/bpf/btf.c | 22 ++++++------ kernel/bpf/verifier.c | 5 +++ .../selftests/bpf/prog_tests/ptr_untrusted.c | 36 +++++++++++++++++++ .../bpf/progs/nested_trust_failure.c | 16 +++++++++ .../bpf/progs/nested_trust_success.c | 15 ++++++++ .../selftests/bpf/progs/test_ptr_untrusted.c | 29 +++++++++++++++ 6 files changed, 111 insertions(+), 12 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/ptr_untrusted.c create mode 100644 tools/testing/selftests/bpf/progs/test_ptr_untrusted.c