diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2000-12-17 21:10:32 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2000-12-17 21:10:32 +0000 |
commit | 06dfc172b936c807d2bd242ca4fd24125ba151bd (patch) | |
tree | 6f7010c76cc1531b47fc4a79d56d775bb90ab39a /share/man/man4/man4.i386 | |
parent | 40a4efcd8b7e1f72d00055809e7694003a84a876 (diff) |
Add a new possible value for the machdep.allowaperture sysctl: `2'
allows access to the whole 1st megabyte of memory, for use by XFree86
4.0.x int10 code. (ok, deraadt@) CVS:
----------------------------------------------------------------------
sys/arch/i386/i386/mem.c share/man/man4/man4.i386/xf86.4 CVS:
----------------------------------------------------------------------
Diffstat (limited to 'share/man/man4/man4.i386')
-rw-r--r-- | share/man/man4/man4.i386/xf86.4 | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/share/man/man4/man4.i386/xf86.4 b/share/man/man4/man4.i386/xf86.4 index 0e38a7924c3..77d8eab6d2c 100644 --- a/share/man/man4/man4.i386/xf86.4 +++ b/share/man/man4/man4.i386/xf86.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: xf86.4,v 1.11 2000/11/10 20:02:18 todd Exp $ +.\" $OpenBSD: xf86.4,v 1.12 2000/12/17 21:10:31 matthieu Exp $ .\" .\" Copyright (c) 1998 Matthieu Herrb .\" All rights reserved. @@ -47,11 +47,28 @@ Access to the .Pa /dev/xf86 device is allowed when the sysctl variable .Va machdep.allowaperture -= 1. +>= 1. This variable (which default value is 0) can only be manipulated when the security level is <= 0, so it should be set in .Pa /etc/sysctl.conf . +The possible values for +.Va machdep.allowaperture +are: +.Bl -tag -width Ds +.It 0 +the aperture driver is disabled. Opening it returns +.Dv EPERM. +.It 1 +the aperture driver allows access to standard VGA framebuffer and +BIOS. +.It 2 +the aperture driver allow access to the whole 1st megabyte of physical +memory, for the use of the int10 emulation in XFree86 4.0.x. +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. +.El .Sh SEE ALSO .Xr XF86_Accel 1 , .Xr XF86_SVGA 1 , |