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. |
||
---|---|---|
.. | ||
arch_regs.c | ||
arch_regs.h | ||
arch_sigreturn.c | ||
asm_stat.h | ||
errnoent1.h | ||
errnoent2.h | ||
gentab.pl | ||
get_error.c | ||
get_scno.c | ||
get_syscall_args.c | ||
getregs_old.c | ||
getregs_old.h | ||
ioctls_arch0.h | ||
ioctls_arch1.h | ||
ioctls_arch2.h | ||
ioctls_inc0.h | ||
ioctls_inc1.h | ||
ioctls_inc2.h | ||
set_error.c | ||
set_scno.c | ||
signalent1.h | ||
signalent2.h | ||
syscallent1.h | ||
syscallent2.h | ||
syscallent.h | ||
userent.h |