diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2024-08-28 20:06:58 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-08-29 23:56:34 +0300 |
commit | 5200614080cd7a0fca7424b711cab503dfe6bdca (patch) | |
tree | 6364f04eb84a89fad8330075d605710c189faa88 /scripts/bpf_doc.py | |
parent | efd9cd019e95d399e27be8dfbfc1df91517c0813 (diff) | |
download | linux-5200614080cd7a0fca7424b711cab503dfe6bdca.tar.xz |
s390/ftrace: Use get/copy_from_kernel_nofault consistently
Use get/copy_from_kernel_nofault to access the kernel text consistently.
Replace memcmp() in ftrace_init_nop() to ensure that in case of
inconsistencies in the 'mcount' table, the kernel reports a failure
instead of potentially crashing.
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions