• Andrew Morton's avatar
    [PATCH] teach /proc/kmsg about O_NONBLOCK · 48c26153
    Andrew Morton authored
    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.
    48c26153
kmsg.c 1.08 KB