Dmitry V. Levin
43b7c24994
As the definition of NSIG_BYTES is based on NSIG defined in <signal.h>, NSIG_BYTES cannot be used in files that use kernel sigset_t. Add another wrapper around print_sigset_addr_len_limit function that takes one argument less than print_sigset_addr_len wrapper. This new wrapper is going to be used in cases when the length argument is equal to NSIG_BYTES. * defs.h (print_sigset_addr): New function prototype. * signal.c (print_sigset_addr): New function. * linux/alpha/arch_sigreturn.c (arch_sigreturn): Replace print_sigset_addr_len with print_sigset_addr. * linux/arm/arch_sigreturn.c (arch_sigreturn): Likewise. * linux/crisv10/arch_sigreturn.c (arch_sigreturn): Likewise. * linux/ia64/arch_sigreturn.c (arch_sigreturn): Likewise. * linux/microblaze/arch_sigreturn.c (arch_sigreturn): Likewise. * linux/mips/arch_sigreturn.c (arch_sigreturn): Likewise. * linux/tile/arch_sigreturn.c (arch_sigreturn): Likewise. * linux/x86_64/arch_sigreturn.c (arch_sigreturn): Likewise. |
||
---|---|---|
.. | ||
.gitignore | ||
arch_getrval2.c | ||
arch_regs.c | ||
arch_regs.h | ||
arch_sigreturn.c | ||
errnoent.h | ||
genstub.sh | ||
get_error.c | ||
get_scno.c | ||
get_syscall_args.c | ||
ioctls_arch0.h | ||
ioctls_inc0.h | ||
set_error.c | ||
set_scno.c | ||
signalent.h | ||
syscallent-compat.h | ||
syscallent-n32.h | ||
syscallent-n64.h | ||
syscallent-o32.h | ||
syscallent.h | ||
userent.h |