summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
AgeCommit message (Expand)Author
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-01-08Translate the TIOCSBRK & TIOCCBRK ioctl(2)s issued on a pty(4) slave toMartin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-07-04some of this code was written in an era when spaces cost extra.Ted Unangst
2017-02-11Add a flags argument to falloc() that lets it optionally set thePhilip Guenther
2016-05-24Remove two sysctls which were introduced only for development of theTheo de Raadt
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-01-28Convert to uiomove. Diff from Martin Natano.Stefan Kempf
2016-01-14Increase buffer sizes and watermarks for tty and pppStefan Fritsch
2015-12-05remove stale lint annotationsTed Unangst
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-10-28There are three situations where pty ioctl's result in a NDINIT.Theo de Raadt
2015-09-28easy size for free(); ok beckTheo de Raadt
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