summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Clear error before jumping back to the input loop. If error was setmillert2002-12-201-1/+2
| | | | to EWOULDBLOCK it would otherwise not get cleared; Jim Geovedi
* can now get _ttylist via sysctl; millert okderaadt2002-12-121-1/+42
|
* Release sessions to avoid memory leak. From NetBSD. ok deraadt@nordin2002-07-301-1/+6
|
* Make sure to protect ttypend with spltty all the time.art2002-07-111-1/+12
| | | | Implemented with paranoia.
* Change all variables definitions (int foo) in sys/sys/*.h to variablemiod2002-07-031-1/+3
| | | | declarations (extern int foo), and compensate in the appropriate locations.
* splassert(IPL_TTY) where comments tell us we shouldart2002-06-111-6/+8
|
* First round of __P removal in sysmillert2002-03-141-11/+11
|
* Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ oknordin2002-01-301-6/+1
|
* Increment reference count when copying session pointer pr#2112. ok deraadt@nordin2001-12-271-1/+2
|
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-2/+2
| | | | (Look ma, I might have broken the tree)
* Setting the VTIME to a value larger than 214 lead to an integer overflowart2001-10-071-51/+59
| | | | | | | | | in the calculation of the sleep timeout which could lead to a panic. Instead of doing the very error-prone, and in more than one way incorrect, sleep time calculation, allocate an external timeout and let it wake us. Reported by: Raan Young <raan@graand-visions.com>
* Random cleanup (I don't like Ms in my tree).art2001-09-281-6/+6
|
* Get rid of REAL_CLISTS. It was never implemented and the tentacles areart2001-07-051-24/+1
| | | | everywhhere.
* tty stats sysctl, deraadt@okangelos2001-05-141-1/+32
|
* Casting magic to avoid warnings on alpha.art2001-03-021-6/+6
|
* port kqueue changes from freebsd, plus all required openbsd glue.provos2001-03-011-1/+90
| | | | | | | okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
* Many drivers use a timeout on ttrstrt, make this a generic interface.art2000-07-191-1/+2
|
* Changes to exit handling.art2000-06-051-3/+3
| | | | | | | | cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD
* Iiieeek! This kludge was almost funny.art2000-03-231-4/+2
| | | | Probably something from the stone age. Kill it.
* Use PAGE_SIZE instead of NBPG.art1999-11-251-2/+2
|
* remove the "ifdef pmap_resident_count" hack and replace it with a macro.art1999-06-011-7/+2
| | | | change some &vm->vm_pmap to vm->vm_map.pmap
* nasty indentderaadt1998-03-281-3/+3
|
* Please GCC 2.8's harsher view of good styleniklas1998-02-201-4/+5
|
* bad types; wileyc@sekiya.twics.co.jpderaadt1998-02-031-2/+2
|
* Count characters even when !OPOST and FLUSHO.deraadt1997-11-131-6/+4
| | | | Don't output the \r for ONLCR if FLUSHO; mycroft
* in ttywait(), double check if we need to sleep before sleepingderaadt1997-11-131-4/+9
|
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-3/+3
|
* When the input queues are flushed on a blocked tty, make sure to unblockniklas1997-10-211-4/+17
| | | | | | | it, if it's currently in a blocked state due to input flow control. This was typically seen with drivers implementing th t_hwiflow function, and starting of ppp (line discipline changes flushes the input queue). Independently discovered and fixed slightly different than NetBSD PR#4227.
* back out vfs lite2 till after 2.2deraadt1997-10-061-3/+3
|
* VFS Lite2 Changescsapuntz1997-10-061-3/+3
|
* proper englishderaadt1997-03-261-2/+2
|
* Be more Posixly correct; from FreeBSDtholo1997-01-121-18/+26
|
* Remove lots of timer_state structs as they just ate memory and only a few wasniklas1997-01-051-2/+2
| | | | | | | ever used. Now a single state is kept for net, tty and disk events resp. Also, call the randomness from disk_unbusy instead of biodone, as biodone gets a lot of virtual events (from virtual filesystems etc), and as a bonus: feed xfer time and size into the entropy pool too.
* Really set column to 0 when outputting a carriage return...tholo1996-12-191-2/+2
|
* Fix oversight in column handling with OCRNL enabledtholo1996-12-171-2/+2
|
* Reset output column when outputting \r with ONLCRtholo1996-12-171-1/+2
|
* Implement more tty flags for better portability from other systems:tholo1996-12-161-3/+81
| | | | | | | | | | | | | XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags.
* -Wcast-qual happinessniklas1996-12-081-4/+4
|
* Flush input and output in receipt of break (unless break is ignored)tholo1996-11-111-2/+3
|
* Implement CREADtholo1996-11-091-1/+6
|
* Use passed-in process, not curproc to determine if the process is in thetholo1996-11-091-2/+2
| | | | background
* 0377 handling in ISTRIP/PARMRK modederaadt1996-11-061-4/+8
|
* Add more cases that should generate SIGTTOUtholo1996-11-051-1/+4
|
* Correct error returns from tcsetpgrp() aka ioctl(, TIOCSPGRP, )tholo1996-11-051-2/+4
|
* support _POSIX_VDISABLE for VEOF and VEOL tooderaadt1996-11-041-3/+3
|
* If VMIN=0, and timer>0 and expires, read should return 0deraadt1996-11-041-1/+3
|
* random device is permanent now.mickey1996-10-191-7/+1
|
* rnd -> randomderaadt1996-08-291-4/+4
|
* xconsole was broken after last patch (UCONSOLE zap).mickey1996-08-011-14/+17
|
* TIOCCONS must be able to VOP_ACCESS() /dev/console to succeed; fixes DOS attackderaadt1996-07-311-6/+17
|