diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-08-14 15:57:58 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-08-14 15:57:58 +0000 |
commit | c7a8e1b1773d0d958e222954556ca69d700d5b22 (patch) | |
tree | 3ec95450c6beabd31dd31cceb5a044fb5dc282c6 /xserver/os | |
parent | 43ea2e4eecf9a28f2f7252de3213f0826cdbe10a (diff) |
In priv_open_device() allow opening tty[E-J]0. While there remove
ttyD[1-7] from the list, since those devices will never get used by X.
Diffstat (limited to 'xserver/os')
-rw-r--r-- | xserver/os/privsep.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/xserver/os/privsep.c b/xserver/os/privsep.c index 112adc914..f31442194 100644 --- a/xserver/os/privsep.c +++ b/xserver/os/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.24 2012/08/12 14:06:42 matthieu Exp $ */ +/* $OpenBSD: privsep.c,v 1.25 2012/08/14 15:57:57 matthieu Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -107,13 +107,12 @@ struct okdev { {"/dev/ttyC6", O_RDWR | O_NONBLOCK | O_EXCL}, {"/dev/ttyC7", O_RDWR | O_NONBLOCK | O_EXCL}, {"/dev/ttyD0", O_RDWR | O_NONBLOCK | O_EXCL}, - {"/dev/ttyD1", O_RDWR | O_NONBLOCK | O_EXCL}, - {"/dev/ttyD2", O_RDWR | O_NONBLOCK | O_EXCL}, - {"/dev/ttyD3", O_RDWR | O_NONBLOCK | O_EXCL}, - {"/dev/ttyD4", O_RDWR | O_NONBLOCK | O_EXCL}, - {"/dev/ttyD5", O_RDWR | O_NONBLOCK | O_EXCL}, - {"/dev/ttyD6", O_RDWR | O_NONBLOCK | O_EXCL}, - {"/dev/ttyD7", O_RDWR | O_NONBLOCK | O_EXCL}, + {"/dev/ttyE0", O_RDWR | O_NONBLOCK | O_EXCL}, + {"/dev/ttyF0", O_RDWR | O_NONBLOCK | O_EXCL}, + {"/dev/ttyG0", O_RDWR | O_NONBLOCK | O_EXCL}, + {"/dev/ttyH0", O_RDWR | O_NONBLOCK | O_EXCL}, + {"/dev/ttyI0", O_RDWR | O_NONBLOCK | O_EXCL}, + {"/dev/ttyJ0", O_RDWR | O_NONBLOCK | O_EXCL}, {"/dev/pci", O_RDWR | O_NONBLOCK | O_EXCL}, {"/dev/agp0", O_RDWR | O_NONBLOCK | O_EXCL}, {"/dev/drm0", O_RDWR }, |