~registry/kmod/master

  • Committer: Lucas De Marchi
  • Author(s): Emil Velikov
  • Date: 2024-04-30 17:33:52 UTC
  • Revision ID: git-v1:d6cd6c74d2d225306cc50a8ca9cc03cf015c5c4b
libkmod: use a dup()'d fd for zlib

The gzdopen() API used, takes ownership of the fd. To make that more
explicit we clear it (-1) as applicable.

Yet again, kmod has explicit API to return the fd to the user - which
currently is used solely when uncompressed, so we're safe.

Regardless - simply duplicate the fd locally and use that with zlib.

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
..
libkmod 2 12 years ago Lucas De Marchi Rename libabc to libkmod Diff
m4 1 12 years ago Lucas De Marchi Import skeleton from libabc Diff
man 439 12 years ago Lucas De Marchi rename doc dir to man Diff
shared 919 10 years ago Lucas De Marchi Move macro.h to shared directory It's not really Diff
shell-completion 815 11 years ago Lucas De Marchi shell-completion: Add initial completion for kmod Diff
testsuite 495 12 years ago Lucas De Marchi testsuite: add skeleton Diff
tools 163 12 years ago Lucas De Marchi Merge branch 'use-mmap' Conflicts: libkmod/libkm Diff
.gitignore 1328 5 months ago Lucas De Marchi build: Ignore directories commonly used for out-of 324 bytes Diff Download File
File autogen.sh 1316 8 months ago Lucas De Marchi Drop python bindings Python bindings are not well 1.7 KB Diff Download File
CODING-STYLE 971 9 years ago Lucas De Marchi CODING-STYLE: add include order 2.3 KB Diff Download File
configure.ac 1326 7 months ago Lucas De Marchi Install kmod.pc in ${datadir}/pkgconfig The data 11.3 KB Diff Download File
COPYING 928 10 years ago Lucas De Marchi Clarify what licences apply where This doesn't ch 25.8 KB Diff Download File
Makefile.am 1326 7 months ago Lucas De Marchi Install kmod.pc in ${datadir}/pkgconfig The data 13.5 KB Diff Download File
NEWS 1324 7 months ago Lucas De Marchi kmod 32 31.4 KB Diff Download File
README.md 1316 8 months ago Lucas De Marchi Drop python bindings Python bindings are not well 3.6 KB Diff Download File
TODO 1142 6 years ago Lucas De Marchi libkmod-module: check for NULL before accessing po 2.1 KB Diff Download File