summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-04-20 01:30:27 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-04-20 01:30:27 +0000
commit9e072deaba49cb5f6281769746f2c10242a17f21 (patch)
tree6008619c63a2eced053414ee51e5da5d898fb029 /share/man
parent8dbd0e00fe7159e7a11e3402a34b716ed8500eaa (diff)
update to reflect that this is also used for X.Org
and do some minor cleaning while here. bits from matthieu, ok jmc
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/xf86.434
1 files changed, 17 insertions, 17 deletions
diff --git a/share/man/man4/xf86.4 b/share/man/man4/xf86.4
index deaf778c98e..f38cd305e2d 100644
--- a/share/man/man4/xf86.4
+++ b/share/man/man4/xf86.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: xf86.4,v 1.9 2004/05/03 15:18:19 drahn Exp $
+.\" $OpenBSD: xf86.4,v 1.10 2005/04/20 01:30:26 jaredy Exp $
.\"
.\" Copyright (c) 1998 Matthieu Herrb
.\" All rights reserved.
@@ -30,34 +30,31 @@
.Os
.Sh NAME
.Nm xf86
-.Nd XFree86 aperture driver
+.Nd X window system aperture driver
.Sh SYNOPSIS
.Cd "option APERTURE"
.Sh DESCRIPTION
On
-.Va alpha ,
-.Va amd64 ,
-.Va cats ,
-.Va i386 ,
-.Va macppc ,
-and
-.Va sparc64
+the alpha, amd64, cats, i386, macppc, and sparc64 architectures,
the
.Pa /dev/xf86
driver provides access to the memory and I/O ports of a VGA board
and to the PCI configuration registers
-for use by the XFree86 X servers
-when running with a kernel security level > 0.
+for use by the X servers
+when running with a kernel security level greater than 0.
.Pp
-The X servers require the use of this driver.
+The XFree86 and X.Org X servers require the use of this driver.
.Sh ACCESS CONTROL
Access to the
.Pa /dev/xf86
-device is allowed when the sysctl variable
+device is allowed when the
+.Xr sysctl 8
+variable
.Va machdep.allowaperture
->= 1.
+is greater than or equal to 1.
This variable (which has a default value of 0)
-can only be manipulated when the security level is <= 0, so it should be
+can only be manipulated when the security level
+is less than or equal to 0, so it should be
set in
.Pa /etc/sysctl.conf .
The possible values for
@@ -77,19 +74,22 @@ configuration registers is also allowed.
in addition to allowing access to
.Xr pci 4
configuration registers,
-the aperture driver allows access to the whole 1st megabyte of physical
-memory, permitting use of the int10 emulation in XFree86 4.0.x.
+the aperture driver allows access to the whole first megabyte of physical
+memory, permitting use of the int10 emulation in XFree86 4.x and X.Org 6.8
+and later.
Note that this can cause some security problems, since the process that
has access to the aperture driver can also access part of the kernel
memory.
This mode is not supported on alpha or sparc64.
.El
.Sh SEE ALSO
+.Xr Xorg 1 ,
.Xr XF86_Accel 1 ,
.Xr XF86_SVGA 1 ,
.Xr options 4 ,
.Xr pci 4 ,
.Xr sysctl.conf 5 ,
+.Xr securelevel 7 ,
.Xr config 8 ,
.Xr sysctl 8
.Sh HISTORY