.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" Portions extracted from linux/kernel/ioport.c (no copyright notice). .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .\" Modified Tue Aug 1 16:47 1995 by Jochen Karrer .\" .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond .\" Modified Fri Nov 27 14:50:36 CET 1998 by Andries Brouwer .\" .TH IOPL 2 "24 Juli 1993" "Linux 0.99.11" "Linux Programmeurs Handleiding" .SH NAAM iopl \- verander In/Uit privilege niveau .SH OVERZICHT .\" .B #include .\" /* voor libc5 */ .\" .br .B #include .\" /* voor glibc */ .sp .BI "int iopl(int " niveau ); .SH BESCHRIJVING .B iopl veranderd het In/Uit privilege niveau van het huidige proces, zoals opgegeven in .IR niveau . Deze aanroep is nodig om 8514-verenigbare X servers toe te staan om onder Linux te lopen. Omdat deze X servers toegang tot alle 65536 In/Uit poorten vereisen is de .B ioperm aanroep niet voldoende. In aanvulling op het toestaan van onbeperkte In/Uit poort toegang, staat het lopen met een hoger In/Uit privilege het proces ook toe onderbrekingen uit te zetten. Dit zal het systeem waarschijnlijk crashen en wordt niet aangeraden. Toestemmingen worden geërfd door "fork" {splits} en "exec" {voer-uit}. Het In/Uit privilege niveau voor een gewoon proces is 0. .SH "TERUGGEEF WAARDE" Bij success wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven, en .I errno wordt passend gezet. .SH FOUTEN .TP .B EINVAL {ongeldig} .I niveau is groter dat 3. .TP .B EPERM {toestemming} De huidige gebruiker is niet de super-gebruiker. .SH "OPMERKINGEN VAN DE KERNEL BRONCODE" .B iopl moet worden gebruikt als je toegang tot In/Uit poorten wilt over de 0x3ff grens: om de volledige 65536 poorten ge-bit-inkaart-gebracht {"bitmapped"} te krijgen heb je 8kB bitkaart{"bitmap"}/proces nodig, wat een beetje overdreven is. .SH "VOLDOET AAN" \fBiopl\fP is Linux-eigen en zou niet gebruikt moeten worden in processen die overdraagbaar bedoeld zijn. .SH "OVERDRAAGBAARHEID" Onder libc5 werd de prototype voor .BR iopl () gegeven in .IR . .SH "ZIE OOK" .BR ioperm "(2) {in uit toestemming}" .\" Translated Mon Dec 4 16:42:57 CET 2000 by Jos Boersema .\" .SH VERTALING Dit is een handleiding uit \fBmanpages-dev 1.29\fR. Alles wat tussen `\fB{\fR'..`\fB}\fR' staat is \fBaanvullende vertaling\fR, en hoort \fBniet\fR bij de originele handleiding. Email naar . .\"Vertaling Jos Boersema $Id: iopl.2,v 1.1 2003/04/28 18:43:34 bokkie Exp $