Add bpf_getxattr
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 30 repliesIn review
- v45 patches 5 repliesSuperseded
- v35 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 5 patches | 16 replies | Superseded | |
| v1 | 2 patches | 2 replies | Superseded |
Changes in v5 from the cover letter
- Fixes suggested by Andrii
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btf: Add a new kfunc set which allows to mark a function to be sleepableinclude/ kernel/ | +12 | 0 replies | |
| 2/5 | bpf: kfunc support for ARG_PTR_TO_CONST_STRinclude/ kernel/ kernel/ | +83 | 0 replies | |
| 3/5 | bpf: Allow kfuncs to be used in LSM programskernel/ | +1 | 0 replies | |
| 4/5 | bpf: Add a bpf_getxattr kfunckernel/ | +42 | 3 replies | |
| 5/5 | bpf/selftests: Add a selftest for bpf_getxattrtools/ tools/ | +91 | 21 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | KP Singh |
|---|---|
| 1/5 | A-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 bpf-next 0/5] Add bpf_getxattr
v4 -> v5
- Fixes suggested by Andrii
v3 -> v4
- Fixed issue incorrect increment of arg counter
- Removed __weak and noinline from kfunc definiton
- Some other minor fixes.
v2 -> v3
- Fixed missing prototype error
- Fixes suggested by other Joanne and Kumar.
v1 -> v2
- Used kfuncs as suggested by Alexei
- Used Benjamin Tissoires' patch from the HID v4 series to add a sleepable kfunc set (I sent the patch as a part of this series as it seems to have been dropped from v5) and acked it. Hope this is okay.
- Added support for verifying string constants to kfuncs
Benjamin Tissoires (1):
btf: Add a new kfunc set which allows to mark a function to be
sleepable
KP Singh (4):
bpf: kfunc support for ARG_PTR_TO_CONST_STR
bpf: Allow kfuncs to be used in LSM programs
bpf: Add a bpf_getxattr kfunc
bpf/selftests: Add a selftest for bpf_getxattr
include/linux/bpf_verifier.h | 2 + include/linux/btf.h | 2 + kernel/bpf/btf.c | 43 ++++++++- kernel/bpf/verifier.c | 89 +++++++++++-------- kernel/trace/bpf_trace.c | 42 +++++++++ .../testing/selftests/bpf/prog_tests/xattr.c | 54 +++++++++++ tools/testing/selftests/bpf/progs/xattr.c | 37 ++++++++ 7 files changed, 229 insertions(+), 40 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/xattr.c create mode 100644 tools/testing/selftests/bpf/progs/xattr.c
Signature · 1 line
2.37.0.rc0.161.g10f37bed90-goog