You need to sign in or sign up before continuing.
  • J
    console: add /proc/consoles · 23308ba5
    Jiri Slaby 提交于
    It allows users to see what consoles are currently known to the system
    and with what flags.
    
    It is based on Werner's patch, the part about traversing fds was
    removed, the code was moved to kernel/printk.c, where consoles are
    handled and it makes more sense to me.
    
    Signed-off-by: Jiri Slaby <jslaby@suse.cz> [cleanups]
    Signed-off-by: N"Dr. Werner Fink" <werner@suse.de>
    Cc: Al Viro <viro@ZenIV.linux.org.uk>
    Cc: Greg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    23308ba5
proc_console.c 2.2 KB