OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / draft / man2 / get_kernel_syms.2
index 31d5c4f..6b8611e 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 GET_KERNEL_SYMS 2 2007\-06\-03 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
+.\" Translated 2006-07-31, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\" Updated 2013-05-01, Akihiro MOTOKI <amotoki@gmail.com>, LDP v3.51
+.\" Updated 2013-05-06, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
+.TH GET_KERNEL_SYMS 2 2012\-10\-18 Linux "Linux Programmer's Manual"
 .SH 名前
 get_kernel_syms \- 公開されているカーネルやモジュールのシンボルの取得
 .SH 書式
@@ -20,6 +28,8 @@ get_kernel_syms \- 公開されているカーネルやモジュールのシン
 \fBint get_kernel_syms(struct kernel_sym *\fP\fItable\fP\fB);\fP
 .fi
 .SH 説明
+\fB注意\fP: このシステムコールが存在するのは、カーネル 2.6 より前の Linux だけである。
+
 \fBget_kernel_syms\fP()  は、 \fItable\fP が NULL の場合、 問い合わせできるシンボルの数を返す。 NULL
 以外の場合、以下の構造体の列 (table) に値を入れて返す。
 .PP
@@ -50,17 +60,17 @@ struct kernel_sym {
 .SH 準拠
 \fBget_kernel_syms\fP()  は Linux 固有である。
 .SH バグ
-\fItable\fP 用に確保したバッファの大きさを伝える方法がない。 プログラムがシンボルテーブルの大きさを問い合わせた後に、カーネルに
-シンボルが追加されると、メモリの内容が破壊されることになる。
+\fItable\fP ç\94¨ã\81«ç¢ºä¿\9dã\81\97ã\81\9fã\83\90ã\83\83ã\83\95ã\82¡ã\83¼ã\81®å¤§ã\81\8dã\81\95ã\82\92ä¼\9dã\81\88ã\82\8bæ\96¹æ³\95ã\81\8cã\81ªã\81\84ã\80\82 ã\83\97ã\83­ã\82°ã\83©ã\83 ã\81\8cã\82·ã\83³ã\83\9cã\83«ã\83\86ã\83¼ã\83\96ã\83«ã\81®å¤§ã\81\8dã\81\95ã\82\92å\95\8fã\81\84å\90\88ã\82\8fã\81\9bã\81\9få¾\8cã\81«ã\80\81ã\82«ã\83¼ã\83\8dã\83«ã\81«
\82·ã\83³ã\83\9cã\83«ã\81\8c追å\8a ã\81\95ã\82\8cã\82\8bã\81¨ã\80\81ã\83¡ã\83¢ã\83ªã\83¼ã\81®å\86\85容ã\81\8cç ´å£\8aã\81\95ã\82\8cã\82\8bã\81\93ã\81¨ã\81«ã\81ªã\82\8bã\80\82
 .PP
 公開されるシンボル名の長さが 59 文字に制限されている。
 .PP
 これらの制限があるので、このシステムコールを使うよりは \fBquery_module\fP(2)  を使うのが望ましい (現在では
-\fBquery_module\fP(2)  自身もそのマニュアルページに書かれているように 他のインタフェースを使うのが望ましいとされている)。
+\fBquery_module\fP(2)  è\87ªèº«ã\82\82ã\81\9dã\81®ã\83\9eã\83\8bã\83¥ã\82¢ã\83«ã\83\9aã\83¼ã\82¸ã\81«æ\9b¸ã\81\8bã\82\8cã\81¦ã\81\84ã\82\8bã\82\88ã\81\86ã\81« ä»\96ã\81®ã\82¤ã\83³ã\82¿ã\83¼ã\83\95ã\82§ã\83¼ã\82¹ã\82\92使ã\81\86ã\81®ã\81\8cæ\9c\9bã\81¾ã\81\97ã\81\84ã\81¨ã\81\95ã\82\8cã\81¦ã\81\84ã\82\8b\80\82
 .SH 関連項目
 \fBcreate_module\fP(2), \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.79 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。