summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@fb.com>2016-04-06 18:43:28 -0700
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:04 +0300
commit60e9dc17c5d0516fde2489cc020a48b9618e2e58 (patch)
tree9ccbcc5f0643539d215345ddfbadda7c92a0fc48 /kernel/sysctl_binary.c
parent1e128e8111f944eed868835c4b9fb978dcca12b9 (diff)
bpf: sanitize bpf tracepoint access
during bpf program loading remember the last byte of ctx access and at the time of attaching the program to tracepoint check that the program doesn't access bytes beyond defined in tracepoint fields This also disallows access to __dynamic_array fields, but can be relaxed in the future. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions