Skip to contentSkip to conversation

ioperm: Update port range description

PATCH New Adam Lackorzynski 1 participant 1 message Nov 4, 2010 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioperm: Update port range description

In recent Linux versions the I/O port range limitation for ioperm() is gone.

---
 man2/ioperm.2 |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
man2/ioperm.2 +4 -7
index 3470a8d..1d55ad1 100644
@@ -51,14 +51,11 @@ sets the port access permission bits for the calling process for
 If \fIturn_on\fP is nonzero, the calling process must be privileged
 .RB ( CAP_SYS_RAWIO ).
 
-.\" FIXME is the following ("Only the first 0x3ff I/O ports can be
-.\" specified in this manner") still true?  Looking at changes in
-.\" include/asm-i386/processor.h between 2.4 and 2.6 suggests
-.\" that the limit is different in 2.6.
-Only the first 0x3ff I/O ports can be specified in this manner.
-For more ports, the
+Up to Linux 2.6.7 only the first 0x3ff I/O ports can be specified in this
+manner.  For more ports, the
 .BR iopl (2)
-system call must be used.
+system call must be used. With Linux 2.6.8 or later all I/O ports can be
+specified.
 
 Permissions are not inherited by the child created by
 .BR fork (2).
Signature · 11 lines
1.7.2.3


Adam
-- 
Adam                 adam-IG//[email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html