summaryrefslogtreecommitdiff
path: root/tools/objtool
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2019-05-14 19:42:57 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-05-16 11:31:49 -0700
commite547ff3f803e779a3898f1f48447b29f43c54085 (patch)
tree57ee781efe7e061b8a8a822c80744f2b4c37a40b /tools/objtool
parent2407a88a13a2d03ea9b8c86bbdedb3eff80c4b9e (diff)
bpf: relax inode permission check for retrieving bpf program
For iptable module to load a bpf program from a pinned location, it only retrieve a loaded program and cannot change the program content so requiring a write permission for it might not be necessary. Also when adding or removing an unrelated iptable rule, it might need to flush and reload the xt_bpf related rules as well and triggers the inode permission check. It might be better to remove the write premission check for the inode so we won't need to grant write access to all the processes that flush and restore iptables rules. Signed-off-by: Chenbo Feng <fengc@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions