commit | b6d92b46e6f66f011157528e7116eafb51fb3c51 | [log] [tgz] |
---|---|---|
author | Avery Pennarun <apenwarr@gmail.com> | Thu Feb 21 21:00:38 2013 -0500 |
committer | Avery Pennarun <apenwarr@gmail.com> | Thu Feb 21 21:01:51 2013 -0500 |
tree | 32c11fb1062bb90f8a70bb4a3bd6b91a267a7724 | |
parent | 84e17b59c579accfdf89a4a074e5d2bc70d3b390 [diff] |
dmesg: dynamically allocate dmesg buffer. The previous version assumed the kernel dmesg buffer was 128k. All reasonably recent kernels can tell you the buffer size using a syscall, so let's use that instead. Change-Id: Ida692a4210e9c653e5455548f7b37609c1103abf