OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man2 / create_module.2
index 92ca694..010227d 100644 (file)
@@ -1,6 +1,8 @@
 .\" Copyright (C) 1996 Free Software Foundation, Inc.
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
 .\" This file is distributed according to the GNU General Public License.
-.\" See the file COPYING in the top level source directory for details.
+.\" %%%LICENSE_END
 .\"
 .\" 2006-02-09, some reformatting by Luc Van Oostenryck; some
 .\" reformatting and rewordings by mtk
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH CREATE_MODULE 2 2007\-06\-03 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
+.\" Translated 2006-07-29, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"
+.TH CREATE_MODULE 2 2014\-05\-10 Linux "Linux Programmer's Manual"
 .SH 名前
 create_module \- ローダブルモジュールのエントリを作成する
 .SH 書式
@@ -19,7 +25,12 @@ create_module \- ローダブルモジュールのエントリを作成する
 .sp
 \fBcaddr_t create_module(const char *\fP\fIname\fP\fB, size_t \fP\fIsize\fP\fB);\fP
 .fi
+
+\fINote\fP: No declaration of this function is provided in glibc headers; see
+NOTES.
 .SH 説明
+\fI注意\fP: このシステムコールが存在するのは、カーネル 2.6 より前の Linux だけである。
+
 \fBcreate_module\fP()  は、ローダブルモジュールのエントリを作成し、そのモジュールの保持に必要な カーネルメモリを予約しようとする。
 このシステムコールを使うには特権が必要である。
 .SH 返り値
@@ -39,7 +50,7 @@ create_module \- ローダブルモジュールのエントリを作成する
 モジュールを格納するのに必要な大きさの連続したメモリブロックを カーネルが確保できなかった。
 .TP 
 \fBENOSYS\fP
-\fBcreate_module\fP()  がこのバージョンのカーネルではサポートされていない
+\fBcreate_module\fP() がこのバージョンのカーネルではサポートされていない (例えば、カーネルのバージョンが 2.6 以降)
 .TP 
 \fBEPERM\fP
 呼び出し元が特権 (\fBCAP_SYS_MODULE\fP ケーパビリティ) を持っていなかった。
@@ -48,9 +59,16 @@ create_module \- ローダブルモジュールのエントリを作成する
 このシステムコールが存在するのはカーネル 2.4 までの Linux だけである。 Linux 2.6 では削除された。
 .SH 準拠
 \fBcreate_module\fP()  は Linux 固有である。
+.SH 注意
+The \fBcreate_module\fP()  system call is not supported by glibc.  No
+declaration is provided in glibc headers, but, through a quirk of history,
+glibc does export an ABI for this system call.  Therefore, in order to
+employ this system call, it is sufficient to manually declare the interface
+in your code; alternatively, you can invoke the system call using
+\fBsyscall\fP(2).
 .SH 関連項目
 \fBdelete_module\fP(2), \fBinit_module\fP(2), \fBquery_module\fP(2)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。