summaryrefslogtreecommitdiff
path: root/etc/etc.hp300/MAKEDEV.md
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-02-10 01:31:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-02-10 01:31:22 +0000
commit85848b86166719fe7164148608daa490bf9bfcdb (patch)
tree669ff49bb8253462e9b1fb75ac23bdbc1e344261 /etc/etc.hp300/MAKEDEV.md
parent92344befec63515228572bc04de856dfae3b3c00 (diff)
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.
Diffstat (limited to 'etc/etc.hp300/MAKEDEV.md')
-rw-r--r--etc/etc.hp300/MAKEDEV.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/etc.hp300/MAKEDEV.md b/etc/etc.hp300/MAKEDEV.md
index 85a90e3272a..78720866fc3 100644
--- a/etc/etc.hp300/MAKEDEV.md
+++ b/etc/etc.hp300/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.14 2004/01/13 15:13:14 todd Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.15 2004/02/10 01:31:20 millert Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001,2002,2003 Todd T. Fries <todd@OpenBSD.org>
@@ -66,6 +66,7 @@ _DEV(apci)
_TITLE(pty)
_DEV(tty, 4)
_DEV(pty, 5)
+_DEV(ptm, 52)
_TITLE(prn)
_DEV(ppi, 11)
_TITLE(call)