v2: Kernel printk buffer handling updates

Peter Korsgaard jacmet at sunsite.dk
Sat Jan 5 23:07:16 UTC 2013


Hi,

Linux 3.5 extended the /dev/kmsg interface for injecting log messages
from user space into the kernel printk buffer to accept (and store) the
full syslog facility/priority value.

The following patch series updates dmesg and klogd to handle this, and
adds an alternative to the syslogd ipc support which uses it.

Changes since v1:
- Rebased against master
- Reworked based on Mike's feedback:
  - Fixed off-by-one in dmesg
  - Move kernel version check to kmsg_init()
- Added kmsg_cleanup() similar to ipcsyslog_cleanup()

--
Bye, Peter Korsgaard


More information about the busybox mailing list