summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
AgeCommit message (Expand)Author
2010-04-12Some of the line disciplines want to check for suser. Better to pass themTed Unangst
2009-11-27typo in documentation; missing full stop.Igor Sobrado
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-10-30Add missing KNOTE() calls after selwakeup() in ptcread() (to wake up writersNicholas Marriott
2009-10-28For the TIOCSET* ioctls, validate that the tty speeds are positive (sinceTheo de Raadt
2009-07-19clalloc() can't fail, so there's no need to handle failure cases.Bret Lambert
2008-12-24EVFILT_WRITE filters should return the amount of space remaining in theMark Kettenis
2008-11-11for ^T support, grab all the information from the process before goingTheo de Raadt
2008-07-28Fix integer truncation in ttwrite(). ok deraadt, miod.Stefan Kempf
2008-05-23tputchar() can put characters on the tty output queue if clocal is set,Theo de Raadt
2008-04-10scrub local stack-based buffers in the tty subsystem. tested by a lot ofTheo de Raadt
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-06-17avoid missing events for timestamping (dcd change at same time as cts);Theo de Raadt
2006-04-27create a (very simple) method for timestamping CTS & DCD events on ttys,Theo de Raadt
2005-12-21ansi/deregister. No binary change.Jonathan Gray
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-11-18handle SONPROC; ok aaron, deraadt, krwMarkus Friedl
2004-09-19constify speedtabs and make ttspeedtab() take a const struct speedtab *Michael Shalayeff
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-03-19check for CLOCAL flag in right variable; from sq@oganer.netTheo de Raadt
2004-02-10Dynamically allocate space for ptys; adapted from NetBSD by beck@Todd C. Miller
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2003-08-23knfTheo de Raadt
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-12-20Clear error before jumping back to the input loop. If error was setTodd C. Miller
2002-12-12can now get _ttylist via sysctl; millert okTheo de Raadt
2002-07-30Release sessions to avoid memory leak. From NetBSD. ok deraadt@Thomas Nordin
2002-07-11Make sure to protect ttypend with spltty all the time.Artur Grabowski
2002-07-03Change all variables definitions (int foo) in sys/sys/*.h to variableMiod Vallat
2002-06-11splassert(IPL_TTY) where comments tell us we shouldArtur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-30Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ okThomas Nordin
2001-12-27Increment reference count when copying session pointer pr#2112. ok deraadt@Thomas Nordin
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-10-07Setting the VTIME to a value larger than 214 lead to an integer overflowArtur Grabowski
2001-09-28Random cleanup (I don't like Ms in my tree).Artur Grabowski
2001-07-05Get rid of REAL_CLISTS. It was never implemented and the tentacles areArtur Grabowski
2001-05-14tty stats sysctl, deraadt@okAngelos D. Keromytis
2001-03-02Casting magic to avoid warnings on alpha.Artur Grabowski
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
2000-07-19Many drivers use a timeout on ttrstrt, make this a generic interface.Artur Grabowski
2000-06-05Changes to exit handling.Artur Grabowski
2000-03-23Iiieeek! This kludge was almost funny.Artur Grabowski
1999-11-25Use PAGE_SIZE instead of NBPG.Artur Grabowski
1999-06-01remove the "ifdef pmap_resident_count" hack and replace it with a macro.Artur Grabowski
1998-03-28nasty indentTheo de Raadt