aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2015-07-23 20:21:04 +1000
committerMichael Ellerman <[email protected]>2015-07-29 11:56:12 +1000
commit1b1a3702a65c1a6511e4c95ecb3770dfdf235bcf (patch)
treee5f34faf6e7ee84bdea7d4d4aca7cf49d6605941 /scripts/gdb/linux/dmesg.py
parent2923e6d503465e97a378d37a588e4e6987009bc7 (diff)
powerpc: Don't negate error in syscall_set_return_value()
Currently the only caller of syscall_set_return_value() is seccomp filter, which is not enabled on powerpc. This means we have not noticed that our implementation of syscall_set_return_value() negates error, even though the value passed in is already negative. So remove the negation in syscall_set_return_value(), and expect the caller to do it like all other implementations do. Also add a comment about the ccr handling. Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions