commit | 144cda220ba4d3be92d636ed01b454589dc85c32 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Mar 23 18:48:32 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Mar 23 20:15:29 2015 +0000 |
tree | 316622037ed11ee709babe4a8a81d99d4491a357 | |
parent | 78ed3f3558942b7c042aeb84ee0f4a2dccf64791 [diff] |
Move get_regs error check from trace_syscall_entering to get_scno Starting with commit v4.10-25-g8497b62, get_scno() can be called outside trace_syscall_entering(), so move the get_regs_error check from trace_syscall_entering() to get_scno(). * syscall.c (trace_syscall_entering): Move get_regs_error check ... (get_scno): ... here.