csky: Update syscall_trace_enter/exit implementation
authorGuo Ren <ren_guo@c-sky.com>
Wed, 20 Mar 2019 10:27:27 +0000 (18:27 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 22 Apr 2019 05:44:57 +0000 (13:44 +0800)
commit2f7932b011e7fb9f98732f95a68f6017d4d8c542
tree57fb64c49ac949c030f73871ad8f6b6dc4975a4c
parentcfa4d93b977a1b1129e7207d11b5daecdf0c56c4
csky: Update syscall_trace_enter/exit implementation

Previous syscall_trace implementation couldn't support AUDITSYSCALL and
SYSCALL_TRACEPOINTS. Now we redesign it to support audit_syscall
and syscall_tracepoints just like other archs'.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Dmitry V. Levin <ldv@altlinux.org>
Cc: Arnd Bergmann <arnd@arndb.de>
arch/csky/Kconfig
arch/csky/abiv1/inc/abi/entry.h
arch/csky/abiv2/inc/abi/entry.h
arch/csky/include/asm/syscall.h
arch/csky/include/asm/thread_info.h
arch/csky/include/asm/unistd.h
arch/csky/include/uapi/asm/ptrace.h
arch/csky/kernel/entry.S
arch/csky/kernel/ptrace.c