tty: Implement /dev/tty and fix some open() bugs
authorAlan Cox <alan@linux.intel.com>
Fri, 22 May 2015 10:35:54 +0000 (11:35 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 22 May 2015 10:35:54 +0000 (11:35 +0100)
commit58352bf065fa932aabc097fcbd92579fa65a1879
tree8a4be5019104f4b385c7240c9b0cbd891ec42e5c
parentb34d8cb0dc862a0b190dece3217cae16b4228488
tty: Implement /dev/tty and fix some open() bugs

Some rough edges to fix
Fix various existing crashes on open() - explains the df bug I think
Return correct error codes from device open fails
Kernel/include/kernel.h
Kernel/include/tty.h
Kernel/syscall_fs2.c
Kernel/tty.c