[PATCH] Refactor common sa_handler printing code

Dmitry V. Levin ldv at altlinux.org
Wed Aug 31 22:40:35 UTC 2016


On Wed, Aug 31, 2016 at 07:04:21PM +0300, Eugene Syromyatnikov wrote:
> * xlat/sa_handler_values.in: New file.
> * signal.c: Include "xlat/sa_handler_values.h".
> (get_sa_handler_str, print_sa_handler): New functions.
> (SYS_FUNC(sigsetmask), SYS_FUNC(signal), decode_new_sigaction): Use them.
> ---
>  signal.c                  |   64 ++++++++++++++++-----------------------------
>  xlat/sa_handler_values.in |    4 +++
>  2 files changed, 27 insertions(+), 41 deletions(-)
>  create mode 100644 xlat/sa_handler_values.in

Applied, thanks.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160901/e6997fce/attachment.bin>


More information about the Strace-devel mailing list