ioperm.2: Clarify meaning of 'turn_on' argument

Plus form formatting fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-03-12 17:04:18 +01:00
parent 567eb123aa
commit c3ec5c77b1
1 changed files with 10 additions and 3 deletions

View File

@ -45,9 +45,16 @@ ioperm \- set port input/output permissions
.SH DESCRIPTION
.BR ioperm ()
sets the port access permission bits for the calling thread for
\fInum\fP bits starting from port address \fIfrom\fP to the value
\fIturn_on\fP.
If \fIturn_on\fP is nonzero, the calling thread must be privileged
.I num
bits starting from port address
.IR from .
If
.I turn_on
is nonzero, then permission for the specified bits is enabled;
otherwise it is disabled.
If
.I turn_on
is nonzero, the calling thread must be privileged
.RB ( CAP_SYS_RAWIO ).
Before Linux 2.6.8,