.\" Japanese Version Copyright (c) 2006 Yuichi SATO
.\" all rights reserved.
.\" Translated 2006-09-30 by Yuichi SATO <ysato444@yahoo.co.jp>, LDP v2.39
+.\" Updated 2013-08-21, Akihiro MOTOKI <amotoki@gmail.com>, LDP v3.53
.\"
.TH LINKAT 2 2013\-07\-21 Linux "Linux Programmer's Manual"
.SH 名前
.TP
\fBAT_EMPTY_PATH\fP (Linux 2.6.39 以降)
.\" commit 11a7b371b64ef39fc5fb1b6f2218eef7c4d035e3
-If \fIoldpath\fP is an empty string, create a link to the file referenced by
-\fIolddirfd\fP (which may have been obtained using the \fBopen\fP(2) \fBO_PATH\fP
-flag). In this case, \fIolddirfd\fP can refer to any type of file, not just a
-directory. The caller must have the \fBCAP_DAC_READ_SEARCH\fP capability in
-order to use this flag; this prevents arbitrary users from creating hard
-links using file descriptors received via a UNIX domain socket (see the
-discussion of \fBSCM_RIGHTS\fP in \fBunix\fP(7)).
+\fIoldpath\fP が空の文字列の場合、 \fIolddirfd\fP が参照するファイルへのリンクを作成する (\fIolddirfd\fP は
+\fBopen\fP(2) の \fBO_PATH\fP フラグを使って取得することができる)。 この場合、 \fIolddirfd\fP は、
+ディレクトリだけでなく、任意の種類のファイルを参照することができる。 このフラグを使うためには、 呼び出し側は
+\fBCAP_DAC_READ_SEARCH\fP ケーパビリティを持っていなければならない。 これは、 UNIX
+ドメインソケット経由で受信したファイルディスクリプタを使って、 任意のユーザがハードリンクを作成するのを防止するためである (\fBunix\fP(7) の
+\fBSCM_RIGHTS\fP に関する議論を参照)。
.TP
\fBAT_SYMLINK_FOLLOW\fP (since Linux 2.6.18)
デフォルトでは、 \fIoldpath\fP がシンボリック・リンクの場合、 (\fBlink\fP(2) 同様) \fBlinkat\fP() は
\fIolddirfd\fP または \fInewdirfd\fP が有効なファイルディスクリプタでない。
.TP
\fBENOENT\fP
-\fBAT_EMPTY_PATH\fP was specified in \fIflags\fP, but the caller did not have the
-\fBCAP_DAC_READ_SEARCH\fP capability.
+\fIflags\fP に \fBAT_EMPTY_PATH\fP が指定されたが、呼び出し側が \fBCAP_DAC_READ_SEARCH\fP
+ケーパビリティを持っていなかった。
.TP
\fBENOTDIR\fP
.TP