summaryrefslogtreecommitdiff
path: root/scripts/selinux/genheaders/genheaders.c
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-04-22 14:46:44 +0800
committerGuo Ren <ren_guo@c-sky.com>2019-04-22 15:55:28 +0800
commita691f3334d58b833e41d56de1b9820e687edcd78 (patch)
treea5da17a314196bf4a97eae43557754712f6d172f /scripts/selinux/genheaders/genheaders.c
parent1a23710c71bbfe2df10584afb9971b99c45e2576 (diff)
csky/syscall_trace: Fixup return processing flow
The function tracehook_report_syscall_entry's return value is __must_check attribute. We should add return processing flow in ptrace.c and set the syscall number to -1 when failed just like riscv's. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions