diff options
author | Elliott Hughes <enh@google.com> | 2016-10-28 15:56:01 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-10-30 17:38:37 -0500 |
commit | a583afc812cf7be74ebab72294c8df485908ff04 (patch) | |
tree | 3ec35e7b58e99c121193e94a3249787510323ec2 /toys/pending/ip.c | |
parent | 10e9abcb88be40b1382fca3d9010e46d4594996c (diff) | |
download | toybox-a583afc812cf7be74ebab72294c8df485908ff04.tar.gz |
Implement "dmesg -w".
Annoyingly, this means writing a new dmesg implementation that uses /dev/kmsg
rather than the klogctl system call. Worse, pre-3.5 kernels don't support
that, so we need to keep the old implementation around as long as we still
care about those kernels.
Since I'm here, add the fancy colors from modern dmesg and the -C flag.
Tested on Nexus 9's 3.10 kernel, an Ubuntu 3.13 kernel, and the
Nexus One's 2.6.35 kernel.
Diffstat (limited to 'toys/pending/ip.c')
0 files changed, 0 insertions, 0 deletions