busybox/util-linux
Peter Korsgaard 3917fa32dc dmesg: handle multi-char log levels
Since Linux 3.5 (7ff9554bb5: printk: convert byte-buffer to variable-length
record buffer), klog buffer can now contain log lines with multi-char
loglevel indicators (<[0-9]+>) - So we can no longer just skip 3 bytes.

Instead skip past the terminating '>' like util-linux does.

function                                             old     new   delta
dmesg_main                                           266     280     +13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 13/0)               Total: 13 bytes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-05 21:02:14 -05:00
..
volume_id volume_id: add exFAT detection 2012-11-13 14:40:37 +01:00
acpid.c CONFIG_PID_FILE_PATH: new configuration option for pidfile paths 2012-12-19 15:53:33 -05:00
blkid.c blkid: if parameters are given, do not scan /dev 2012-03-03 15:09:07 +01:00
blockdev.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
Config.src volume_id: add exFAT detection 2012-11-13 14:40:37 +01:00
dmesg.c dmesg: handle multi-char log levels 2013-01-05 21:02:14 -05:00
fbset.c fbset: respect rgba configuration lines in fb.modes 2012-07-07 19:58:15 +02:00
fdformat.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
fdisk_aix.c
fdisk_gpt.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
fdisk_osf.c fdisk_osf: simplify ifdef (incidentally, adds support for Microblaze) 2011-01-31 05:55:52 +01:00
fdisk_sgi.c
fdisk_sun.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
fdisk.c randomconfig fixes 2011-08-09 22:49:15 +02:00
findfs.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
flock.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
freeramdisk.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
fsck_minix.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
getopt.c getopt: trim help text 2012-02-09 18:39:16 +01:00
hexdump.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
hwclock.c hwclock: fix wrong comparison of time value (when it will overlow int) 2012-04-17 19:25:13 +02:00
ipcrm.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
ipcs.c replace nonstandard unsigned typedefs 2011-06-03 20:25:17 +02:00
Kbuild.src mdev: expand --help so that it's actually useful. 2011-09-19 12:18:11 +02:00
losetup.c losetup: implement -r option. Closes 4033. 2011-09-12 08:30:16 +02:00
lspci.c typo fixes 2011-07-08 05:47:49 +02:00
lsusb.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
mdev.c mdev: tell kernel that we didn't find the firmware 2012-05-19 23:39:45 +02:00
minix.h
mkfs_ext2_test.sh
mkfs_ext2.c mount: fix the wrongly stored fs creation time 2012-06-21 16:50:46 +02:00
mkfs_ext2.txt
mkfs_minix.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mkfs_reiser.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mkfs_vfat.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mkswap.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
more.c *: better comments on termios manipulations. No code changes. 2012-01-15 23:00:13 +01:00
mount.c mount: support strictatime option. Closes 5240 2012-06-26 16:09:00 +02:00
pivot_root.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
rdate.c rdate: code shrink 2012-06-11 14:57:29 +02:00
rdev.c *: style fixes. no code changes 2011-12-15 12:39:25 +01:00
readprofile.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
rev.c mass removal of underscores from _BB_DIR_foo and _BB_SUID_foo 2011-01-18 13:58:01 +01:00
rtcwake.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
script.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
scriptreplay.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
setarch.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
swaponoff.c remove duplicate include <sys/swap.h> 2011-10-22 06:39:00 +02:00
switch_root.c libbb: make xchroot do a chdir("/") after chroot 2012-03-08 00:28:24 +01:00
umount.c umount: make -d always active, add -D to suppress it 2012-04-17 13:07:28 +02:00