.\" -*- coding: UTF-8 -*- .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" Portions extracted from linux/kernel/ioport.c (no copyright notice). .\" .\" %%%LICENSE_START(VERBATIM) .\" 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. .\" %%%LICENSE_END .\" .\" 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 .\" Modified, 27 May 2004, Michael Kerrisk .\" Added notes on capability requirements .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH IOPL 2 "15 septembre 2017" Linux "Manuel du programmeur Linux" .SH NOM iopl \- Modifier le niveau de privilège d'entrée\-sortie .SH SYNOPSIS \fB#include \fP .PP \fBint iopl(int \fP\fIlevel\fP\fB);\fP .SH DESCRIPTION \fBiopl\fP() modifie le niveau de droits pour les entrées\-sorties du processus appelant, en utilisant les deux bits de poids faible indiqués dans \fIlevel\fP. .PP Cette fonction est indispensable pour permettre aux serveurs\ X compatibles 8514 de fonctionner sous Linux. Comme ces serveurs\ X ont besoin de l'accès aux 65536\ ports d'entrée\-sortie, la fonction \fBioperm\fP(2) ne serait pas suffisante. .PP En plus de disposer d'un accès illimité aux ports d'E/S, un processus tournant à un niveau de privilège élevé pourra également inhiber les interruptions. Cela risque d'engendrer un plantage du système et est fortement déconseillé. .PP Les droits ne sont pas récupérés par le processus enfant créé par \fBfork\fP(2) et ils ne sont pas préservés pendant un \fBexecve\fP(2) (mais voir les NOTES). .PP Le niveau de privilège d'E/S pour un utilisateur normal vaut \fB0\fP. .PP Cet appel existe principalement pour l'architecture i386. Sur beaucoup d'autres architectures, il est, soit inexistant, soit renvoie toujours une erreur. .SH "VALEUR RENVOYÉE" En cas de succès, zéro est renvoyé. En cas d'erreur, \fB\-1\fP est renvoyé et \fIerrno\fP reçoit une valeur adéquate. .SH ERREURS .TP \fBEINVAL\fP \fIlevel\fP est plus grand que 3. .TP \fBENOSYS\fP Cet appel n'est pas implémenté. .TP \fBEPERM\fP Le processus appelant n'a pas assez de droits pour appeler \fBiopl\fP()\ ; la capacité \fBCAP_SYS_RAWIO\fP est nécessaire pour augmenter le niveau de droits d'E/S au\-delà de sa valeur actuelle. .SH CONFORMITÉ \fBiopl\fP() est spécifique à Linux et ne doit pas être utilisé dans des programmes destinés à être portables. .SH NOTES .\" Libc5 treats it as a system call and has a prototype in .\" .IR . .\" Glibc1 does not have a prototype. La glibc2 fournit un prototype à la fois dans \fI\fP et dans \fI\fP. Évitez ce dernier, il n'est disponible que sur les i386. .PP Avant Linux 3.7, sur certaines architectures (telles que i386), les droits \fIétaient\fP récupérés par l'enfant créé avec \fBfork\fP(2) et préservés pendant un \fBexecve\fP(2). Ce comportement a été modifié par inadvertance dans Linux 3.7 et il ne sera pas rétabli. .SH "VOIR AUSSI" \fBioperm\fP(2), \fBoutb\fP(2), \fBcapabilities\fP(7) .SH COLOPHON Cette page fait partie de la publication\ 5.04 du projet \fIman\-pages\fP Linux. Une description du projet et des instructions pour signaler des anomalies et la dernière version de cette page peuvent être trouvées à l'adresse \%https://www.kernel.org/doc/man\-pages/. .SH TRADUCTION La traduction française de cette page de manuel a été créée par Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Cédric Boutillier , Frédéric Hantrais et Jean-Philippe MENGUAL . Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .