commit | da96356c6ca68a4145b4920f62c1d7f606ee94d4 | [log] [tgz] |
---|---|---|
author | yaberauneya <yaberauneya> | Sun Nov 15 08:21:45 2009 +0000 |
committer | yaberauneya <yaberauneya> | Sun Nov 15 08:21:45 2009 +0000 |
tree | 4d350eca02e0fb32f8fa5935cc4ca1dca37d9ac3 | |
parent | ea695e4a871cdcc17c92495d148b0f842784e7e2 [diff] |
1. Skip over /proc/irq by default to avoid broken hardware / drivers, and thus avoid `hangs'. You can traverse over /proc/irq using -i th ough. 2. Make the selinux piece a compile-time conditional, to avoid the additional function call. 3. Fix the overflow issue on 64-bit systems by increasing values of total_obj, et all to unsigned long long's. 4. Only call close / closedir if fd is > 0 and dir is not NULL. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>