summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
AgeCommit message (Expand)Author
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe
2011-04-03Move PPWAIT flag from struct proc to process, so that rthreads inPhilip Guenthe
2010-09-24dead store; found by clangTheo de Raadt
2010-08-06Every time you ignore uiomove() return value, $DEITY kills a littleMiod Vallat
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-21ptm needs no read/write, just use enodev.Nicholas Marriott
2010-07-02remove support for compat_sunos (and m68k4k). ok deraadt guentherTed Unangst
2010-07-02Move common code for waking up writers on a tty into a function.Nicholas Marriott
2010-06-28Allow tty drivers to request larger buffers at attach time using aTheo de Raadt
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