OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man1 / ldd.1
index d60b41d..42a61a3 100644 (file)
@@ -5,20 +5,39 @@
 .\" Copyright 2000 Jakub Jelinek (jakub@redhat.com)
 .\"    Corrected.
 .\" Most of this was copied from the README file.
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
 .\" Do not restrict distribution.
 .\" May be distributed under the GNU General Public License
+.\" %%%LICENSE_END
+.\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LDD 1 2000\-10\-30 "" "Linux Programmer's Manual"
+.TH LDD 1 2012\-07\-16 "" "Linux Programmer's Manual"
 .SH 名前
 ldd \- 共有ライブラリへの依存関係を表示する
 .SH 書式
 \fBldd\fP [OPTION]... FILE...
 .SH 説明
 \fBldd\fP はコマンドラインで指定したプログラムや共有ライブラリについて、 それぞれで必要とされる共有ライブラリを表示する。
+.SS Security
+.\" Mainline glibc's ldd allows this possibility (the line
+.\"      try_trace "$file"
+.\" in glibc 2.15, for example), but many distro versions of
+.\" ldd seem to remove that code path from the script.
+In the usual case, \fBldd\fP invokes the standard dynamic linker (see
+\fBld.so\fP(8))  with the \fBLD_TRACE_LOADED_OBJECTS\fP environment variable set
+to 1, which causes the linker to display the library dependencies.  Be
+aware, however, that in some circumstances, some versions of \fBldd\fP may
+attempt to obtain the dependency information by directly executing the
+program.  Thus, you should \fInever\fP employ \fBldd\fP on an untrusted
+executable, since this may result in the execution of arbitrary code.  A
+safer alternative when dealing with untrusted executables is:
+
+    $ objdump \-p /path/to/program | grep NEEDED
 .SH オプション
 .TP 
 \fB\-\-version\fP
@@ -57,6 +76,6 @@ libc5 バージョンのプログラムでは、 コマンドラインで与え
 .SH 関連項目
 \fBld.so\fP(8), \fBldconfig\fP(8)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。