search for: _sigset_nwords

Displaying 1 result from an estimated 1 matches for "_sigset_nwords".

2016 Apr 14
1
[PATCH 1/1] x32 support
...estion is not why they don't work in my port, but rather why they DO WORK in the original code. As an example of some craziness: rt_sigsuspend syscall expects sizeof(sigset_t) as the second argument and returns -EINVAL if it is != sizeof(sigset_t). In glibc it's defined like this # define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) typedef struct { unsigned long int __val[_SIGSET_NWORDS]; } __sigset_t; where long int is 64-bit, i.e. the whole struct if 128 byte long, 1 bit per signal for all 1024 signals. In klibc it's apparently defined as size_t for 64-bit size_t, so it...