commit | cfd89c3d476c3cced507e72d47736626781de495 | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Wed Sep 04 14:56:40 2019 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Tue Oct 08 09:21:05 2019 -0700 |
tree | 19cbda574e74db418df16baee36af0d850a333ee | |
parent | 89aed473c58e013afc1f2fda0c1b52ea75902f64 [diff] |
ANDROID: arm64: bpf: implement arch_bpf_jit_check_func Implement arch_bpf_jit_check_func to check that pointers to jited BPF functions are correctly aligned and point to the BPF JIT region. This narrows down the attack surface on the stored pointer. Bug: 140377409 Change-Id: I10c448eda6a8b0bf4c16ee591fc65974696216b9 Signed-off-by: Sami Tolvanen <samitolvanen@google.com> (cherry picked from commit c10baf76063b0503e13e14fcb1652efba6635f1f)