1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2015-01-23 22:24+0900\n"
10 "PO-Revision-Date: 2015-01-31 00:03+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
19 #: build/C/man2/create_module.2:10
22 msgstr "CREATE_MODULE"
25 #: build/C/man2/create_module.2:10 build/C/man2/delete_module.2:25
26 #: build/C/man2/init_module.2:27 build/C/man2/query_module.2:10
32 #: build/C/man2/create_module.2:10 build/C/man2/delete_module.2:25
33 #: build/C/man2/get_kernel_syms.2:10 build/C/man2/init_module.2:27
34 #: build/C/man2/query_module.2:10
40 #: build/C/man2/create_module.2:10 build/C/man2/delete_module.2:25
41 #: build/C/man2/get_kernel_syms.2:10 build/C/man2/init_module.2:27
42 #: build/C/man2/query_module.2:10
44 msgid "Linux Programmer's Manual"
45 msgstr "Linux Programmer's Manual"
48 #: build/C/man2/create_module.2:11 build/C/man2/delete_module.2:26
49 #: build/C/man2/get_kernel_syms.2:11 build/C/man2/init_module.2:28
50 #: build/C/man2/query_module.2:11
56 #: build/C/man2/create_module.2:13
57 msgid "create_module - create a loadable module entry"
58 msgstr "create_module - ローダーブルモジュールのエントリーを作成する"
61 #: build/C/man2/create_module.2:13 build/C/man2/delete_module.2:28
62 #: build/C/man2/get_kernel_syms.2:13 build/C/man2/init_module.2:30
63 #: build/C/man2/query_module.2:13
69 #: build/C/man2/create_module.2:16 build/C/man2/get_kernel_syms.2:16
70 #: build/C/man2/query_module.2:16
72 msgid "B<#include E<lt>linux/module.hE<gt>>\n"
73 msgstr "B<#include E<lt>linux/module.hE<gt>>\n"
76 #: build/C/man2/create_module.2:18
78 msgid "B<caddr_t create_module(const char *>I<name>B<, size_t >I<size>B<);>\n"
79 msgstr "B<caddr_t create_module(const char *>I<name>B<, size_t >I<size>B<);>\n"
82 #: build/C/man2/create_module.2:22 build/C/man2/delete_module.2:35
83 #: build/C/man2/query_module.2:23
85 "I<Note>: No declaration of this function is provided in glibc headers; see "
88 "I<注意>: この関数の宣言は glibc のヘッダーでは提供されていない。「注意」を参"
92 #: build/C/man2/create_module.2:22 build/C/man2/delete_module.2:35
93 #: build/C/man2/get_kernel_syms.2:19 build/C/man2/init_module.2:45
94 #: build/C/man2/query_module.2:23
100 #: build/C/man2/create_module.2:25 build/C/man2/query_module.2:26
101 msgid "I<Note>: This system call is present only in kernels before Linux 2.6."
103 "I<注意>: このシステムコールが存在するのは、カーネル 2.6 より前の Linux だけで"
107 #: build/C/man2/create_module.2:30
109 "B<create_module>() attempts to create a loadable module entry and reserve "
110 "the kernel memory that will be needed to hold the module. This system call "
111 "requires privilege."
113 "B<create_module>() は、ローダーブルモジュールのエントリーを作成し、そのモ"
114 "ジュールの保持に必要な カーネルメモリーを予約しようとする。 このシステムコー"
118 #: build/C/man2/create_module.2:30 build/C/man2/delete_module.2:124
119 #: build/C/man2/get_kernel_syms.2:48 build/C/man2/init_module.2:154
120 #: build/C/man2/query_module.2:129
126 #: build/C/man2/create_module.2:35
128 "On success, returns the kernel address at which the module will reside. On "
129 "error, -1 is returned and I<errno> is set appropriately."
131 "成功すると、モジュールが配置されるカーネル空間のアドレスを返す。 エラーの場"
132 "合 -1 を返し、 I<errno> を適切に設定する。"
135 #: build/C/man2/create_module.2:35 build/C/man2/delete_module.2:129
136 #: build/C/man2/get_kernel_syms.2:54 build/C/man2/init_module.2:159
137 #: build/C/man2/query_module.2:134
143 #: build/C/man2/create_module.2:36 build/C/man2/init_module.2:198
149 #: build/C/man2/create_module.2:39
150 msgid "A module by that name already exists."
151 msgstr "その名前のモジュールがすでに存在する。"
154 #: build/C/man2/create_module.2:39 build/C/man2/delete_module.2:143
155 #: build/C/man2/init_module.2:166 build/C/man2/query_module.2:135
161 #: build/C/man2/create_module.2:43
162 msgid "I<name> is outside the program's accessible address space."
163 msgstr "I<name> がプログラムがアクセスできるアドレス空間の外部にある。"
166 #: build/C/man2/create_module.2:43 build/C/man2/init_module.2:201
167 #: build/C/man2/init_module.2:236 build/C/man2/query_module.2:143
173 #: build/C/man2/create_module.2:46
174 msgid "The requested size is too small even for the module header information."
175 msgstr "要求したサイズが小さすぎて、モジュールのヘッダー情報すら格納できない。"
178 #: build/C/man2/create_module.2:46 build/C/man2/init_module.2:181
184 #: build/C/man2/create_module.2:50
186 "The kernel could not allocate a contiguous block of memory large enough for "
189 "モジュールを格納するのに必要な大きさの連続したメモリーブロックを カーネルが確"
193 #: build/C/man2/create_module.2:50 build/C/man2/get_kernel_syms.2:56
194 #: build/C/man2/query_module.2:163
200 #: build/C/man2/create_module.2:55
202 "B<create_module>() is not supported in this version of the kernel (e.g., "
203 "the kernel is version 2.6 or later)."
205 "B<create_module>() がこのバージョンのカーネルではサポートされていない (例え"
206 "ば、カーネルのバージョンが 2.6 以降)。"
209 #: build/C/man2/create_module.2:55 build/C/man2/delete_module.2:150
210 #: build/C/man2/init_module.2:184
216 #: build/C/man2/create_module.2:61
218 "The caller was not privileged (did not have the B<CAP_SYS_MODULE> "
221 "呼び出し元が特権 (B<CAP_SYS_MODULE> ケーパビリティ) を持っていなかった。"
224 #: build/C/man2/create_module.2:61 build/C/man2/get_kernel_syms.2:60
225 #: build/C/man2/init_module.2:256 build/C/man2/query_module.2:168
230 #. Removed in Linux 2.5.48
232 #: build/C/man2/create_module.2:65 build/C/man2/get_kernel_syms.2:64
233 #: build/C/man2/query_module.2:172
235 "This system call is present on Linux only up until kernel 2.4; it was "
236 "removed in Linux 2.6."
238 "このシステムコールが存在するのはカーネル 2.4 までの Linux だけである。 Linux "
242 #: build/C/man2/create_module.2:65 build/C/man2/delete_module.2:172
243 #: build/C/man2/get_kernel_syms.2:64 build/C/man2/init_module.2:259
244 #: build/C/man2/query_module.2:172
246 msgid "CONFORMING TO"
250 #: build/C/man2/create_module.2:68
251 msgid "B<create_module>() is Linux-specific."
252 msgstr "B<create_module>() は Linux 固有である。"
255 #: build/C/man2/create_module.2:68 build/C/man2/delete_module.2:175
256 #: build/C/man2/init_module.2:264 build/C/man2/query_module.2:175
262 #: build/C/man2/create_module.2:78
264 "The B<create_module>() system call is not supported by glibc. No "
265 "declaration is provided in glibc headers, but, through a quirk of history, "
266 "glibc does export an ABI for this system call. Therefore, in order to "
267 "employ this system call, it is sufficient to manually declare the interface "
268 "in your code; alternatively, you can invoke the system call using "
271 "B<create_module>() システムコールは glibc ではサポートされていない。 glibc "
272 "ヘッダーでは宣言は提供されていないが、 歴史の紆余曲折を経て glibc はこのシス"
273 "テムコールに対する ABI を公開していない。 したがって、このシステムコールを利"
274 "用するには、自分のコードの中で手動でインターフェースを宣言すればよい。 "
275 "B<syscall>(2) を使ってシステムコールを起動できる。"
278 #: build/C/man2/create_module.2:78 build/C/man2/delete_module.2:209
279 #: build/C/man2/get_kernel_syms.2:80 build/C/man2/init_module.2:353
280 #: build/C/man2/query_module.2:193
286 #: build/C/man2/create_module.2:82
287 msgid "B<delete_module>(2), B<init_module>(2), B<query_module>(2)"
288 msgstr "B<delete_module>(2), B<init_module>(2), B<query_module>(2)"
291 #: build/C/man2/create_module.2:82 build/C/man2/delete_module.2:216
292 #: build/C/man2/get_kernel_syms.2:85 build/C/man2/init_module.2:359
293 #: build/C/man2/query_module.2:200
299 #: build/C/man2/create_module.2:90 build/C/man2/delete_module.2:224
300 #: build/C/man2/get_kernel_syms.2:93 build/C/man2/init_module.2:367
301 #: build/C/man2/query_module.2:208
303 "This page is part of release 3.78 of the Linux I<man-pages> project. A "
304 "description of the project, information about reporting bugs, and the latest "
305 "version of this page, can be found at \\%http://www.kernel.org/doc/man-"
308 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.78 の一部\n"
309 "である。プロジェクトの説明とバグ報告に関する情報は\n"
310 "http://www.kernel.org/doc/man-pages/ に書かれている。"
313 #: build/C/man2/delete_module.2:25
315 msgid "DELETE_MODULE"
316 msgstr "DELETE_MODULE"
319 #: build/C/man2/delete_module.2:28
320 msgid "delete_module - unload a kernel module"
321 msgstr "delete_module - カーネルモジュールをアンロードする"
324 #: build/C/man2/delete_module.2:31
326 msgid "B<int delete_module(const char *>I<name>B<, int >I<flags>B<);>\n"
327 msgstr "B<int delete_module(const char *>I<name>B<, int >I<flags>B<);>\n"
330 #: build/C/man2/delete_module.2:49
332 "The B<delete_module>() system call attempts to remove the unused loadable "
333 "module entry identified by I<name>. If the module has an I<exit> function, "
334 "then that function is executed before unloading the module. The I<flags> "
335 "argument is used to modify the behavior of the system call, as described "
336 "below. This system call requires privilege."
337 msgstr "B<delete_module>() システムコールは、 I<name> で特定される未使用のロード可能なモジュールのエントリーを削除しようとする。 モジュールに I<exit> 関数がある場合、 モジュールをアンロードする前にこの関数が実行される。 I<flags> 引き数は、以下で説明するようにシステムコールの動作を変更するのに使用される。 このシステムコールには特権が必要である。"
340 #: build/C/man2/delete_module.2:51
341 msgid "Module removal is attempted according to the following rules:"
342 msgstr "モジュールの削除は以下のルールにしたがって行われる。"
345 #: build/C/man2/delete_module.2:51
351 #: build/C/man2/delete_module.2:55
353 "If there are other loaded modules that depend on (i.e., refer to symbols "
354 "defined in) this module, then the call fails."
355 msgstr "このモジュールに依存している (このモジュールで定義されているシンボルを参照している) モジュールがロードされている場合、 この呼び出しは失敗する。"
358 #: build/C/man2/delete_module.2:55
364 #: build/C/man2/delete_module.2:59
366 "Otherwise, if the reference count for the module (i.e., the number of "
367 "processes currently using the module) is zero, then the module is "
368 "immediately unloaded."
369 msgstr "それ以外の場合で、 モジュールの参照カウント (このモジュールを現在使用しているプロセス数) が 0 であれば、 モジュールは直ちにアンロードされる。"
372 #: build/C/man2/delete_module.2:59
377 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
378 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
380 #: build/C/man2/delete_module.2:70
382 "If a module has a nonzero reference count, then the behavior depends on the "
383 "bits set in I<flags>. In normal usage (see NOTES), the B<O_NONBLOCK> flag "
384 "is always specified, and the B<O_TRUNC> flag may additionally be specified."
385 msgstr "モジュールの参照カウントが 0 でない場合、 その動作は I<flags> にセットされたビットによって決まる。 通常の使用時は (「注意」参照)、 B<O_NONBLOCK> は常に指定され、 B<O_TRUNC> フラグが追加で指定されることがある。"
388 #: build/C/man2/delete_module.2:74
389 msgid "The various combinations for I<flags> have the following effect:"
390 msgstr "I<flags> の組み合わせが持つ効果は以下のとおりである。"
393 #: build/C/man2/delete_module.2:75
395 msgid "B<flags == O_NONBLOCK>"
396 msgstr "B<flags == O_NONBLOCK>"
399 #: build/C/man2/delete_module.2:78
400 msgid "The call returns immediately, with an error."
401 msgstr "エラーの場合、 呼び出しは直ちに返る。"
404 #: build/C/man2/delete_module.2:78
406 msgid "B<flags == (O_NONBLOCK | O_TRUNC)>"
407 msgstr "B<flags == (O_NONBLOCK | O_TRUNC)>"
410 #: build/C/man2/delete_module.2:82
412 "The module is unloaded immediately, regardless of whether it has a nonzero "
414 msgstr "参照カウントが 0 以外かどうかに関わらず、 直ちにモジュールをアンロードする。"
417 #: build/C/man2/delete_module.2:82
419 msgid "B<(flags & O_NONBLOCK) == 0>"
420 msgstr "B<(flags & O_NONBLOCK) == 0>"
423 #: build/C/man2/delete_module.2:89
424 msgid "If I<flags> does not specify B<O_NONBLOCK>, the following steps occur:"
425 msgstr "I<flags> に B<O_NONBLOCK> が指定されなかった場合、 以下のステップで処理が行われる。"
428 #: build/C/man2/delete_module.2:90 build/C/man2/delete_module.2:92
429 #: build/C/man2/delete_module.2:97
435 #: build/C/man2/delete_module.2:92
436 msgid "The module is marked so that no new references are permitted."
437 msgstr "新しい参照を許可しないように、 指定されたモジュールにマークを付ける。"
440 #: build/C/man2/delete_module.2:97
442 "If the module's reference count is nonzero, the caller is placed in an "
443 "uninterruptible sleep state (B<TASK_UNINTERRUPTIBLE>) until the reference "
444 "count is zero, at which point the call unblocks."
445 msgstr "モジュールの参照カウントが 0 でない場合、 参照カウントが 0 になるまで、 呼び出し元は割り込み不可のスリープ状態 (B<TASK_UNINTERRUPTIBLE>) に置かれる。 参照カウントが 0 になった時点で、 呼び出し元の停止が解除される。"
448 #: build/C/man2/delete_module.2:99
449 msgid "The module is unloaded in the usual way."
450 msgstr "モジュールは通常通りの方法でアンロードされる。"
453 #: build/C/man2/delete_module.2:113
455 "The B<O_TRUNC> flag has one further effect on the rules described above. By "
456 "default, if a module has an I<init> function but no I<exit> function, then "
457 "an attempt to remove the module will fail. However, if B<O_TRUNC> was "
458 "specified, this requirement is bypassed."
459 msgstr "B<O_TRUNC> フラグには上記のルールに加えてもう一つの効果がある。 デフォルトでは、 モジュールに I<init> 関数があるが I<exit> 関数がない場合、 そのモジュールを削除しようとすると失敗する。 しかし、 B<O_TRUNC> が指定された場合、 この要件はスキップされる。"
462 #: build/C/man2/delete_module.2:124
464 "Using the B<O_TRUNC> flag is dangerous! If the kernel was not built with "
465 "B<CONFIG_MODULE_FORCE_UNLOAD>, this flag is silently ignored. (Normally, "
466 "B<CONFIG_MODULE_FORCE_UNLOAD> is enabled.) Using this flag taints the "
467 "kernel (TAINT_FORCED_RMMOD)."
468 msgstr "B<O_TRUNC> フラグの使用は危険である! カーネルが B<CONFIG_MODULE_FORCE_UNLOAD> で作成されていない場合、 このフラグは黙って無視される (通常は B<CONFIG_MODULE_FORCE_UNLOAD> は有効になっている)。 このフラグを使うとカーネルにゴミが残ることになる (TAINT_FORCED_RMMOD)。"
471 #: build/C/man2/delete_module.2:129 build/C/man2/query_module.2:134
473 "On success, zero is returned. On error, -1 is returned and I<errno> is set "
476 "成功の場合 0 が返される。エラーの場合 -1 が返され、 I<errno> に適切な値が設定"
480 #: build/C/man2/delete_module.2:130 build/C/man2/init_module.2:163
486 #: build/C/man2/delete_module.2:143
488 "The module is not \"live\" (i.e., it is still being initialized or is "
489 "already marked for removal); or, the module has an I<init> function but has "
490 "no I<exit> function, and B<O_TRUNC> was not specified in I<flags>."
491 msgstr "モジュールは\"live\" ではない (モジュールがまだ初期化中か、 すでに削除のマークが付けられている)。 モジュールに I<init> 関数があるが I<exit> 関数がなく、 I<flags> に B<O_TRUNC> が指定されていなかった。"
494 #: build/C/man2/delete_module.2:147
496 "I<name> refers to a location outside the process's accessible address space."
497 msgstr "I<name> がプロセスがアクセスできるアドレス空間外の場所を参照している。"
500 #: build/C/man2/delete_module.2:147 build/C/man2/query_module.2:153
506 #: build/C/man2/delete_module.2:150
507 msgid "No module by that name exists."
508 msgstr "その名前のモジュールが存在しない。"
511 #: build/C/man2/delete_module.2:161
513 "The caller was not privileged (did not have the B<CAP_SYS_MODULE> "
514 "capability), or module unloading is disabled (see I</proc/sys/kernel/"
515 "modules_disabled> in B<proc>(5))."
516 msgstr "呼び出し元が特権 (B<CAP_SYS_MODULE> ケーパビリティ) を持っていなかった。 または、 モジュールのアンロードが無効になっている (B<proc>(5) の I</proc/sys/kernel/modules_disabled> を参照)。"
519 #: build/C/man2/delete_module.2:161
521 msgid "B<EWOULDBLOCK>"
522 msgstr "B<EWOULDBLOCK>"
525 #: build/C/man2/delete_module.2:172
527 "Other modules depend on this module; or, B<O_NONBLOCK> was specified in "
528 "I<flags>, but the reference count of this module is nonzero and B<O_TRUNC> "
529 "was not specified in I<flags>."
530 msgstr "他のモジュールがこのモジュールに依存している。または、 I<flags> に B<O_NONBLOCK> が指定されたが、 このモジュールの参照カウントが 0 以外で I<flags> に B<O_TRUNC> が指定されていなかった。"
533 #: build/C/man2/delete_module.2:175
534 msgid "B<delete_module>() is Linux-specific."
535 msgstr "B<delete_module>() は Linux 固有である。"
538 #: build/C/man2/delete_module.2:185
540 "The B<delete_module>() system call is not supported by glibc. No "
541 "declaration is provided in glibc headers, but, through a quirk of history, "
542 "glibc does export an ABI for this system call. Therefore, in order to "
543 "employ this system call, it is sufficient to manually declare the interface "
544 "in your code; alternatively, you can invoke the system call using "
547 "B<delete_module>() システムコールは glibc ではサポートされていない。 glibc "
548 "ヘッダーでは宣言は提供されていないが、 歴史の紆余曲折を経て glibc はこのシス"
549 "テムコールに対する ABI を公開していない。 したがって、このシステムコールを利"
550 "用するには、自分のコードの中で手動でインターフェースを宣言すればよい。 "
551 "B<syscall>(2) を使ってシステムコールを起動できる。"
554 #: build/C/man2/delete_module.2:195
556 "The uninterruptible sleep that may occur if B<O_NONBLOCK> is omitted from "
557 "I<flags> is considered undesirable, because the sleeping process is left in "
558 "an unkillable state. As at Linux 3.7, specifying B<O_NONBLOCK> is optional, "
559 "but in future kernels it is likely to become mandatory."
560 msgstr "I<flags> に B<O_NONBLOCK> が指定されていない場合に起こる可能性がある割り込み不可のスリープは望ましくないと考えられている。 なぜなら、 スリープしているプロセスは kill できない状態 (unkillable state) のままになるからである。 Linux 3.7 時点では、 B<O_NONBLOCK> の指定は省略可能だが、 将来のカーネルでは必須になるだろう。"
563 #: build/C/man2/delete_module.2:195 build/C/man2/init_module.2:288
565 msgid "Linux 2.4 and earlier"
566 msgstr "Linux 2.4 以前"
569 #: build/C/man2/delete_module.2:197
570 msgid "In Linux 2.4 and earlier, the system call took only one argument:"
571 msgstr "Linux 2.4 以前では、 このシステムコールの引き数は 1 つだけであった。"
574 #: build/C/man2/delete_module.2:199
575 msgid "B< int delete_module(const char *>I<name>B<);>"
576 msgstr "B< int delete_module(const char *>I<name>B<);>"
579 #: build/C/man2/delete_module.2:203
580 msgid "If I<name> is NULL, all unused modules marked auto-clean are removed."
581 msgstr "I<name> が NULL の場合、 auto-clean のマークがついたすべての未使用のモジュールが削除される。"
584 #: build/C/man2/delete_module.2:209
586 "Some further details of differences in the behavior of B<delete_module>() "
587 "in Linux 2.4 and earlier are I<not> currently explained in this manual page."
588 msgstr "Linux 2.4 以前の B<delete_module>() の動作のより詳細な違いは、 現在のところこのマニュアルページでは説明I<しない>。"
591 #: build/C/man2/delete_module.2:216
593 "B<create_module>(2), B<init_module>(2), B<query_module>(2), B<lsmod>(8), "
594 "B<modprobe>(8), B<rmmod>(8)"
596 "B<create_module>(2), B<init_module>(2), B<query_module>(2), B<lsmod>(8), "
597 "B<modprobe>(8), B<rmmod>(8)"
600 #: build/C/man2/get_kernel_syms.2:10
602 msgid "GET_KERNEL_SYMS"
603 msgstr "GET_KERNEL_SYMS"
606 #: build/C/man2/get_kernel_syms.2:10
612 #: build/C/man2/get_kernel_syms.2:13
613 msgid "get_kernel_syms - retrieve exported kernel and module symbols"
614 msgstr "get_kernel_syms - 公開されているカーネルやモジュールのシンボルの取得"
617 #: build/C/man2/get_kernel_syms.2:18
619 msgid "B<int get_kernel_syms(struct kernel_sym *>I<table>B<);>\n"
620 msgstr "B<int get_kernel_syms(struct kernel_sym *>I<table>B<);>\n"
623 #: build/C/man2/get_kernel_syms.2:22
624 msgid "B<Note>: This system call is present only in kernels before Linux 2.6."
626 "B<注意>: このシステムコールが存在するのは、カーネル 2.6 より前の Linux だけで"
630 #: build/C/man2/get_kernel_syms.2:29
632 "If I<table> is NULL, B<get_kernel_syms>() returns the number of symbols "
633 "available for query. Otherwise, it fills in a table of structures:"
635 "B<get_kernel_syms>() は、 I<table> が NULL の場合、 問い合わせできるシンボル"
636 "の数を返す。 NULL 以外の場合、以下の構造体の列 (table) に値を入れて返す。"
639 #: build/C/man2/get_kernel_syms.2:36
642 "struct kernel_sym {\n"
643 " unsigned long value;\n"
647 "struct kernel_sym {\n"
648 " unsigned long value;\n"
653 #: build/C/man2/get_kernel_syms.2:44
655 "The symbols are interspersed with magic symbols of the form B<#>I<module-"
656 "name> with the kernel having an empty name. The value associated with a "
657 "symbol of this form is the address at which the module is loaded."
659 "シンボルの中には、 B<#>I<module-name> という形式の、カーネルが空の名前を持っ"
660 "ているマジックシンボル (magic symbol) が散在している。この形式のシンボルに対"
661 "応する値は モジュールがロードされたアドレスとなる。"
664 #: build/C/man2/get_kernel_syms.2:48
666 "The symbols exported from each module follow their magic module tag and the "
667 "modules are returned in the reverse of the order in which they were loaded."
669 "個々のモジュールから公開 (export) されたシンボルは、マジックモジュールタグ の"
670 "後ろに置かれる。また、モジュールはロードされた順番とは逆順で返される。"
673 #: build/C/man2/get_kernel_syms.2:54
675 "On success, returns the number of symbols copied to I<table>. On error, -1 "
676 "is returned and I<errno> is set appropriately."
678 "成功すると、 I<table> にコピーされたシンボル数を返す。 エラーの場合、-1 を返"
679 "し、 I<errno> を適切に設定する。"
682 #: build/C/man2/get_kernel_syms.2:56
683 msgid "There is only one possible error return:"
684 msgstr "返る可能性があるエラーは一つだけである。"
687 #: build/C/man2/get_kernel_syms.2:60
688 msgid "B<get_kernel_syms>() is not supported in this version of the kernel."
690 "B<get_kernel_syms>() がこのバージョンのカーネルではサポートされていない。"
693 #: build/C/man2/get_kernel_syms.2:67
694 msgid "B<get_kernel_syms>() is Linux-specific."
695 msgstr "B<get_kernel_syms>() は Linux 固有である。"
698 #: build/C/man2/get_kernel_syms.2:67
704 #: build/C/man2/get_kernel_syms.2:72
706 "There is no way to indicate the size of the buffer allocated for I<table>. "
707 "If symbols have been added to the kernel since the program queried for the "
708 "symbol table size, memory will be corrupted."
710 "I<table> 用に確保したバッファーの大きさを伝える方法がない。 プログラムがシン"
711 "ボルテーブルの大きさを問い合わせた後に、カーネルに シンボルが追加されると、メ"
715 #: build/C/man2/get_kernel_syms.2:74
716 msgid "The length of exported symbol names is limited to 59 characters."
717 msgstr "公開されるシンボル名の長さが 59 文字に制限されている。"
720 #: build/C/man2/get_kernel_syms.2:80
722 "Because of these limitations, this system call is deprecated in favor of "
723 "B<query_module>(2) (which is itself nowadays deprecated in favor of other "
724 "interfaces described on its manual page)."
726 "これらの制限があるので、このシステムコールを使うよりは B<query_module>(2) を"
727 "使うのが望ましい (現在では B<query_module>(2) 自身もそのマニュアルページに書"
728 "かれているように 他のインターフェースを使うのが望ましいとされている)。"
731 #: build/C/man2/get_kernel_syms.2:85
733 "B<create_module>(2), B<delete_module>(2), B<init_module>(2), "
736 "B<create_module>(2), B<delete_module>(2), B<init_module>(2), "
740 #: build/C/man2/init_module.2:27
746 #: build/C/man2/init_module.2:30
747 msgid "init_module, finit_module - load a kernel module"
748 msgstr "init_module, finit_module - カーネルモジュールをロードする"
751 #: build/C/man2/init_module.2:34
754 "B<int init_module(void *>I<module_image>B<, unsigned long >I<len>B<,>\n"
755 "B< const char *>I<param_values>B<);>\n"
757 "B<int init_module(void *>I<module_image>B<, unsigned long >I<len>B<,>\n"
758 "B< const char *>I<param_values>B<);>\n"
761 #: build/C/man2/init_module.2:37
764 "B<int finit_module(int >I<fd>B<, const char *>I<param_values>B<,>\n"
765 "B< int >I<flags>B<);>\n"
767 "B<int finit_module(int >I<fd>B<, const char *>I<param_values>B<,>\n"
768 "B< int >I<flags>B<);>\n"
771 #: build/C/man2/init_module.2:45
773 "I<Note>: glibc provides no header file declaration of B<init_module>() and "
774 "no wrapper function for B<finit_module>(); see NOTES."
775 msgstr "I<注意>: glibc では、 ヘッダーファイルでの B<init_module>() の宣言はなく、 B<finit_module>() のラッパー関数も提供されていない。 「注意」の節を参照。"
778 #: build/C/man2/init_module.2:54
780 "B<init_module>() loads an ELF image into kernel space, performs any "
781 "necessary symbol relocations, initializes module parameters to values "
782 "provided by the caller, and then runs the module's I<init> function. This "
783 "system call requires privilege."
784 msgstr "B<init_module>() は ELF イメージをカーネル空間にロードし、 必要なシンボルの配置変更を行い、 モジュールパラメーターを呼び出し元から指定された値に初期化し、 最後にそのモジュールの I<init> 関数を実行する。 このシステムコールには特権が必要である。"
787 #: build/C/man2/init_module.2:62
789 "The I<module_image> argument points to a buffer containing the binary image "
790 "to be loaded; I<len> specifies the size of that buffer. The module image "
791 "should be a valid ELF image, built for the running kernel."
792 msgstr "I<module_image> 引き数はロードするバイナリーイメージが入ったバッファーを指し、 I<len> はバッファーのサイズを指定する。 モジュールイメージは、 実行中のカーネル用に作成された有効な ELF イメージである必要がある。"
795 #: build/C/man2/init_module.2:73
797 "The I<param_values> argument is a string containing space-delimited "
798 "specifications of the values for module parameters (defined inside the "
799 "module using B<module_param>() and B<module_param_array>()). The kernel "
800 "parses this string and initializes the specified parameters. Each of the "
801 "parameter specifications has the form:"
802 msgstr "I<param_values> 引き数はモジュールパラメーター値を指定するスペース区切りの文字列である (モジュールパラメーターは B<module_param>() や B<module_param_array>() を使ってモジュール内で定義される)。 カーネルはこの文字列を解釈し、指定されたパラメーターを初期化する。 各パラメーター指定は以下の形式である。"
805 #: build/C/man2/init_module.2:78
806 msgid "I<name>[B<=>I<value>[B<,>I<value>...]]"
807 msgstr "I<name>[B<=>I<value>[B<,>I<value>...]]"
810 #: build/C/man2/init_module.2:93
812 "The parameter I<name> is one of those defined within the module using "
813 "I<module_param>() (see the Linux kernel source file I<include/linux/"
814 "moduleparam.h>). The parameter I<value> is optional in the case of I<bool> "
815 "and I<invbool> parameters. Values for array parameters are specified as a "
816 "comma-separated list."
817 msgstr "パラメーター I<name> はモジュール内で I<module_param>() を使って定義されているパラメーターのいずれか一つである (Linux カーネルのソースファイル I<include/linux/moduleparam.h> を参照)。 パラメーター I<value> は I<bool> か I<invbool> パラメーターの場合は省略可能である。 配列パラメーターの値はカンマ区切りのリストで指定される。"
820 #: build/C/man2/init_module.2:93
822 msgid "finit_module()"
823 msgstr "finit_module()"
825 #. commit 34e1169d996ab148490c01b65b4ee371cf8ffba2
826 #. https://lwn.net/Articles/519010/
828 #: build/C/man2/init_module.2:111
830 "The B<finit_module>() system call is like B<init_module>(), but reads the "
831 "module to be loaded from the file descriptor I<fd>. It is useful when the "
832 "authenticity of a kernel module can be determined from its location in the "
833 "filesystem; in cases where that is possible, the overhead of using "
834 "cryptographically signed modules to determine the authenticity of a module "
835 "can be avoided. The I<param_values> argument is as for B<init_module>()."
836 msgstr "B<finit_module>() システムコールは B<init_module>() と同様だが、 ファイルディスクリプター I<fd> からモジュールをロードする。 カーネルモジュールの信頼性をファイルシステムにおける場所から判定できる場合、この方法は有効である。 この方法が利用できる場合、 モジュールの信頼性を判定するのに暗号で署名されたモジュールを使用することによるオーバーヘッドを避ける事ができる。 I<param_values> 引き数は B<init_module>() と同じである。"
838 #. commit 2f3238aebedb243804f58d62d57244edec4149b2
840 #: build/C/man2/init_module.2:119
842 "The I<flags> argument modifies the operation of B<finit_module>(). It is a "
843 "bit mask value created by ORing together zero or more of the following flags:"
844 msgstr "I<flags> 引き数で B<finit_module>() の動作を変更できる。 I<flags> は以下のフラグの 0 個以上の論理和をとって作成したビットマスクである。"
847 #: build/C/man2/init_module.2:119
849 msgid "B<MODULE_INIT_IGNORE_MODVERSIONS>"
850 msgstr "B<MODULE_INIT_IGNORE_MODVERSIONS>"
853 #: build/C/man2/init_module.2:122
854 msgid "Ignore symbol version hashes."
855 msgstr "シンボルのバージョンハッシュを無視する。"
858 #: build/C/man2/init_module.2:122
860 msgid "B<MODULE_INIT_IGNORE_VERMAGIC>"
861 msgstr "B<MODULE_INIT_IGNORE_VERMAGIC>"
864 #: build/C/man2/init_module.2:125
865 msgid "Ignore kernel version magic."
866 msgstr "カーネルのバージョン magic を無視する。"
868 #. http://www.tldp.org/HOWTO/Module-HOWTO/basekerncompat.html
869 #. is dated, but informative
871 #: build/C/man2/init_module.2:143
873 "There are some safety checks built into a module to ensure that it matches "
874 "the kernel against which it is loaded. These checks are recorded when the "
875 "module is built and verified when the module is loaded. First, the module "
876 "records a \"vermagic\" string containing the kernel version number and "
877 "prominent features (such as the CPU type). Second, if the module was built "
878 "with the B<CONFIG_MODVERSIONS> configuration option enabled, a version hash "
879 "is recorded for each symbol the module uses. This hash is based on the "
880 "types of the arguments and return value for the function named by the "
881 "symbol. In this case, the kernel version number within the \"vermagic\" "
882 "string is ignored, as the symbol version hashes are assumed to be "
883 "sufficiently reliable."
884 msgstr "そのモジュールがロードされるカーネルに合致することを保証するためのモジュールに組み込みの安全チェックがある。 これらのチェックは、 モジュールの作成時に記録され、 モジュールのロード時に検査される。 最初に、 モジュールはカーネルのバージョン番号と主要な機能 (CPU 種別など) が入った \"vermagic\" 文字列を記録する。 次に、 モジュールが B<CONFIG_MODVERSIONS> 設定オプションを有効にして作成されている場合、 バージョンハッシュがモジュールが使用するシンボルごとに記録される。 このハッシュはシンボルに対応する関数の引き数と返り値の型を基づいて計算される。 この場合、 シンボルのバージョンハッシュは十分に信頼できると考えられているため、 \"vermagic\" 文字列内のカーネルのバージョン番号は無視される。"
887 #: build/C/man2/init_module.2:154
889 "Using the B<MODULE_INIT_IGNORE_VERMAGIC> flag indicates that the \"vermagic"
890 "\" string is to be ignored, and the B<MODULE_INIT_IGNORE_MODVERSIONS> flag "
891 "indicates that the symbol version hashes are to be ignored. If the kernel "
892 "is built to permit forced loading (i.e., configured with "
893 "B<CONFIG_MODULE_FORCE_LOAD>), then loading will continue, otherwise it will "
894 "fail with B<ENOEXEC> as expected for malformed modules."
895 msgstr "B<MODULE_INIT_IGNORE_VERMAGIC> フラグは \"vermagic\" 文字列を無視することを意味し、 B<MODULE_INIT_IGNORE_MODVERSIONS> フラグはシンボルのバージョンハッシュを無視することを意味する。 カーネルが強制ロードを許可するように作成されている場合 (B<CONFIG_MODULE_FORCE_LOAD> が有効になっている場合)、 モジュールのロードは継続され、 そうでない場合は不正なモジュールに対して返るのと同じ B<ENOEXEC> で失敗する。"
898 #: build/C/man2/init_module.2:159
900 "On success, these system calls return 0. On error, -1 is returned and "
901 "I<errno> is set appropriately."
903 "成功の場合、これらのシステムコールは 0 を返す。エラーの場合 -1 が返され、 "
904 "I<errno> に適切な値が設定される。"
907 #: build/C/man2/init_module.2:160
909 msgid "B<EBADMSG> (since Linux 3.7)"
910 msgstr "B<EBADMSG> (Linux 3.7 以降)"
913 #: build/C/man2/init_module.2:163
914 msgid "Module signature is misformatted."
915 msgstr "モジュールの署名が正しい形式ではない。"
918 #: build/C/man2/init_module.2:166
919 msgid "Timeout while trying to resolve a symbol reference by this module."
920 msgstr "このモジュールがシンボル参照を解決する際にタイムアウトが起こった。"
923 #: build/C/man2/init_module.2:170
925 "An address argument referred to a location that is outside the process's "
926 "accessible address space."
928 "アドレス引き数が、プロセスがアクセスできるアドレス空間外の場所を参照してい"
932 #: build/C/man2/init_module.2:170
934 msgid "B<ENOKEY> (since Linux 3.7)"
935 msgstr "B<ENOKEY> (Linux 3.7 以降)"
937 #. commit 48ba2462ace6072741fd8d0058207d630ce93bf1
938 #. commit 1d0059f3a468825b5fc5405c636a2f6e02707ffa
939 #. commit 106a4ee258d14818467829bf0e12aeae14c16cd7
941 #: build/C/man2/init_module.2:181
943 "Module signature is invalid or the kernel does not have a key for this "
944 "module. This error is returned only if the kernel was configured with "
945 "B<CONFIG_MODULE_SIG_FORCE>; if the kernel was not configured with this "
946 "option, then an invalid or unsigned module simply taints the kernel."
947 msgstr "モジュールの署名が無効であるか、 カーネルがこのモジュール用の鍵を持っていない。 このエラーが返されるのは、 カーネルが B<CONFIG_MODULE_SIG_FORCE> で作成されている場合のみである。 カーネルでこのオプションが有効になっていない場合、 無効なモジュールや署名されていないモジュールはカーネルのゴミになる。"
950 #: build/C/man2/init_module.2:184
951 msgid "Out of memory."
955 #: build/C/man2/init_module.2:195
957 "The caller was not privileged (did not have the B<CAP_SYS_MODULE> "
958 "capability), or module loading is disabled (see I</proc/sys/kernel/"
959 "modules_disabled> in B<proc>(5))."
961 "呼び出し元が特権 (B<CAP_SYS_MODULE> ケーパビリティ) を持っていなかった。もし"
962 "くはモジュールのロードが無効になっている (B<proc>(5) の I</proc/sys/kernel/"
963 "modules_disabled> を参照)。"
966 #: build/C/man2/init_module.2:198
967 msgid "The following errors may additionally occur for B<init_module>():"
968 msgstr "B<init_module>() では以下のエラーも発生する場合がある。"
971 #: build/C/man2/init_module.2:201
972 msgid "A module with this name is already loaded."
973 msgstr "その名前のモジュールがすでにロードされている。"
976 #. .BR EINVAL " (Linux 2.4 and earlier)"
979 #. slot is filled in incorrectly,
981 #. does not correspond to the original module name, some
983 #. entry does not correspond to a loaded module,
984 #. or some other similar inconsistency.
986 #: build/C/man2/init_module.2:217
988 "I<param_values> is invalid, or some part of the ELF image in I<module_image> "
989 "contains inconsistencies."
990 msgstr "I<param_values> が無効、 または I<module_image> の ELF イメージの一部分に矛盾がある。"
993 #: build/C/man2/init_module.2:217 build/C/man2/init_module.2:240
999 #: build/C/man2/init_module.2:223
1001 "The binary image supplied in I<module_image> is not an ELF image, or is an "
1002 "ELF image that is invalid or for a different architecture."
1003 msgstr "I<module_image> で指定されたバイナリーイメージが ELF イメージではない、 もしくは無効な ELF イメージや別のアーキテクチャー用の ELF イメージである。"
1006 #: build/C/man2/init_module.2:226
1007 msgid "The following errors may additionally occur for B<finit_module>():"
1008 msgstr "B<finit_module>() では以下のエラーも発生する場合がある。"
1011 #: build/C/man2/init_module.2:226
1017 #: build/C/man2/init_module.2:231
1018 msgid "The file referred to by I<fd> is not opened for reading."
1019 msgstr "I<fd> が参照するファイルが読み出し用にオープンされていない。"
1022 #: build/C/man2/init_module.2:231
1028 #: build/C/man2/init_module.2:236
1029 msgid "The file referred to by I<fd> is too large."
1030 msgstr "I<fd> が参照するファイルが大きすぎる。"
1033 #: build/C/man2/init_module.2:240
1034 msgid "I<flags> is invalid."
1035 msgstr "I<flags> が無効である。"
1038 #: build/C/man2/init_module.2:244
1039 msgid "I<fd> does not refer to an open file."
1040 msgstr "I<fd> がオープンされたファイルを参照していない。"
1043 #: build/C/man2/init_module.2:256
1045 "In addition to the above errors, if the module's I<init> function is "
1046 "executed and returns an error, then B<init_module>() or B<finit_module>() "
1047 "fails and I<errno> is set to the value returned by the I<init> function."
1048 msgstr "上記のエラーに加え、 モジュールの I<init> 関数が実行されてエラーが発生した場合には、 B<init_module>() や B<finit_module>() は失敗し、 I<errno> に I<init> 関数が返した値が設定される。"
1051 #: build/C/man2/init_module.2:259
1052 msgid "B<finit_module>() is available since Linux 3.8."
1053 msgstr "B<finit_module>() は Linux 3.8 以降で利用可能である。"
1056 #: build/C/man2/init_module.2:264
1057 msgid "B<init_module>() and B<finit_module>() are Linux-specific."
1058 msgstr "B<init_module>() と B<finit_module>() は Linux 固有である。"
1061 #: build/C/man2/init_module.2:274
1063 "The B<init_module>() system call is not supported by glibc. No declaration "
1064 "is provided in glibc headers, but, through a quirk of history, glibc does "
1065 "export an ABI for this system call. Therefore, in order to employ this "
1066 "system call, it is sufficient to manually declare the interface in your "
1067 "code; alternatively, you can invoke the system call using B<syscall>(2)."
1069 "B<init_module>() システムコールは glibc ではサポートされていない。 glibc ヘッ"
1070 "ダーでは宣言は提供されていないが、 歴史の紆余曲折を経て glibc はこのシステム"
1071 "コールに対する ABI を公開していない。 したがって、このシステムコールを利用す"
1072 "るには、自分のコードの中で手動でインターフェースを宣言すればよい。 "
1073 "B<syscall>(2) を使ってシステムコールを起動できる。"
1076 #: build/C/man2/init_module.2:279
1078 "Glibc does not provide a wrapper for B<finit_module>(); call it using "
1081 "glibc は B<finit_module>() に対するラッパー関数を提供していない。 "
1082 "B<syscall>(2) を使って呼び出すこと。"
1085 #: build/C/man2/init_module.2:284
1087 "Information about currently loaded modules can be found in I</proc/modules> "
1088 "and in the file trees under the per-module subdirectories under I</sys/"
1090 msgstr "現在ロードされているモジュールに関する情報は I</proc/modules> および I</sys/module> 以下のモジュール単位のサブディレクトリ内のファイルツリーで参照できる。"
1093 #: build/C/man2/init_module.2:288
1095 "See the Linux kernel source file I<include/linux/module.h> for some useful "
1096 "background information."
1097 msgstr "Linux カーネルのソースファイル I<include/linux/module.h> には背景に関する有用な情報がある。"
1100 #: build/C/man2/init_module.2:293
1102 "In Linux 2.4 and earlier, the B<init_module>() system call was rather "
1104 msgstr "Linux 2.4 以前では B<init_module>() システムコールはかなり違ったものであった。"
1107 #: build/C/man2/init_module.2:295
1108 msgid "B<#include E<lt>linux/module.hE<gt>>"
1109 msgstr "B<#include E<lt>linux/module.hE<gt>>"
1112 #: build/C/man2/init_module.2:297
1114 "B< int init_module(const char *>I<name>B<, struct module *>I<image>B<);>"
1116 "B< int init_module(const char *>I<name>B<, struct module *>I<image>B<);>"
1119 #: build/C/man2/init_module.2:305
1121 "(User-space applications can detect which version of B<init_module>() is "
1122 "available by calling B<query_module>(); the latter call fails with the error "
1123 "B<ENOSYS> on Linux 2.6 and later.)"
1124 msgstr "(ユーザー空間アプリケーションは B<query_module>() を呼び出してどのバージョンの B<init_module>() が利用可能かを検出できる。 B<query_module>() の呼び出しは Linux 2.6 以降ではエラー B<ENOSYS> で失敗する。)"
1127 #: build/C/man2/init_module.2:316
1129 "The older version of the system call loads the relocated module image "
1130 "pointed to by I<image> into kernel space and runs the module's I<init> "
1131 "function. The caller is responsible for providing the relocated image "
1132 "(since Linux 2.6, the B<init_module>() system call does the relocation)."
1133 msgstr "古いバージョンのシステムコールは、 I<image> が指す再配置されたモジュールイメージをカーネル空間にロードし、 モジュールの I<init> 関数を実行する。 呼び出し元には再配置されたイメージを提供する責任がある (Linux 2.6 以降では B<init_module>() システムコールが再配置自体を行う)。"
1136 #: build/C/man2/init_module.2:320
1138 "The module image begins with a module structure and is followed by code and "
1139 "data as appropriate. Since Linux 2.2, the module structure is defined as "
1142 "モジュールイメージは先頭部分に module 構造体があり、その後ろに 適切なコードと"
1143 "データが続く。 Linux 2.2 以降では module 構造体は以下のように定義されている。"
1146 #: build/C/man2/init_module.2:343
1150 " unsigned long size_of_struct;\n"
1151 " struct module *next;\n"
1152 " const char *name;\n"
1153 " unsigned long size;\n"
1155 " unsigned long flags;\n"
1156 " unsigned int nsyms;\n"
1157 " unsigned int ndeps;\n"
1158 " struct module_symbol *syms;\n"
1159 " struct module_ref *deps;\n"
1160 " struct module_ref *refs;\n"
1161 " int (*init)(void);\n"
1162 " void (*cleanup)(void);\n"
1163 " const struct exception_table_entry *ex_table_start;\n"
1164 " const struct exception_table_entry *ex_table_end;\n"
1165 "#ifdef __alpha__\n"
1166 " unsigned long gp;\n"
1171 " unsigned long size_of_struct;\n"
1172 " struct module *next;\n"
1173 " const char *name;\n"
1174 " unsigned long size;\n"
1176 " unsigned long flags;\n"
1177 " unsigned int nsyms;\n"
1178 " unsigned int ndeps;\n"
1179 " struct module_symbol *syms;\n"
1180 " struct module_ref *deps;\n"
1181 " struct module_ref *refs;\n"
1182 " int (*init)(void);\n"
1183 " void (*cleanup)(void);\n"
1184 " const struct exception_table_entry *ex_table_start;\n"
1185 " const struct exception_table_entry *ex_table_end;\n"
1186 "#ifdef __alpha__\n"
1187 " unsigned long gp;\n"
1192 #: build/C/man2/init_module.2:353
1194 "All of the pointer fields, with the exception of I<next> and I<refs>, are "
1195 "expected to point within the module body and be initialized as appropriate "
1196 "for kernel space, that is, relocated with the rest of the module."
1198 "I<next> と I<refs> 以外の全てのポインター要素はモジュール本体内部を指し、 "
1199 "カーネル空間での適切な値で初期化される (つまり、モジュールの残りの 部分で再配"
1203 #: build/C/man2/init_module.2:359
1205 "B<create_module>(2), B<delete_module>(2), B<query_module>(2), B<lsmod>(8), "
1208 "B<create_module>(2), B<delete_module>(2), B<query_module>(2), B<lsmod>(8), "
1212 #: build/C/man2/query_module.2:10
1214 msgid "QUERY_MODULE"
1215 msgstr "QUERY_MODULE"
1218 #: build/C/man2/query_module.2:13
1219 msgid "query_module - query the kernel for various bits pertaining to modules"
1220 msgstr "query_module - モジュールに関連する各種の情報をカーネルに問い合わせる"
1223 #: build/C/man2/query_module.2:19
1226 "B<int query_module(const char *>I<name>B<, int >I<which>B<, void *>I<buf>B<,>\n"
1227 "B< size_t >I<bufsize>B<, size_t *>I<ret>B<);>\n"
1229 "B<int query_module(const char *>I<name>B<, int >I<which>B<, void *>I<buf>B<,>\n"
1230 "B< size_t >I<bufsize>B<, size_t *>I<ret>B<);>\n"
1233 #: build/C/man2/query_module.2:43
1235 "B<query_module>() requests information from the kernel about loadable "
1236 "modules. The returned information is placed in the buffer pointed to by "
1237 "I<buf>. The caller must specify the size of I<buf> in I<bufsize>. The "
1238 "precise nature and format of the returned information depend on the "
1239 "operation specified by I<which>. Some operations require I<name> to "
1240 "identify a currently loaded module, some allow I<name> to be NULL, "
1241 "indicating the kernel proper."
1243 "B<query_module>() は、ローダーブルモジュールに関する情報をカーネルに問い合わ"
1244 "せる。 情報は I<buf> が指し示すバッファーに格納されて返される。 呼び出し元は "
1245 "I<buf> のサイズを I<bufsize> に指定しなければならない。 得られる情報の正確な"
1246 "意味とフォーマットは、 I<which> でどの操作を指定するかによって異なる。 現在"
1247 "ロードされているモジュールを特定するために I<name> を必要とする操作があれ"
1248 "ば、 カーネル固有であることを示す NULL を指定できる操作もある。"
1251 #: build/C/man2/query_module.2:46
1252 msgid "The following values can be specified for I<which>:"
1253 msgstr "I<which> には以下の値を指定できる:"
1256 #: build/C/man2/query_module.2:46
1262 #: build/C/man2/query_module.2:51
1264 "Returns success, if the kernel supports B<query_module>(). Used to probe "
1265 "for availability of the system call."
1267 "カーネルが B<query_module>() をサポートしている場合、成功を返す。 このシステ"
1268 "ムコールが利用可能かを調べるために使われる。"
1271 #: build/C/man2/query_module.2:51
1273 msgid "B<QM_MODULES>"
1274 msgstr "B<QM_MODULES>"
1276 #. ret is set on ENOSPC
1278 #: build/C/man2/query_module.2:59
1280 "Returns the names of all loaded modules. The returned buffer consists of a "
1281 "sequence of null-terminated strings; I<ret> is set to the number of modules."
1283 "ロードされている全てのモジュールの名前を返す。 バッファーには、ヌル終端された"
1284 "文字列が順に入る。 返されるバッファー I<ret> にはモジュールの数が設定される。"
1287 #: build/C/man2/query_module.2:59
1292 #. ret is set on ENOSPC
1294 #: build/C/man2/query_module.2:66
1296 "Returns the names of all modules used by the indicated module. The returned "
1297 "buffer consists of a sequence of null-terminated strings; I<ret> is set to "
1298 "the number of modules."
1300 "指定されたモジュールが使用している全モジュールの名前を返す。 バッファーには、"
1301 "ヌル終端された文字列が順に入る。 返されるバッファー I<ret> にはモジュールの数"
1305 #: build/C/man2/query_module.2:66
1310 #. ret is set on ENOSPC
1312 #: build/C/man2/query_module.2:75
1314 "Returns the names of all modules using the indicated module. This is the "
1315 "inverse of B<QM_DEPS>. The returned buffer consists of a sequence of null-"
1316 "terminated strings; I<ret> is set to the number of modules."
1318 "指定されたモジュールを使用している全モジュールの名前を返す。 これは "
1319 "B<QM_DEPS> と逆の機能である。 バッファーには、ヌル終端された文字列が順に入"
1320 "る。 返されるバッファー I<ret> にはモジュールの数が設定される。"
1323 #: build/C/man2/query_module.2:75
1325 msgid "B<QM_SYMBOLS>"
1326 msgstr "B<QM_SYMBOLS>"
1328 #. ret is set on ENOSPC
1330 #: build/C/man2/query_module.2:81
1332 "Returns the symbols and values exported by the kernel or the indicated "
1333 "module. The returned buffer is an array of structures of the following form"
1335 "カーネルまたは指定されたモジュールがエクスポートしているシンボルと 値を返"
1336 "す。 バッファーのデータは、 以下の構造体の配列にヌル終端された文字列が続く形"
1340 #: build/C/man2/query_module.2:88
1343 "struct module_symbol {\n"
1344 " unsigned long value;\n"
1345 " unsigned long name;\n"
1348 "struct module_symbol {\n"
1349 " unsigned long value;\n"
1350 " unsigned long name;\n"
1354 #: build/C/man2/query_module.2:98
1356 "followed by null-terminated strings. The value of I<name> is the character "
1357 "offset of the string relative to the start of I<buf>; I<ret> is set to the "
1358 "number of symbols."
1360 "I<name> の値は、 I<buf> の先頭からの文字列までのオフセット文字数である。 "
1361 "I<ret> にはシンボルの数が設定される。"
1364 #: build/C/man2/query_module.2:98
1370 #: build/C/man2/query_module.2:102
1372 "Returns miscellaneous information about the indicated module. The output "
1375 "指定されたモジュールに関する様々な情報を返す。 出力バッファーのフォーマットは"
1379 #: build/C/man2/query_module.2:110
1382 "struct module_info {\n"
1383 " unsigned long address;\n"
1384 " unsigned long size;\n"
1385 " unsigned long flags;\n"
1388 "struct module_info {\n"
1389 " unsigned long address;\n"
1390 " unsigned long size;\n"
1391 " unsigned long flags;\n"
1395 #: build/C/man2/query_module.2:129
1397 "where I<address> is the kernel address at which the module resides, I<size> "
1398 "is the size of the module in bytes, and I<flags> is a mask of "
1399 "B<MOD_RUNNING>, B<MOD_AUTOCLEAN>, and so on, that indicates the current "
1400 "status of the module (see the Linux kernel source file I<include/linux/"
1401 "module.h>). I<ret> is set to the size of the I<module_info> structure."
1403 "I<address> はそのモジュールが配置されているカーネル空間上のアドレス、 "
1404 "I<size> はそのモジュールのバイト単位のサイズ、 I<flags> は B<MOD_RUNNING>, "
1405 "B<MOD_AUTOCLEAN> 等のマスクであり、そのモジュールの現在の状態を示す (Linux "
1406 "カーネルのソースファイル I<include/linux/module.h> を参照)。 I<ret> には "
1407 "I<module_info> 構造体のサイズが設定される。"
1410 #: build/C/man2/query_module.2:143
1412 "At least one of I<name>, I<buf>, or I<ret> was outside the program's "
1413 "accessible address space."
1415 "I<name>, I<buf>, I<ret> の少なくとも一つが、プログラムがアクセスできる アドレ"
1418 #. Not permitted with QM_DEPS, QM_REFS, or QM_INFO.
1420 #: build/C/man2/query_module.2:153
1422 "Invalid I<which>; or I<name> is NULL (indicating \"the kernel\"), but this "
1423 "is not permitted with the specified value of I<which>."
1425 "I<which> が不正である。あるいは I<name> が NULL だが (NULL は \"カーネル\" を"
1426 "示す)、 I<which> で指定された値との組み合わせは許可されていない。"
1429 #: build/C/man2/query_module.2:158
1430 msgid "No module by that I<name> exists."
1431 msgstr "I<name> という名前のモジュールが存在しない。"
1434 #: build/C/man2/query_module.2:158
1440 #: build/C/man2/query_module.2:163
1442 "The buffer size provided was too small. I<ret> is set to the minimum size "
1445 "与えられたバッファーの大きさが小さすぎる。 I<ret> には最小限必要なバッファー"
1449 #: build/C/man2/query_module.2:168
1451 "B<query_module>() is not supported in this version of the kernel (e.g., the "
1452 "kernel is version 2.6 or later)."
1454 "B<query_module>() はこのバージョンのカーネルではサポートされていない (例え"
1455 "ば、カーネルのバージョンが 2.6 以降)。"
1458 #: build/C/man2/query_module.2:175
1459 msgid "B<query_module>() is Linux-specific."
1460 msgstr "B<query_module>() は Linux 固有である。"
1463 #: build/C/man2/query_module.2:183
1465 "Some of the information that was formerly available via B<query_module>() "
1466 "can be obtained from I</proc/modules>, I</proc/kallsyms>, and the files "
1467 "under the directory I</sys/module>."
1469 "以前 B<query_module>() で得られた情報のいくつかは、 I</proc/modules>, I</"
1470 "proc/kallsyms> および I</sys/module> ディレクトリ内のファイルから取得できる。"
1473 #: build/C/man2/query_module.2:193
1475 "The B<query_module>() system call is not supported by glibc. No "
1476 "declaration is provided in glibc headers, but, through a quirk of history, "
1477 "glibc does export an ABI for this system call. Therefore, in order to "
1478 "employ this system call, it is sufficient to manually declare the interface "
1479 "in your code; alternatively, you can invoke the system call using "
1482 "B<query_module>() システムコールは glibc ではサポートされていない。 glibc "
1483 "ヘッダーでは宣言は提供されていないが、 歴史の紆余曲折を経て glibc はこのシス"
1484 "テムコールに対する ABI を公開していない。 したがって、このシステムコールを利"
1485 "用するには、自分のコードの中で手動でインターフェースを宣言すればよい。 "
1486 "B<syscall>(2) を使ってシステムコールを起動できる。"
1489 #: build/C/man2/query_module.2:200
1491 "B<create_module>(2), B<delete_module>(2), B<get_kernel_syms>(2), "
1492 "B<init_module>(2), B<lsmod>(8), B<modinfo>(8)"
1494 "B<create_module>(2), B<delete_module>(2), B<get_kernel_syms>(2), "
1495 "B<init_module>(2), B<lsmod>(8), B<modinfo>(8)"