vsprintf: Add test for restricted kernel pointers
Get series with b4
b4 am 20260504-restricted-pointers-kunit-test-v2-0-19e8b1c0fbeb@linutronix.de change-id 20260109-restricted-pointers-kunit-test-ff4ec887bcd8Versions newest first
- v2 Latest2 patches 8 repliesIn review
- v11 patch 3 repliesSuperseded
Changes in v2 from the cover letter
- Restrict the visibility of no_hash_pointers.
- Handle printf_kunit being a module.
- Add note about KUnit capabilities for kptr_restrict==1.
- Link to v1: https://lore.kernel.org/r/20260114-restricted-pointers-kunit-test-v1-1-a9d8a49c6b6f@linutronix.de
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vsprintf: Only export no_hash_pointers to test modulelib/ | +3 | 5 replies | |
| 2/2 | vsprintf: Add test for restricted kernel pointerslib/ lib/ | +24 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Petr Mladek |
|---|---|
| 1/2 | R-b T-b |
| 2/2 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] vsprintf: Add test for restricted kernel pointers
Fill out the tests for restricted kernel pointers, using the %pK format.
---
Changes in v2:
- Restrict the visibility of no_hash_pointers.
- Handle printf_kunit being a module.
- Add note about KUnit capabilities for kptr_restrict==1.
- Link to v1: https://lore.kernel.org/r/20260114-restricted-pointers-kunit-test-v1-1-a9d8a49c6b6f@linutronix.de
To: Andrew Morton <[email protected]>
To: Petr Mladek <[email protected]>
To: Steven Rostedt <[email protected]>
To: Andy Shevchenko <[email protected]>
To: Rasmus Villemoes <[email protected]>
To: Sergey Senozhatsky <[email protected]>
---
Thomas Weißschuh (2):
vsprintf: Only export no_hash_pointers to test module
vsprintf: Add test for restricted kernel pointers
lib/tests/printf_kunit.c | 22 +++++++++++++++++++++- lib/vsprintf.c | 7 ++++++- 2 files changed, 27 insertions(+), 2 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260109-restricted-pointers-kunit-test-ff4ec887bcd8
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>