summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pty.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix pty descriptor leak if fork() fails.matthew2013-05-211-1/+3
| | | | ok millert
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+1
| | | | ok guenther millert kettenis
* ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) innicm2012-07-091-6/+2
| | | | | | util.h. ok guenther
* Drop support from openpty() for 8+ year old kernels that don't supportmatthew2012-04-261-59/+5
| | | | | | | /dev/ptm. Users are strongly encouraged to upgrade to a more recent release if they haven't already. ok deraadt
* please lint (without making anything else worse)deraadt2006-03-301-4/+4
|
* scrape $Id$ tags.espie2005-08-021-6/+1
| | | | okay deraadt@, millert@, krw@
* knf; otto okderaadt2004-05-281-13/+11
|
* Crank max ptys to 992. We now have 62 pty/tty pairs for each lettermillert2004-04-111-5/+6
| | | | | | 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]*
* Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETmillert2004-02-101-2/+37
| | | | | | | | | | | 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.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* some -Wall and spaces cleanup, scsi.c left.fgsch2002-06-091-5/+5
| | | | some brave soul should look at it.
* strlcpy at most 16 characters, so says man pagederaadt2002-05-241-4/+9
|
* KNFderaadt2002-05-241-4/+4
|
* permit threaded use; jb@freebsdderaadt1999-05-241-3/+3
|
* pty from p to z, P to T. includes vderaadt1996-08-091-7/+2
|
* fix multiple invocations; from tlb@viaweb.comderaadt1996-06-291-3/+3
|
* util.h: new resting placedownsj1996-06-171-2/+4
| | | | | | opendev.h: ok, so I merged it with util.h opendev.h: use util.h everything else: use "util.h"
* libutilderaadt1996-05-221-5/+9
|
* initial import of NetBSD treederaadt1995-10-181-0/+135