commit | b338f2d65ea9d911a0fead3229ba336bc30e6214 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <dvlasenk@redhat.com> | Sat Nov 09 20:40:31 2013 +0100 |
committer | Denys Vlasenko <dvlasenk@redhat.com> | Sat Nov 09 20:40:31 2013 +0100 |
tree | 8a37a1bd344653fdd4d684418556db3b3d578b6a | |
parent | 1297a513dad3ce3bc6f8472ed592a865aea18fac [diff] |
Fix select decoding on e.g. 32-bit ppc process by 64-bit strace. Added next_set_bit() function which finds the next set bit, properly taking into account word size of the traced process. Use it in decode_select() instead of fd_isset(). Also, properly round fdsize up to word size of traced process, not to strace's word size. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>