summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
AgeCommit message (Expand)Author
2022-09-02openpty() family of functions use /dev/ptm PTMGET to open a master+slave fdTheo de Raadt
2022-07-02Remove unused device poll functions.Visa Hankala
2021-12-15Adjust pty and tty event filtersVisa Hankala
2021-12-13Revise EVFILT_EXCEPT filtersVisa Hankala
2021-10-24use NULL not 0 for pointer values in kernJonathan Gray
2021-10-22Make EVFILT_EXCEPT handling separate from the read filter.Martin Pieuchot
2021-02-08Do not hold onto the fdplock longer then needed. Release the lock afterClaudio Jeker
2021-02-04Revert previous commit. The vnode returned by ptm_vn_open() is open andClaudio Jeker
2021-02-04Prevent a lock order issue by shuffling code around. Instead of allocatingClaudio Jeker
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-09-09Introduce a helper to check if a signal is ignored or masked by a thread.Martin Pieuchot
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