~registry/kmod/master

  • Committer: Lucas De Marchi
  • Author(s): Emil Velikov
  • Date: 2024-04-30 17:33:52 UTC
  • Revision ID: git-v1:03da2db1358f5ae3b50596f04e5e05bcf7a48fee
libkmod: remove kmod_file::{zstd,xz}_used flags

These are used to protect a free(file->memory), within their respective
unload functions. Where the sole caller of the unload function already
does a NULL check prior.

Even so, free(NULL) is guaranteed to be safe by the standard.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Filename Latest Rev Last Changed Committer Comment Size
..
module-playground 891 10 years ago Lucas De Marchi testsuite: Add module playground dir Diff
rootfs-pristine 646 12 years ago Lucas De Marchi testsuite: rename rootfs dir Diff
.gitignore 1323 8 months ago Lucas De Marchi Remove unmaintained experimental tools The kmod i 851 bytes Diff Download File
COPYING 682 12 years ago Lucas De Marchi testsuite: re-license under LGPL 25.8 KB Diff Download File
delete_module.c 973 9 years ago Lucas De Marchi testsuite: fix retcodes parsing It was not saving 3.4 KB Diff Download File
init_module.c 1138 6 years ago Lucas De Marchi testsuite: also wrap gettid in syscall() Not a pe 8.2 KB Diff Download File
Makefile 863 10 years ago Lucas De Marchi build-sys: add small redirecting Makefiles These 372 bytes Diff Download File
path.c 1287 1 year ago Lucas De Marchi testsuite: add function declarations for __xstat f 5.2 KB Diff Download File
README 1152 5 years ago Lucas De Marchi Remove bootstrap* scripts Let's just use autogen. 2.4 KB Diff Download File
File setup-rootfs.sh 1323 8 months ago Lucas De Marchi Remove unmaintained experimental tools The kmod i 7.5 KB Diff Download File
stripped-module.h 684 12 years ago Lucas De Marchi Use #pragma once instead of #ifndef Only the publ 520 bytes Diff Download File
test-array.c 1096 7 years ago Lucas De Marchi testsuite: fix test_array_sort pointers inderectio 5.1 KB Diff Download File
test-blacklist.c 1291 1 year ago Lucas De Marchi testsuite: Handle different sysconfdir Instead of 2.5 KB Diff Download File
test-dependencies.c 993 9 years ago Lucas De Marchi testsuite: port test-dependencies to module-playgr 2.1 KB Diff Download File
test-depmod.c 1314 10 months ago Lucas De Marchi libkmod, depmod, modprobe: Make directory for kern 7.4 KB Diff Download File
test-hash.c 981 9 years ago Lucas De Marchi testsuite: add test for growing then shrinking a h 6.4 KB Diff Download File
test-init.c 1209 3 years ago Lucas De Marchi testsuite: add test for empty modules.builtin.alia 4.2 KB Diff Download File
test-initstate.c 1243 2 years ago Lucas De Marchi test-initstate: Check for negative value on error 3.1 KB Diff Download File
test-list.c 988 9 years ago Lucas De Marchi testsuite: add tests for kmod_list Some tests cov 5.9 KB Diff Download File
test-loaded.c 962 9 years ago Lucas De Marchi Fix includes after change to build-sys Make the i 2.3 KB Diff Download File
test-modinfo.c 1165 5 years ago Lucas De Marchi testsuite: fix modinfo test without openssl 3.3 KB Diff Download File
test-modprobe.c 1291 1 year ago Lucas De Marchi testsuite: Handle different sysconfdir Instead of 12.3 KB Diff Download File
test-new-module.c 1286 1 year ago Lucas De Marchi treewide: add some static const notations Signed- 2.7 KB Diff Download File
test-scratchbuf.c 1094 8 years ago Lucas De Marchi Add scratchbuf implementation This should fill th 3.1 KB Diff Download File
test-strbuf.c 976 9 years ago Lucas De Marchi testsuite: prefer the use of streq() 2.6 KB Diff Download File
test-testsuite.c 1314 10 months ago Lucas De Marchi libkmod, depmod, modprobe: Make directory for kern 3.5 KB Diff Download File
test-util.c 1286 1 year ago Lucas De Marchi treewide: add some static const notations Signed- 6.5 KB Diff Download File
testsuite.c 1286 1 year ago Lucas De Marchi treewide: add some static const notations Signed- 23.5 KB Diff Download File
testsuite.h 1226 3 years ago Lucas De Marchi testsuite: allow to re-use single function for tes 5.5 KB Diff Download File
uname.c 961 9 years ago Lucas De Marchi Remove FSF mailing address It has changed in the 1.7 KB Diff Download File