summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
AgeCommit message (Expand)Author
2010-04-12Some of the line disciplines want to check for suser. Better to pass themTed Unangst
2010-04-02Add a case so that FIONREAD on the master side of a pty returns the sizeNicholas Marriott
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
2009-10-30Add missing KNOTE() calls after selwakeup() in ptcread() (to wake up writersNicholas Marriott
2009-10-14Remove a redundant if (maxpty == npty) in check_pty - this is also tested byNicholas Marriott
2009-09-29Having pty_isfree_locked() be inlined may make pty allocation a tinyTheo de Raadt
2008-08-02Fix integer truncation in pcread() and ptcwrite(). ok miod, otto, deraadt.Stefan Kempf
2008-05-07check TIOCSIG for 0 and do not send that to psignal() and pgsignal()Theo de Raadt
2008-04-10scrub local stack-based buffers in the tty subsystem. tested by a lot ofTheo de Raadt
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-05-29Add a name argument to the RWLOCK_INITIALIZER macro.Thordur I. Bjornsson
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-01-18Fix logic botch when checking for COMPAT_SUNOS binary specifics; repairsMiod Vallat
2005-12-21ansi/deregister. No binary change.Jonathan Gray
2005-11-21Fix a crash in ptmioctl() in the error path when the master hasTodd C. Miller
2005-05-26RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@Pedro Martelletto
2005-01-28When setting kern.tty.maxptys, store the old value in oldp, notTodd C. Miller
2004-12-19Set atime and mtime when giving out a new pty. With help from tholo@Todd C. Miller
2004-12-07* add a missing vput() if VOP_SETATTR() fails.Patrick Latifi
2004-07-22remove p arg from fdplockTed Unangst
2004-07-21I was wrong. The assymetry created by the proc argument to rw_enter_writeArtur Grabowski
2004-07-09go away staticsNiklas Hallqvist
2004-04-11Crank max ptys to 992. We now have 62 pty/tty pairs for each letterTodd C. Miller
2004-04-11Fix calculation of the index into TTY_LETTERS. This only workedTodd C. Miller
2004-02-23Make sure we allow for the time when check_pty has not yet been calledBob Beck
2004-02-10Fix off-by-one wrt TTY_LETTERS and minor being out of bounds. MissedTodd C. Miller
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
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-07-22make it compile again damnit; from slash@peereboom.usMichael Shalayeff
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-14doing kqueue on the master side of the pty returns eventsMichael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-17ICANON is a t_lflag, not t_iflag; neelnatu@yahoo.comTheo de Raadt
2001-07-19make number of ptys configurable; deraadt@ okMichael Shalayeff
1997-11-30fix TIOCGPGRP in sunos emulationTheo de Raadt
1997-11-13EXTPROC fix from lite2.Todd C. Miller
1997-02-24OpenBSD tagsNiklas Hallqvist
1996-06-10tty_init/attach/detach()Theo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-02-29From NetBSD: Merge with NetBSD 960217Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt