commit | d4d3edefe74787a194a2472d99a673f6d4a2721a | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Feb 13 16:31:32 2013 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Feb 13 16:31:32 2013 +0100 |
tree | 354fb9072c75fca1ac7ae8081a7351be401c4071 | |
parent | be99497d39a0ccc59cde4d21bbd307767ab3860c [diff] |
Factor out code to check addr, fetch and print siginfo * defs.h: Declare new function printsiginfo_at(tcp, addr). * process.c (sys_waitid): Use printsiginfo_at(). (sys_ptrace): Likewise. * signal.c: (printsiginfo_at): Implement this new function. (sys_rt_sigsuspend): Use printsiginfo_at(). (sys_rt_sigtimedwait): Likewise. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>