summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
AgeCommit message (Expand)Author
2021-10-11Setting EV_EOF requires modifying kn->kn_flags. However, that relies onthorpej
2021-09-29ttyread_filtops, ttywrite_filtops, ptcread_filtops, and ptcwrite_filtopsthorpej
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
2020-12-11Use sel{record,remove}_knote().thorpej
2019-02-15Fix reporting EOF via kevent and add a test casemgorny
2018-09-03Rename min/max -> uimin/uimax for better honesty.riastradh
2017-10-25Use C99 initializer for filteropsmaya
2015-08-20include ioconf.h instead of locally declaring the prototype of the attachchristos
2014-10-18src is too big these days to tolerate superfluous apostrophes. It'ssnj
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
2014-05-22Define TTY_ALLOW_PRIVATE in tty.c, tty_pty.c, and tty_conf.c.dholland
2014-04-04Kernel portion of the multiple ptyfs mount support. Protocol changedchristos
2014-03-28Fix unused variable 'mp'ozaki-r
2014-03-27From Ilya Zykov:christos
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
2014-01-29tty_pty: add CTASSERTs to document assumptionsyamt
2013-09-15Remove unused variablesmartin
2012-10-20Set tp->t_dev to the correct dev_t value in both ptmopen and ptsopen.apb
2011-09-24put back the cc == 0 check, because we can re-enter the loop with cc != 0christos
2011-09-23Fix various bogus things:christos
2011-07-26stop using lbolt in ttyyamt
2011-04-24Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() forrmind
2011-04-09Add a few KASSERT to verify we do not accidently use minor(NODEV) as anmartin
2011-04-09KNF, add a comment and an assertion.martin
2011-04-09In ttymalloc() explicitly initialize t_dev to NODEV.martin
2010-11-16Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode fromdyoung
2010-09-05Cosmetic: remove unnecessary parenthesization in return statements.dyoung
2010-06-13use NULL instead of 0 for pointers.yamt
2010-01-24Amplify comment about ultrix bits.dholland
2009-12-20Add a pointing to an explanation of why we have #ifdef pmax stuff in here.pooka
2009-10-14Error out of ptcread() if the uio length supplied is zero before the codedsl
2009-10-11Fix locking when collecting pt_read and pt_ucntl.dsl
2009-06-12Writes on the controlling tty were not being awoken from blocks,plunky
2009-03-09KNF. ANSI'fy.uebayasi
2009-01-22malloc -> kmem_allocyamt
2008-11-15explicitly include <sys/ioctl_compat.h> since we explicitly usemrg
2008-11-14Remove unneeded compat ifdef.ad
2008-09-03Make ioctl(FIONREAD) on the master side of a pty return the amount ofdrochner
2008-06-16PPWAIT need only be locked by proc_lock, so move it to proc::p_lflag.ad
2008-05-25Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()ad
2008-04-20Improve ^T / SIGINFO handling:ad
2008-03-01Welcome to 4.99.55:rmind
2007-12-30Pull up 1.104.2.3:ad
2007-12-22Restore seperate condvars for clist i/o and clist control activity.ad
2007-12-05Do not "return 1" from kqfilter for errors. That value is passedpooka
2007-11-19Tidy up the locking a bit.ad
2007-11-19- Factor out too many copies of the same bit of tty code.ad
2007-11-07Merge tty changes from the vmlocking branch.ad
2007-04-17wrap calls to pgsignal() in proclist_mutexpooka
2007-03-12Use mutexes/condvars.ad