summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
AgeCommit message (Expand)Author
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2014-11-18Nuke yet more obvious #include duplications.Kenneth R Westerback
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-09use explicit_bzero for stack and freed variablesTed Unangst
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
2013-12-13Remove the 4.3BSD tty(4) compatibility shims. RIP. ok millert@Christian Weisgerber
2013-10-11poll(2) on a closed tty should return POLLIN|POLLHUP in reventsTodd C. Miller
2013-10-06Back out POLLHUP change until a problem with xterm hanging on closeTodd C. Miller
2013-10-04poll(2) on a closed tty should return POLLIN|POLLHUP in reventsTodd C. Miller
2013-01-02Fix a bug in ptcwrite() that could result in up to 100 lost bytesTodd C. Miller
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