[PATCH] teach /proc/kmsg about O_NONBLOCK
If there's nothing available and the file is O_NONBLOCK, return -EAGAIN. This is a bit grubby - really we should push the file* down into do_syslog() and handle it inside the spinlock.
Showing
Please register or sign in to comment