diff options
author | Hengqi Chen <hengqi.chen@gmail.com> | 2022-08-06 18:20:21 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-08-08 15:07:40 -0700 |
commit | 9e32084ef1c33a87a736d6ce3fcb95b60dac9aa1 (patch) | |
tree | b1bd785608fa33530b9e0ea6f85b0bb5cbd24ced /include/uapi | |
parent | 0c9a7a7e2049859d7869e15dd8f70ca5aeae460e (diff) |
libbpf: Do not require executable permission for shared libraries
Currently, resolve_full_path() requires executable permission for both
programs and shared libraries. This causes failures on distos like Debian
since the shared libraries are not installed executable and Linux is not
requiring shared libraries to have executable permissions. Let's remove
executable permission check for shared libraries.
Reported-by: Goro Fuji <goro@fastly.com>
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220806102021.3867130-1-hengqi.chen@gmail.com
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions