summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_stack.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-12-22 21:49:18 -0800
committerAlexei Starovoitov <ast@kernel.org>2022-12-27 17:37:07 -0800
commit910f69996674bfc4a273a335c1fb2ecb45062bf6 (patch)
tree9eefbebd82faec7d3de539529850f73d0b0e4874 /kernel/trace/trace_stack.c
parent7f4ce97cd5edf723c7f2e32668481b6aa86c9ec6 (diff)
downloadlwn-910f69996674bfc4a273a335c1fb2ecb45062bf6.tar.gz
lwn-910f69996674bfc4a273a335c1fb2ecb45062bf6.zip
bpf: reject non-exact register type matches in regsafe()
Generalize the (somewhat implicit) rule of regsafe(), which states that if register types in old and current states do not match *exactly*, they can't be safely considered equivalent. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20221223054921.958283-5-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions