Fix offset when fault occurs in strncpy_from_kernel_nofault()
Status from this message: This series was applied to bpf/bpf.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- add 'cc:stable', 'Fixes:' and review/ack tags
- update commitmsg and fix my email
- rebase on bpf tree and tag for bpf tree
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | maccess: fix writing offset in case of fault in strncpy_from_kernel_nofault()mm/ | +1 | 0 replies | Applied |
| 2/2 | selftests: bpf: add a test when bpf_probe_read_kernel_str() returns EFAULTtools/ tools/ | +12 | 0 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Francis Laniel | Andrew Morton | Yonghong Song |
|---|---|---|---|
| 1/2 | T-b | R-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH bpf v2 0/2] Fix offset when fault occurs in strncpy_from_kernel_nofault()
Hi,
This is v2 of the fix & selftest previously sent at:
https://lore.kernel.org/linux-mm/[email protected]/
Changes v1 to v2:
- add 'cc:stable', 'Fixes:' and review/ack tags
- update commitmsg and fix my email
- rebase on bpf tree and tag for bpf tree
Thanks!
Alban Crequy (2):
maccess: fix writing offset in case of fault in
strncpy_from_kernel_nofault()
selftests: bpf: add a test when bpf_probe_read_kernel_str() returns
EFAULT
mm/maccess.c | 2 +- tools/testing/selftests/bpf/prog_tests/varlen.c | 7 +++++++ tools/testing/selftests/bpf/progs/test_varlen.c | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-)
Signature · 1 line
2.36.1