Thread (1 message) 1 message, 1 author, 2012-07-09

[PATCH] ioperm.2: The maximum port number limit is gone

From: Alex Henrie <hidden>
Date: 2012-07-09 15:39:53
Subsystem: the rest · Maintainer: Linus Torvalds

This documentation really confused me and needs to be updated. H. Peter Anvin, the maintainer for this part of the kernel, emailed me to clarify that the 0x3ff limit has been gone since Linux 2.6.8.

Signed-off-by: Alex Henrie <redacted>
---
 man2/ioperm.2 |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/man2/ioperm.2 b/man2/ioperm.2
index 3470a8d..11304aa 100644
--- a/man2/ioperm.2
+++ b/man2/ioperm.2
@@ -51,15 +51,6 @@ 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
-.BR iopl (2)
-system call must be used.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help