tools: bpf: handle long path in jit disasm
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Thu, 2 Nov 2017 08:09:45 +0000 (17:09 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 11:25:27 +0000 (20:25 +0900)
commitcdc89c91987bd6efa962b36d4ea86d0c9152eb11
treecfd5468c873c69a8d17cdad31e249638756a80cd
parente20f469660ad526fcd9bf865e30ee491ae4e4a86
tools: bpf: handle long path in jit disasm

Use PATH_MAX instead of hardcoded array size 256

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