History log of /openbsd/lib/libutil/openpty.3 (Results 1 – 20 of 20)
Revision Date Author Comments
# 78fa49ea 20-Apr-2022 millert <millert@openbsd.org>

Make the termp and winp arguments for openpty, et al. const.
This matches the prototypes in glibc and musl libc.
From Matthew Martin. OK tb@


# 57f7e8ae 20-Apr-2017 jmc <jmc@openbsd.org>

add previous to NAME;


# c2a62bf3 20-Apr-2017 nicm <nicm@openbsd.org>

Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programs
to separate the open(/dev/ptm) from the ioctl(PTMGET) for privilege
separation or pledge().

Based on a diff from reyk@.

ok d

Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programs
to separate the open(/dev/ptm) from the ioctl(PTMGET) for privilege
separation or pledge().

Based on a diff from reyk@.

ok deraadt millert

show more ...


# 4e92611e 28-Aug-2015 kettenis <kettenis@openbsd.org>

Remove lies about openpty(4) searching for a free pseudo-tty by iterating
through all existing pseudo-tty devices in /dev.


# 86f9d4cd 05-Jun-2013 tedu <tedu@openbsd.org>

use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze


# 9490d37c 31-May-2007 jmc <jmc@openbsd.org>

convert to new .Dd format;


# 1982d594 25-Nov-2004 jmc <jmc@openbsd.org>

update FILES;

fixes pr #3998; diff from frank denis, though slightly different fix
committed;
help and ok millert@


# 9d693689 21-Feb-2004 espie <espie@openbsd.org>

typo


# 3113de35 10-Feb-2004 millert <millert@openbsd.org>

Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGET
ioctl(2), an unprivileged process may allocate a pty and have its owner
and mode set appropriately. This means that programs s

Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGET
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.

show more ...


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 404f6687 02-Jun-2003 jmc <jmc@openbsd.org>

- section reorder
- clean up .Xr's


# 6b9dd65b 23-May-2003 jmc <jmc@openbsd.org>

- typos
- new sentence, new line


# ee997aea 01-May-2002 mpech <mpech@openbsd.org>

o) start new sentence on a new line;
o) always close .Bl tags;
o) fix usage of .Xr;

millert@ ok


# c2da31f4 13-Jul-2001 millert <millert@openbsd.org>

Make the list of required #includes match reality.


# 505edac4 06-Dec-1999 deraadt <deraadt@openbsd.org>

say how long the buffer needs to be


# 7e2d826e 23-Aug-1999 millert <millert@openbsd.org>

Remove a lie. We don't skip /dev/ttyv* since our pcvt uses /dev/ttyC*.


# 62127031 07-Jul-1999 aaron <aaron@openbsd.org>

when using `-' as a negative sign, escape it with a backslash so troff knows
it's not supposed to be a hyphen/dash


# fd62628b 24-Nov-1996 millert <millert@openbsd.org>

Update from NetBSD.
- correct two .Fn references to forkpty()
- describe retval of forkpty(); it can return PID as well
- add xref to fork(2)


# c247f093 07-Sep-1996 downsj <downsj@openbsd.org>

openpty() returns int.


# 4b826ba8 22-May-1996 deraadt <deraadt@openbsd.org>

libutil