1 .\" Copyright (C) 1996 Free Software Foundation, Inc.
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" This file is distributed according to the GNU General Public License.
7 .\" 2006-02-09, some reformatting by Luc Van Oostenryck; some
8 .\" reformatting and rewordings by mtk
10 .\"*******************************************************************
12 .\" This file was generated with po4a. Translate the source file.
14 .\"*******************************************************************
15 .TH CREATE_MODULE 2 2012\-10\-18 Linux "Linux Programmer's Manual"
17 create_module \- ローダブルモジュールのエントリを作成する
20 \fB#include <linux/module.h>\fP
22 \fBcaddr_t create_module(const char *\fP\fIname\fP\fB, size_t \fP\fIsize\fP\fB);\fP
25 \fBNote\fP: This system call is present only in kernels before Linux 2.6.
27 \fBcreate_module\fP() は、ローダブルモジュールのエントリを作成し、そのモジュールの保持に必要な カーネルメモリを予約しようとする。
28 このシステムコールを使うには特権が必要である。
30 成功すると、モジュールが配置されるカーネル空間のアドレスを返す。 エラーの場合 \-1 を返し、 \fIerrno\fP を適切に設定する。
37 \fIname\fP がプログラムがアクセスできるアドレス空間の外部にある。
40 要求したサイズが小さすぎて、モジュールのヘッダ情報すら格納できない。
43 モジュールを格納するのに必要な大きさの連続したメモリブロックを カーネルが確保できなかった。
46 \fBcreate_module\fP() is not supported in this version of the kernel (e.g.,
47 the kernel is version 2.6 or later).
50 呼び出し元が特権 (\fBCAP_SYS_MODULE\fP ケーパビリティ) を持っていなかった。
52 .\" Removed in Linux 2.5.48
53 このシステムコールが存在するのはカーネル 2.4 までの Linux だけである。 Linux 2.6 では削除された。
55 \fBcreate_module\fP() は Linux 固有である。
57 \fBdelete_module\fP(2), \fBinit_module\fP(2), \fBquery_module\fP(2)
59 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
60 である。プロジェクトの説明とバグ報告に関する情報は
61 http://www.kernel.org/doc/man\-pages/ に書かれている。