Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-04-11 | Crank max ptys to 992. We now have 62 pty/tty pairs for each letter | Todd C. Miller | |
instead of 16. E.g. it is now /dev/{p,t}typ[0-9a-zA-z] instead of just /dev/{p,t}typ[0-9a-f]. This requires that you update MAKEDEV and run: # cd /dev && ./MAKEDEV pty0 && rm -f [pt]ty[rq]* | |||
2004-04-11 | Fix calculation of the index into TTY_LETTERS. This only worked | Todd C. Miller | |
because sizeof(TTY_LETTERS) == sizeof(TTY_SUFFIX). | |||
2004-02-23 | Make sure we allow for the time when check_pty has not yet been called | Bob Beck | |
before we get invoked, by making sure getfree thinks an unused and unallocated pt_softc entry is actually free rather than following NULL. ok cedric@ | |||
2004-02-10 | Fix off-by-one wrt TTY_LETTERS and minor being out of bounds. Missed | Todd C. Miller | |
when I fixed the other TTY_LETTERS/TTY_SUFFIX off-by-ones. | |||
2004-02-10 | Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGET | Todd C. Miller | |
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many. | |||
2004-02-10 | Dynamically allocate space for ptys; adapted from NetBSD by beck@ | Todd C. Miller | |
2003-10-03 | Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need for | Miod Vallat | |
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me... | |||
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
2003-07-22 | make it compile again damnit; from slash@peereboom.us | Michael Shalayeff | |
2003-07-21 | remove caddr_t casts. it's just silly to cast something when the function | Ted Unangst | |
takes a void *. convert uiomove to take a void * as well. ok deraadt@ | |||
2003-06-14 | doing kqueue on the master side of the pty returns events | Michael Shalayeff | |
for the slave size as described in the pr3209. the regress has been created to verify for the conditions. from wayne@epipe.com.au | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-02-17 | ICANON is a t_lflag, not t_iflag; neelnatu@yahoo.com | Theo de Raadt | |
2001-07-19 | make number of ptys configurable; deraadt@ ok | Michael Shalayeff | |
1997-11-30 | fix TIOCGPGRP in sunos emulation | Theo de Raadt | |
1997-11-13 | EXTPROC fix from lite2. | Todd C. Miller | |
1997-02-24 | OpenBSD tags | Niklas Hallqvist | |
1996-06-10 | tty_init/attach/detach() | Theo de Raadt | |
1996-04-21 | partial sync with netbsd 960418, more to come | Theo de Raadt | |
1996-02-29 | From NetBSD: Merge with NetBSD 960217 | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |