summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-08-13 18:14:32 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-08-13 18:14:32 +0000
commitd2a615687d56da577004868107d17b5b75f3ca6d (patch)
treec28f1e1a9b8d1b60f6e45c89b1648910f6dbcc39
parent87a0c5c4b6e7ff5412be0d7a142107c5e9de6fb6 (diff)
Handle more /dev/drmN devices.
ok matthieu@, jsg@
-rw-r--r--xserver/os/privsep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xserver/os/privsep.c b/xserver/os/privsep.c
index f31442194..514ab8cb5 100644
--- a/xserver/os/privsep.c
+++ b/xserver/os/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.25 2012/08/14 15:57:57 matthieu Exp $ */
+/* $OpenBSD: privsep.c,v 1.26 2013/08/13 18:14:31 kettenis Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -116,6 +116,9 @@ struct okdev {
{"/dev/pci", O_RDWR | O_NONBLOCK | O_EXCL},
{"/dev/agp0", O_RDWR | O_NONBLOCK | O_EXCL},
{"/dev/drm0", O_RDWR },
+ {"/dev/drm1", O_RDWR },
+ {"/dev/drm2", O_RDWR },
+ {"/dev/drm3", O_RDWR },
{"/dev/amdmsr", O_RDWR | O_EXCL},
{NULL, 0}
};