sigaction miss-configured?
Peter S. Mazinger
ps.m at gmx.net
Tue Feb 28 07:45:32 UTC 2006
Hello!
/* from __syscall*_sigaction.c */
#ifdef __NR_rt_sigaction
#define __NR___syscall_rt_sigaction __NR_rt_sigaction
_syscall4(int, __syscall_rt_sigaction, int, signum,
const struct sigaction *, act, struct sigaction *, oldact,
size_t, size);
#else
#define __NR___syscall_sigaction __NR_sigaction
_syscall3(int, __syscall_sigaction, int, signum, const struct sigaction *,
act, struct sigaction *, oldact);
#endif
/* from kernel_sigaction.h */
#ifndef NO_OLD_SIGACTION
extern int __syscall_sigaction (int, const struct old_kernel_sigaction *__unbounded,
struct old_kernel_sigaction *__unbounded);
#endif
extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
struct kernel_sigaction *__unbounded, size_t);
all those including kernel_sigaction.h will have a different meaning of
__syscall*sigaction()
I would add #include <bits/kernel_sigaction.h> to both
__syscall_*sigaction.c and adapt to use struct [old_]kernel_sigaction
Objections?
Thanks, Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list