JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... と現在共有している 実行コンテキストの一部を分離することができる。 実行コンテキストの一部、たとえばマウント名前空間 (mount namespace) などは、新しいプロセスを fork (2) または vfork (2) を使って生成したときに、暗黙のうちに共有される。 一方、仮想メモリーなど ... 。 CLONE_NEWCGROUP (Linux 4.6 以降) This flag has the same effect as the clone (2) CLONE_NEWCGROUP flag. Unshare the cgroup namespace. Use of CLONE_NEWCGROUP requires the CAP_SYS_ADMIN capability. CLONE_NEWIPC (Linux 2.6.19 以降) このフラグは clone (2) CLO ... ると、 CLONE_FS も暗黙のうちに指定される。 CLONE_NEWNS を使用するには CAP_SYS_ADMIN ケーパビリティが必要である。詳細は mount_namespaces (7) を参照。 CLONE_NEWPID (Linux 3.8 以降) このフラグは clone (2) CLONE_NEWPID フラグと同じ効果を持つ。 PID 名前空間を共有 ... ... のマウント名前空間の所有者のユーザー名前空間と異なるマウント名前空間は、 特権が少ないマウント名前空間 (less privileged mount namespace) である。 * 特権が少ないマウント名前空間を作成する場合、 共有マウントは slave マウントに縮小される。 これにより、 特権の少 ... ないマウント名前空間で実行されるマッピングが、 より特権を持つマウント名前空間 (more privileged mount namespace) に伝搬しないことが保証される。 * より特権を持つマウントで一つのまとまりとして行われたマウントは一つにまとまったままとなり ... options] cmd [arg...]\n\n", pname); fprintf(stderr, "Create a child process that executes a shell " "command in a new user namespace,\n" "and possibly also other new namespace(s).\n\n"); fprintf(stderr, "Options can be:\n\n"); #define fpe(str) fprintf(std ... ... と、 hard または BIOS 経由の再起動を 設定できる。 PID 名前空間内での動作 Since Linux 3.4, if reboot () is called from a PID namespace other than the initial PID namespace with one of the cmd values listed below, it performs a "reboot" of that namespace: th ... e "init" process of the PID namespace is immediately terminated, with the effects described in pid_namespaces (7). The values that can be supplied in cmd when c ... RM The calling process has insufficient privilege to call reboot (); the caller must have the CAP_SYS_BOOT inside its user namespace. 準拠 reboot () は Linux に特有であり、移植を考慮したプログラムでは用いるべきではない。 関連項目 systemctl (1), systemd (1 ... ... イルディスクリプターは読み出し可能となり、 poll (2) と epoll_wait (2) ではそのファイルはエラー状態として通知される。 詳細は namespaces (7) を参照。 /proc/[pid]/mountstats (Linux 2.6.17 以降) このファイルを通じて、そのプロセスのマウント名前空間内のマウントポ ... 提供されているのは NFS ファイルシステムだけである。 このファイルはプロセスの所有者だけが読み出すことができる。 詳しい情報は namespaces (7) を参照。 /proc/[pid]/ns/ (Linux 3.0 以降) このサブディレクトリには、名前空間毎に 1 エントリーが置かれる。 各エントリー ... は setns (2) による操作をサポートしている。 詳細な情報は namespaces (7) を参照。 /proc/[pid]/numa_maps (Linux 2.6.14 以降) numa (7) を参照。 /proc/[pid]/oom_adj (Linux 2.6.11 以降) このファ ... ... イルディスクリプターは読み出し可能となり、 poll (2) と epoll_wait (2) ではそのファイルはエラー状態として通知される。 詳細は namespaces (7) を参照。 /proc/[pid]/mountstats (Linux 2.6.17 以降) このファイルを通じて、そのプロセスのマウント名前空間内のマウントポ ... 提供されているのは NFS ファイルシステムだけである。 このファイルはプロセスの所有者だけが読み出すことができる。 詳しい情報は namespaces (7) を参照。 /proc/[pid]/ns/ (Linux 3.0 以降) このサブディレクトリには、名前空間毎に 1 エントリーが置かれる。 各エントリー ... は setns (2) による操作をサポートしている。 詳細な情報は namespaces (7) を参照。 /proc/[pid]/numa_maps (Linux 2.6.14 以降) numa (7) を参照。 /proc/[pid]/oom_adj (Linux 2.6.11 以降) このファ ... ... ain name of the host system. More precisely, they operate on the NIS domain name associated with the calling process's UTS namespace. setdomainname () は、ドメイン名を、文字配列 name で指定された値に設定する。 引数 len には、 name のバイト数を指定する (そ ... 間の外を指した。 EINVAL len が負であるか、長すぎる。 EPERM The caller did not have the CAP_SYS_ADMIN capability in the user namespace associated with its UTS namespace (see namespaces (7)). getdomainname () は以下のエラーで失敗する可能性がある。 EINVAL lib ... e (2) の呼び出しで返された domainname フィールドのコピーを返す。 関連項目 gethostname (2), sethostname (2), uname (2), uts_namespaces (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ ... ... ain name of the host system. More precisely, they operate on the NIS domain name associated with the calling process's UTS namespace. setdomainname () は、ドメイン名を、文字配列 name で指定された値に設定する。 引数 len には、 name のバイト数を指定する (そ ... 間の外を指した。 EINVAL len が負であるか、長すぎる。 EPERM The caller did not have the CAP_SYS_ADMIN capability in the user namespace associated with its UTS namespace (see namespaces (7)). getdomainname () は以下のエラーで失敗する可能性がある。 EINVAL lib ... e (2) の呼び出しで返された domainname フィールドのコピーを返す。 関連項目 gethostname (2), sethostname (2), uname (2), uts_namespaces (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ ... ... s or to change the system hostname. More precisely, they operate on the hostname associated with the calling process's UTS namespace. sethostname () は、ホスト名を、文字配列 name で指定された値に設定する。 引数 len には、 name のバイト数を指定する (そのた ... この状況で EINVAL が使用される)。 EPERM For sethostname (), the caller did not have the CAP_SYS_ADMIN capability in the user namespace associated with its UTS namespace (see namespaces (7)). 準拠 SVr4, 4.4BSD (これらのインターフェースは 4.2BSD で初めて登場し ... -1 を返し、 errno に ENAMETOOLONG を設定する。 関連項目 hostname (1), getdomainname (2), setdomainname (2), uname (2), uts_namespaces (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ ... ... s or to change the system hostname. More precisely, they operate on the hostname associated with the calling process's UTS namespace. sethostname () は、ホスト名を、文字配列 name で指定された値に設定する。 引数 len には、 name のバイト数を指定する (そのた ... この状況で EINVAL が使用される)。 EPERM For sethostname (), the caller did not have the CAP_SYS_ADMIN capability in the user namespace associated with its UTS namespace (see namespaces (7)). 準拠 SVr4, 4.4BSD (これらのインターフェースは 4.2BSD で初めて登場し ... -1 を返し、 errno に ENAMETOOLONG を設定する。 関連項目 hostname (1), getdomainname (2), setdomainname (2), uname (2), uts_namespaces (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ ... ... ing process was not privileged (on Linux: the calling process did not have the CAP_NET_BIND_SERVICE capability in the user namespace governing its network namespace). EADDRINUSE 全ての特権ポートが使用中である。 EAFNOSUPPORT (glibc 2.7 以前では EPFNOSUPPOR ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。