OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man2 / ioperm.2
index 7a0285b..36a7d2b 100644 (file)
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
+.\"
+.\" Japanese Version Copyright (c) 1997 HORIMOTO Masafumi
+.\"         all rights reserved.
+.\" Translated 1997-09-11, HORIMOTO Masafumi
+.\" Modified 1999-04-03, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
+.\" Updated 2003-10-12, Kentaro Shirakata <argrath@ub32.org>
+.\" Updated 2005-02-24, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\" Updated 2007-01-07, Akihiro MOTOKI, catch up to LDP v2.43
+.\" Updated 2013-05-01, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
 .TH IOPERM 2 2013\-03\-12 Linux "Linux Programmer's Manual"
 .SH 名前
 ioperm \- ポートの入出力許可を設定する
@@ -47,20 +57,18 @@ ioperm \- ポートの入出力許可を設定する
 \fBint ioperm(unsigned long \fP\fIfrom\fP\fB, unsigned long \fP\fInum\fP\fB, int
 \fP\fIturn_on\fP\fB);\fP
 .SH 説明
-\fBioperm\fP()  sets the port access permission bits for the calling thread for
-\fInum\fP bits starting from port address \fIfrom\fP.  If \fIturn_on\fP is nonzero,
-then permission for the specified bits is enabled; otherwise it is
-disabled.  If \fIturn_on\fP is nonzero, the calling thread must be privileged
-(\fBCAP_SYS_RAWIO\fP).
+\fBioperm\fP()  は、引き数 \fIfrom\fP の I/O ポートアドレスから \fInum\fP
+ビット分の領域に対する、呼び出し元スレッドのアクセス許可ビットを設定する。 \fIturn_on\fP が 0
+以外の場合、指定されたビットに対応する許可が有効になる。 \fIturn_on\fP が 0 以外の場合、呼び出し元プロセスは特権
+(\fBCAP_SYS_RAWIO\fP)  を持っていなければならない。
 
 Linux 2.6.8 より前のバージョンでは、この方法で設定できるのは 0x3ff 番地までの
 I/Oポートに限られていた。これよりも大きなアドレスのポートに対しては \fBiopl\fP(2) 関数を使わなければならなかった。Linux 2.6.8
 以降では、65,536 個の I/O ポートを指定できる。
 
-Permissions are not inherited by the child created by \fBfork\fP(2); following
-a \fBfork\fP(2)  the child must turn on those permissions that it needs.
-Permissions are preserved across \fBexecve\fP(2); this is useful for giving
-port access permissions to unprivileged programs.
+アクセス権は \fBfork\fP(2)  で作成された子プロセスには継承されない。子プロセスでは、\fBfork\fP(2)
+の後で必要なアクセス権を有効にしなければならない。 \fBexecve\fP(2)  の前後でアクセス権は保存される。この機能は
+非特権プログラムにポートへのアクセス権を 与えるのに使用できる。
 
 このシステムコールはほとんど i386 アーキテクチャのためだけのものである。 その他の多くのアーキテクチャでは存在しないか、常にエラーを返す。
 .SH 返り値
@@ -82,8 +90,7 @@ port access permissions to unprivileged programs.
 .SH 準拠
 \fBioperm\fP()  は Linux 特有の関数であり、移植を意図したプログラムで 使用してはならない。
 .SH 注意
-The \fI/proc/ioports\fP file shows the I/O ports that are currently allocated
-on the system.
+\fI/proc/ioports\fP ファイルには、現在このシステムに割り当てられている I/O ポートが表示される。
 
 libc5 ではシステムコールとして扱い \fI<unistd.h>\fP にプロトタイプが存在している。 glibc1
 にはプロトタイプは存在しない。 glibc2 は \fI<sys/io.h>\fP と \fI<sys/perm.h>\fP
@@ -91,6 +98,6 @@ libc5 ではシステムコールとして扱い \fI<unistd.h>\fP にプロト
 .SH 関連項目
 \fBiopl\fP(2), \fBoutb\fP(2), \fBcapabilities\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。