]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/ioperm.2
execve.2, exec.3: Consistently use the term 'pathname' (not 'path')
[thirdparty/man-pages.git] / man2 / ioperm.2
index d1bc4f92ec1e9682ffce374075f890691e59856a..86639daca4399a266f9a14a1d7b4c8f205a4189d 100644 (file)
 .\" Modified, 27 May 2004, Michael Kerrisk <mtk.manpages@gmail.com>
 .\"     Added notes on capability requirements
 .\"
-.TH IOPERM 2 2016-03-15 "Linux" "Linux Programmer's Manual"
+.TH IOPERM 2 2017-09-15 "Linux" "Linux Programmer's Manual"
 .SH NAME
 ioperm \- set port input/output permissions
 .SH SYNOPSIS
 .B #include <sys/io.h>
 /* for glibc */
-.sp
+.PP
 .BI "int ioperm(unsigned long " from ", unsigned long " num ", int " turn_on );
 .SH DESCRIPTION
 .BR ioperm ()
@@ -53,7 +53,7 @@ If
 .I turn_on
 is nonzero, the calling thread must be privileged
 .RB ( CAP_SYS_RAWIO ).
-
+.PP
 Before Linux 2.6.8,
 only the first 0x3ff I/O ports could be specified in this manner.
 For more ports, the
@@ -62,7 +62,7 @@ system call had to be used (with a
 .I level
 argument of 3).
 Since Linux 2.6.8, 65,536 I/O ports can be specified.
-
+.PP
 Permissions are inherited by the child created by
 .BR fork (2)
 (but see NOTES).
@@ -70,7 +70,7 @@ Permissions are preserved across
 .BR execve (2);
 this is useful for giving port access permissions to unprivileged
 programs.
-
+.PP
 This call is mostly for the i386 architecture.
 On many other architectures it does not exist or will always
 return an error.
@@ -104,11 +104,11 @@ intended to be portable.
 The
 .I /proc/ioports
 file shows the I/O ports that are currently allocated on the system.
-
+.PP
 Before Linux 2.4,
 permissions were not inherited by a child created by
 .BR fork (2).
-
+.PP
 Glibc has an
 .BR ioperm ()
 prototype both in