params: harden string ops and allocatio ops
Status from this message: Applied to for-next/hardening, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 3 repliesApplied
- v25 patches 3 repliesSuperseded
Changes in v3 from the cover letter
- added tags (Kees, Luis)
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | params: Introduce the param_unknown_fn typeinclude/ kernel/ | +5 | 0 replies | |
| 2/5 | params: Do not go over the limit when getting the string lengthkernel/ | +6 | 0 replies | |
| 3/5 | params: Use size_add() for kmalloc()kernel/ | +2 | 0 replies | |
| 4/5 | params: Sort headerskernel/ | +8 | 0 replies | |
| 5/5 | params: Fix multi-line comment stylekernel/ | +12 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Luis Chamberlain | Kees Cook |
|---|---|---|
| 1/5 | R-b | R-b |
| 2/5 | R-b | R-b |
| 3/5 | R-b | R-b |
| 4/5 | R-b | R-b |
| 5/5 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] params: harden string ops and allocatio ops
A couple of patches are for get the string ops, used in the module, slightly harden. On top a few cleanups.
Since the main part is rather hardening, I think the Kees' tree is the best fit for the series. It also possible to route via Greg's sysfs (driver core?), but I'm open for another option(s).
Changelog v3:
- added tags (Kees, Luis)
Changelog v2:
- dropped the s*printf() --> sysfs_emit() conversion as it revealed an issue, i.e. reuse getters with non-page-aligned pointer, which would be addressed separately
- added cover letter and clarified the possible route for the series (Luis)
Andy Shevchenko (5):
params: Introduce the param_unknown_fn type
params: Do not go over the limit when getting the string length
params: Use size_add() for kmalloc()
params: Sort headers
params: Fix multi-line comment style
include/linux/moduleparam.h | 6 ++-- kernel/params.c | 56 ++++++++++++++++++++----------------- 2 files changed, 33 insertions(+), 29 deletions(-)
Signature · 1 line
2.43.0.rc1.1.gbec44491f096