diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-02-16 13:13:28 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-02-22 13:55:33 +0300 |
| commit | f7f18e30b468458b2611ca65d745b50edcda9f43 (patch) | |
| tree | c1b572793d590d339f5da11bfca4684c3d18dbf5 /scripts/gdb/linux/__init__.py | |
| parent | 09ca1b11716f96461a4675eb0418d5cb97687389 (diff) | |
| download | linux-f7f18e30b468458b2611ca65d745b50edcda9f43.tar.xz | |
powerpc/kprobes: Handle error returned by set_memory_rox()
set_memory_rox() can fail.
In case it fails, free allocated memory and return NULL.
Link: https://github.com/KSPP/linux/issues/7
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/b4907cf4339bd086abc40430d91311436cb0c18e.1708078401.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/gdb/linux/__init__.py')
0 files changed, 0 insertions, 0 deletions
