Hi,
In arch/x86/include/asm/signal.h, _NSIG/NSIG and sigset_t definition don't match
for kernel (64, 8 bytes) and for user space (32, 4 bytes). But the
syscall rt_sigaction
checks the sigset size from user space. If it doesn't match sigset
size in kernel,
the syscall return failure.
I checked the glibc and it doesn't inherit the definition from kernel head file.
It use its own definition. So should these definition for user space
in kernel head be
removed and just let user space use its own definition?
I know it doesn't impact generic code because libc implementation
hides it. But what
about the libc (not glibc) implementation?
Regards
yfw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majo...@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/