JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... と呼ばれる。 ステップ 2: パスを辿る 現在の検索ディレクトリをディレクトリ検索の開始点とする。 そして、パス名の最後の構成要素 (component) でない各構成要素について、 現在の検索ディレクトリで検索を行う。 ここで構成要素は '/' で区切られた部分文字列である。 プロセ ... 見つかって、かつディレクトリである場合、 現在の検索ディレクトリをそのディレクトリに設定し、 次の構成要素に移動する。 If the component is found and is a symbolic link (symlink), we first resolve this symbolic link (with the current lookup directory as start ... olic link is successful and returns a directory, we set the current lookup directory to that directory, and go to the next component. Note that the resolution process here can involve recursion if the prefix ('dirname') component of a pathname contains a ... ... me terminology. Given a pathname of the form a/b/c , the part preceding the final slash (i.e., a/b ) is called the dirname component, and the part following the final slash (i.e., c ) is called the basename component. システムコールにおけるシンボリックリン ... 場合である。 The treatment of symbolic links within a pathname passed to a system call is as follows: 1. Within the dirname component of a pathname, symbolic links are always followed in nearly every system call. (This is also true for commands.) The one e ... ion is openat2 (2), which provides flags that can be used to explicitly prevent following of symbolic links in the dirname component. 2. Except as noted below, all system calls follow symbolic links in the basename component of a pathname. For example, if ... ... に、たとえそのプロセスが制御端末を持っていなくても、オープンしたファイル は制御端末にはならない。 O_NOFOLLOW If the trailing component (i.e., basename) of pathname is a symbolic link, then the open fails, with the error ELOOP . Symbolic links in earlier com ... ase is indistinguishable from the case where an open fails because there are too many symbolic links found while resolving components in the prefix part of the pathname.) This flag is a FreeBSD extension, which was added to Linux in version 2.1.126, and h ... O_TMPFILE が指定されたが、 O_WRONLY も O_RDWR も指定されていなかった。 EINVAL O_CREAT was specified in flags and the final component ("basename") of the new file's pathname is invalid (e.g., it contains characters not permitted by the underlying filesyste ... ... に、たとえそのプロセスが制御端末を持っていなくても、オープンしたファイル は制御端末にはならない。 O_NOFOLLOW If the trailing component (i.e., basename) of pathname is a symbolic link, then the open fails, with the error ELOOP . Symbolic links in earlier com ... ase is indistinguishable from the case where an open fails because there are too many symbolic links found while resolving components in the prefix part of the pathname.) This flag is a FreeBSD extension, which was added to Linux in version 2.1.126, and h ... O_TMPFILE が指定されたが、 O_WRONLY も O_RDWR も指定されていなかった。 EINVAL O_CREAT was specified in flags and the final component ("basename") of the new file's pathname is invalid (e.g., it contains characters not permitted by the underlying filesyste ... ... に、たとえそのプロセスが制御端末を持っていなくても、オープンしたファイル は制御端末にはならない。 O_NOFOLLOW If the trailing component (i.e., basename) of pathname is a symbolic link, then the open fails, with the error ELOOP . Symbolic links in earlier com ... ase is indistinguishable from the case where an open fails because there are too many symbolic links found while resolving components in the prefix part of the pathname.) This flag is a FreeBSD extension, which was added to Linux in version 2.1.126, and h ... O_TMPFILE が指定されたが、 O_WRONLY も O_RDWR も指定されていなかった。 EINVAL O_CREAT was specified in flags and the final component ("basename") of the new file's pathname is invalid (e.g., it contains characters not permitted by the underlying filesyste ... ... il a match is found. The default search list includes first the local domain, then its parent domains with at least 2 name components (longest first). For example, in the domain cs.example.com, the name lithium.cchem will be checked first as lithium.cchem ... .cs.example and then as lithium.cchem.example.com. lithium.cchem.com will not be tried, as there is only one component remaining from the local domain. The search path can be changed from the default by a system-wide configuration file (see ... ... を解決する際に遭遇したシンボリックリンクが多過ぎる。 ENAMETOOLONG ( pathconf ()) path が長過ぎる。 ENOENT ( pathconf ()) A component of path does not exist, or path is an empty string. ENOTDIR ( pathconf ()) path のディレクトリ部分が実際にはディレクトリで ... ... を解決する際に遭遇したシンボリックリンクが多過ぎる。 ENAMETOOLONG ( pathconf ()) path が長過ぎる。 ENOENT ( pathconf ()) A component of path does not exist, or path is an empty string. ENOTDIR ( pathconf ()) path のディレクトリ部分が実際にはディレクトリで ... ... 間の外を指している。 ELOOP addr を解決する際に遭遇したシンボリックリンクが多過ぎる。 ENAMETOOLONG addr が長過ぎる。 ENOENT A component in the directory prefix of the socket pathname does not exist. ENOMEM カーネルに、利用可能なメモリーが十分にない。 ENOTDIR ... ... 先が存在するかどうかに関らず)エラーになる。 EFAULT pathname がアクセス可能なアドレス空間の外を指している。 EINVAL The final component ("basename") of the new directory's pathname is invalid (e.g., it contains characters not permitted by the underlying file ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。