mbox series

[v4,0/3] Kernel module detection (own implementation)

Message ID 20210121133233.29007-1-pvorel@suse.cz
Headers show
Series Kernel module detection (own implementation) | expand

Message

Petr Vorel Jan. 21, 2021, 1:32 p.m. UTC
Hi,

changes v3->v4:
* fix memory leaks (add missing free())
* optimize handling input string (avoid unnecessary fgets())
* add missing static
* new commit: re-add tst_require_drivers veth in tst_net.sh

I'm for merging this variant which works with text files.
I haven't check the binary format yet, but it'd would most likely
require using libkmod. Do we want that?

Kind regards,
Petr

Petr Vorel (3):
  lib: Fix kernel module detection on BusyBox
  zram: Fix module detection on BusyBox
  tst_net.sh: Require veth for netns (again)

 lib/tst_kernel.c                              | 104 ++++++++++++++++--
 .../kernel/device-drivers/zram/zram_lib.sh    |   6 +-
 testcases/lib/tst_net.sh                      |   1 +
 3 files changed, 95 insertions(+), 16 deletions(-)