📄 syscalls_92.html
字号:
<!-- This HTML file has been created by texi2html 1.29
from syscalls.texi on 4 June 1994 -->
<TITLE>Syscall specifications of Linux - iopl</TITLE>
<P>Go to the <A HREF="syscalls_91.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_91.html">previous</A>, <A HREF="syscalls_93.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_93.html">next</A> section.<P>
<H2><A NAME="SEC92" HREF="syscalls_toc.html#SEC92" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_toc.html#SEC92">iopl</A></H2>
<P>
<H3>SYNOPSIS</H3>
<P>
<CODE>int iopl(int <VAR>level</VAR>);</CODE>
<P>
<H3>PARAMETERS</H3>
<P>
<VAR>level</VAR>: [in] the new io level of the process, in the range [0,3].
<P>
<H3>DESCRIPTION</H3>
<P>
Changes the io privilege level of the current task. The task must have
superuser privileges to use the call. The task can get total io
privileges this way.
<P>
<H3>RETURN VALUE</H3>
<P>
On success zero is returned. On error -1 is returned and <CODE>errno</CODE> is
set to one of the following values:
<P>
<UL>
<LI><CODE>EINVAL</CODE>: <VAR>level</VAR> has an invalid value.
<LI><CODE>EPERM</CODE>: the calling process is not superuser.
</UL>
<P>
<P>Go to the <A HREF="syscalls_91.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_91.html">previous</A>, <A HREF="syscalls_93.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_93.html">next</A> section.<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -