commit | b3bbc7b16067c82e528d3de580f807b8316f096e | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Wed Jun 29 11:54:03 2016 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Wed Jun 29 11:54:03 2016 -0400 |
tree | a9670871f758888406a3f8c321631b51be230bfb | |
parent | 4da0bc5ef8e0fdea65335599d947d74b7b321daa [diff] |
fix incorrect definition of RUSAGE_CHILDREN in sys/resource.h the kernel ABI value for RUSAGE_CHILDREN is -1, not 1. the latter is actually interpreted as RUSAGE_THREAD, to obtain values for just the calling thread and not the whole process.