Searched refs:fdsize (Results 1 – 3 of 3) sorted by relevance
/external/strace/ |
D | desc.c | 79 int nfds, fdsize; in decode_select() local 99 fdsize = (((nfds + 7) / 8) + current_wordsize-1) & -current_wordsize; in decode_select() 104 if (verbose(tcp) && fdsize > 0) in decode_select() 105 fds = malloc(fdsize); in decode_select() 113 if (umoven_or_printaddr(tcp, addr, fdsize, fds)) in decode_select() 144 fds = malloc(fdsize); in decode_select() 152 if (!addr || !fds || umoven(tcp, addr, fdsize, fds) < 0) in decode_select()
|
D | pathtrace.c | 158 unsigned int fdsize = (((nfds + 7) / 8) + current_wordsize-1) & -current_wordsize; in match_xselect_args() local 159 fd_set *fds = xmalloc(fdsize); in match_xselect_args() 164 if (umoven(tcp, args[i], fdsize, fds) < 0) in match_xselect_args()
|
D | ChangeLog | 44578 Also, properly round fdsize up to word size of traced process, 50122 would make strace exit. This change caps fdsize so that 50127 * desc.c (decode_select): Cap fdsize to 1024*1024. 50128 * pathtrace.c (pathtrace_match): Cap fdsize to 1024*1024.
|