diff options
author | 2022-01-30 17:29:15 +0800 | |
---|---|---|
committer | 2022-02-04 16:37:13 +0100 | |
commit | b5e975d256dbfebd62413eb04fbff6803f02a43c (patch) | |
tree | a7024e8626aeec544e70dab7265c7906db61a02a /include/linux/btf.h | |
parent | libbpf: Deprecate forgotten btf__get_map_kv_tids() (diff) | |
download | linux-rng-b5e975d256dbfebd62413eb04fbff6803f02a43c.tar.xz linux-rng-b5e975d256dbfebd62413eb04fbff6803f02a43c.zip |
bpf, arm64: Enable kfunc call
Since commit b2eed9b58811 ("arm64/kernel: kaslr: reduce module
randomization range to 2 GB"), for arm64 whether KASLR is enabled
or not, the module is placed within 2GB of the kernel region, so
s32 in bpf_kfunc_desc is sufficient to represente the offset of
module function relative to __bpf_call_base. The only thing needed
is to override bpf_jit_supports_kfunc_call().
Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220130092917.14544-2-hotforest@gmail.com
Diffstat (limited to 'include/linux/btf.h')
0 files changed, 0 insertions, 0 deletions