summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
AgeCommit message (Expand)Author
2020-07-20Sigh. Only the ptyc case should tsleep in ttyretype, since others canTheo de Raadt
2020-07-14A pty write containing VDISCARD, VREPRINT, or various retyping cases ofTheo de Raadt
2020-06-22Extend kqueue interface with EVFILT_EXCEPT filter.Martin Pieuchot
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.Martin Pieuchot
2020-05-21Add missing ICANON check in filt_ptcwrite().Martin Pieuchot
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-01-11Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-07-19ttysleep(): drop unused timeout parametercheloha
2019-03-11Bring back revision 1.91 now that vmd has been fixed, repeating theanton
2019-03-06Revert revision 1.91. It results in significant log spam whenTheo Buehler
2019-03-04When closing the slave end of a pty, generate an EOF event to any kqueueanton
2018-08-30Remove dead code related to tty allocation for ptys. Back in revision 1.17 ofanton
2018-08-29Initialize device numbers for newly allocated ptys. Prevents a panic caused byanton
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-02Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
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