x86/boot: Warn on future overlapping memcpy() use
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 0 repliesNew
- v41 patch 5 repliesApplied
- v31 patch 2 repliesSuperseded
Changes in v5 from the cover letter
- split out warn/error into error.c/error.h
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/boot: Extract error reporting functionsarch/ arch/ arch/ +4 more | +34 | 0 replies | |
| 2/2 | x86/boot: Warn on future overlapping memcpy() usearch/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/2] x86/boot: Warn on future overlapping memcpy() use
This attempts to bring some sanity to how warn() and error() are defined so that they can be used by misc.c, kaslr.c, and string.c. After that, we add a warn() to memcpy and call memmove on detected overlaps.
-Kees
v5:
- split out warn/error into error.c/error.h
v4:
- use __memcpy not memcpy since we've already done the check. v3:
- call memmove in addition to doing the warning
v2:
- warn about overlapping region