diff options
| author | David 'Digit' Turner <digit@google.com> | 2011-11-14 12:57:47 +0100 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2011-11-14 22:57:24 +0100 |
| commit | 9bf330b5676d0f60b3e4c3b8985494bcb1134e8b (patch) | |
| tree | b45e394b4e8b7fe8cebb1aa4d04b3131e0c4e48b /libc/bionic/bionic_clone.c | |
| parent | 7939908c8310342c8e1b717c4599273a782b3c2b (diff) | |
| download | bionic-9bf330b5676d0f60b3e4c3b8985494bcb1134e8b.zip bionic-9bf330b5676d0f60b3e4c3b8985494bcb1134e8b.tar.gz bionic-9bf330b5676d0f60b3e4c3b8985494bcb1134e8b.tar.bz2 | |
libc: fix the pthread_sigmask implementation
The old code didn't work because the kernel expects a 64-bit sigset_t
while the one provided by our ABI is only 32-bit. This is originally
due to the fact that the kernel headers themselves define sigset_t
as a 32-bit type when __KERNEL__ is not defined (apparently to cater
to libc5 or some similarly old C library).
We can't modify the size of sigset_t without breaking the NDK ABI,
so instead perform runtime translation during the call.
Change-Id: Ibfdc3cbceaff864af7a05ca193aa050047b4773f
Diffstat (limited to 'libc/bionic/bionic_clone.c')
0 files changed, 0 insertions, 0 deletions
