diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-08-09 02:39:11 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-12 11:07:16 +0200 |
commit | a664a834579ae8a6166ac9e5a3232976cab2c24d (patch) | |
tree | 297da431ae1c5022c9fc104033d0fcd6ed4d6d51 /kernel | |
parent | Merge branch 'bpf-xdp-fwd-sample-improvements' (diff) | |
download | linux-a664a834579ae8a6166ac9e5a3232976cab2c24d.tar.xz linux-a664a834579ae8a6166ac9e5a3232976cab2c24d.zip |
tools: bpftool: fix reading from /proc/config.gz
/proc/config has never existed as far as I can see, but /proc/config.gz
is present on Arch Linux. Add support for decompressing config.gz using
zlib which is a mandatory dependency of libelf anyway. Replace existing
stdio functions with gzFile operations since the latter transparently
handles uncompressed and gzip-compressed files.
Cc: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions