[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200312184608.12050-1-quentin@isovalent.com>
Date: Thu, 12 Mar 2020 18:46:06 +0000
From: Quentin Monnet <quentin@...valent.com>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
Quentin Monnet <quentin@...valent.com>
Subject: [PATCH bpf-next v2 0/2] tools: bpftool: fix object pinning and bash
The first patch of this series improves user experience by allowing to pass
all kinds of handles for programs and maps (id, tag, name, pinned path)
instead of simply ids when pinning them with "bpftool (prog|map) pin".
The second patch improves or fix bash completion, including for object
pinning.
v2: Restore close() on file descriptor after pinning the object.
Quentin Monnet (2):
tools: bpftool: allow all prog/map handles for pinning objects
tools: bpftool: fix minor bash completion mistakes
tools/bpf/bpftool/bash-completion/bpftool | 29 ++++++++++++++------
tools/bpf/bpftool/common.c | 33 +++--------------------
tools/bpf/bpftool/main.h | 2 +-
tools/bpf/bpftool/map.c | 2 +-
tools/bpf/bpftool/prog.c | 2 +-
5 files changed, 28 insertions(+), 40 deletions(-)
--
2.20.1
Powered by blists - more mailing lists