busybox/sysklogd
Peter Korsgaard d189b598b4 klogd: 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 use strtoul to parse it.

function                                             old     new   delta
klogd_main                                           490     525     +35
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 35/0)               Total: 35 bytes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-05 21:03:19 -05:00
..
Config.src small fixes atop syslog config patch 2011-04-16 20:15:14 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
klogd.c klogd: handle multi-char log levels 2013-01-05 21:03:19 -05:00
logger.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
logread.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
syslogd_and_logger.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
syslogd.c CONFIG_PID_FILE_PATH: new configuration option for pidfile paths 2012-12-19 15:53:33 -05:00