[PATCH 0/2] ebpf: improves bpftool security

From: Xin Liu
Date: Sat Sep 24 2022 - 06:13:47 EST


This patchset is designed to enhance the security of libbpf and bpf
tool, adding fPIC and fPIE options.

- patch #1 add the fPIC options for dynamic library and static
library.

- patch #2 add the fPIE options for bpftool.

Xin Liu (2):
libbpf: add fPIC option for static library
bpftool: add fPIE option for bpftool

tools/bpf/bpftool/Makefile | 1 +
tools/lib/bpf/Makefile | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)

--
2.33.0