iopl.2: Minor tweaks to Thomas Piekarski's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-06-29 13:46:00 +02:00
parent 6caf6c4380
commit feb9ef3848
1 changed files with 6 additions and 5 deletions

View File

@ -46,10 +46,11 @@ as specified by the two least significant bits in
The I/O privilege level for a normal thread is 0.
Permissions are inherited from parents to children.
.PP
This call is deprecated, significantly slower than
.BR ioperm(2)
This call is deprecated, is significantly slower than
.BR ioperm (2),
and is only provided for older X servers which require
access to all 65536 I/O ports. It is mostly for the i386 architecture.
access to all 65536 I/O ports.
It is mostly for the i386 architecture.
On many other architectures it does not exist or will always
return an error.
.SH RETURN VALUE
@ -90,8 +91,8 @@ Avoid the latter, it is available on i386 only.
Prior to Linux 5.5
.BR iopl ()
allowed the thread to disable interrupts while running
at a higher I/O privilege level. This will probably crash
the system, and is not recommended.
at a higher I/O privilege level.
This will probably crash the system, and is not recommended.
.PP
Prior to Linux 3.7,
on some architectures (such as i386), permissions