Improve reliability of ioctl_sg01
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest4 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Add SAFE_SYSINFO() macroinclude/ lib/ | +25 | 1 reply | |
| 2/4 | Add tst_pollute_memory() helper functioninclude/ lib/ | +84 | 1 reply | |
| 3/4 | ioctl_sg01: Pollute free memory in setuptestcases/ | +7 | 1 reply | |
| 4/4 | ioctl_sg01: Loop data leak check 100 timestestcases/ | +12 | 1 reply | |
| 4/4 | ioctl_sg01: Loop data leak check 100 times | +0 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Petr Vorel |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH v2 0/4] Improve reliability of ioctl_sg01
ioctl_sg01 needs dirty memory to reliably detect kernel data leaks. Its description originally recommended running it after mem01 which has been recently dropped.
Add helper function to LTP library for pre-polluting free memory and loop the main check in ioctl_sg01 to further decrease the chance of false negative.
Martin Doucha (4):
Add SAFE_SYSINFO() macro
Add tst_pollute_memory() helper function
ioctl_sg01: Pollute free memory in setup
ioctl_sg01: Loop data leak check 100 times
include/tst_memutils.h | 22 +++++++ include/tst_safe_macros.h | 5 ++ lib/safe_macros.c | 20 +++++++ lib/tst_memutils.c | 62 ++++++++++++++++++++ testcases/kernel/syscalls/ioctl/ioctl_sg01.c | 32 ++++++---- 5 files changed, 128 insertions(+), 13 deletions(-) create mode 100644 include/tst_memutils.h create mode 100644 lib/tst_memutils.c
Signature · 1 line
2.28.0