tools: bpftool: open pinned object without type check
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Wed, 8 Nov 2017 04:55:47 +0000 (13:55 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 03:34:42 +0000 (12:34 +0900)
commit1852719658c0f853b5481c9eaed862f1a9355edc
tree2e80c8518feee8cc5b5e277239b5b1e30b4f1b43
parent329fca60a95981ea7e22ab69243f0a59c6ca2eca
tools: bpftool: open pinned object without type check

This was needed for opening any file in bpf-fs without knowing
its object type

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/bpf/bpftool/common.c
tools/bpf/bpftool/main.h