JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... d long addr ); int arch_prctl(int code , unsigned long * addr ); 説明 arch_prctl () はアーキテクチャー固有のプロセス状態またはスレッド状態を設定する。 c ... し元のスレッドの GS レジスターの 64 ビットベース値を、 addr が指す unsigned long の領域に格納する。 返り値 成功すると、 arch_prctl () は 0 を返す。エラーの場合、-1 を返し、 errno をエラーを示す値に設定する。 エラー EFAULT addr がアンマップされたアドレス ... 空間の外にある。 ENODEV ARCH_SET_CPUID was requested, but the underlying hardware does not support CPUID faulting. 準拠 arch_prctl () は Linux/x86-64 拡張であり、移植性を意図したプログラムでは使うべきでない。 注意 arch_prctl () は現在のところ Linux/x86- ... ... gned long arg5 ); 説明 prctl () の動作は最初の引き数によって決定される (この値は < linux/prctl.h > に定義されている)。 残りの引き数は最初の引き数によっ ... (2) で作成された子プロセスに継承され、 execve (2) の前後で保持される。 詳しい情報は、カーネルソースファイル Documentation/prctl/no_new_privs.txt を参照。 PR_GET_NO_NEW_PRIVS (Linux 3.5 以降) 現在のプロセスの no_new_privs ビットの値を (関数の結果として ... れた子プロセスに継承される。 execve (2) が許可されている場合、 seccomp モードは execve (2) の前後で維持される。 フィルターで prctl () コールが許可されている場合、 追加でフィルターが定義され、 これらのフィルターは許可されないものが見つかるまで指定された順 ... ... る場合: 呼び出し元スレッドのバウンディングセットの任意のケーパビリティを 自身の継承可能ケーパビリティセットに追加できる。 ( prctl (2) PR_CAPBSET_DROP を使って) バウンディングセットからケーパビリティを削除できる。 securebits フラグを変更できる。 CAP_SET ... する。 * POSIX メッセージキューを作成する際に、 上限 /proc/sys/fs/mqueue/queues_max を上書きする ( mq_overview (7) 参照)。 * prctl (2) PR_SET_MM 操作を使用する。 * CAP_SYS_RESOURCE を持ったプロセスによって最後に設定された値よりも小さな値を /proc/PID/oom ... ロセスから継承され、 execve (2) の前後では保持される。 スレッドが CAP_SETPCAP ケーパビリティを持っている場合、そのスレッドは prctl (2) の PR_CAPBSET_DROP 操作を使って自身のケーパビリティバウンディングセットから ケーパビリティを削除することができる。 いっ ... ... roup-ID bits are ignored) if any of the following is true: * the no_new_privs attribute is set for the calling thread (see prctl (2)); * the underlying filesystem is mounted nosuid (the MS_NOSUID flag for mount (2)); or * the calling process is being ... may instead be reset to the value in /proc/sys/fs/suid_dumpable , in the circumstances described under PR_SET_DUMPABLE in prctl (2). Note that changes to the "dumpable" attribute may cause ownership of files in the process's /proc/[pid] directory to ... change to root:root , as described in proc (5). * prctl (2) の PR_SET_KEEPCAPS フラグはクリアされる。 * (Linux 2.4.36 以降 / 2.6.23 以降) set-user-ID や set-group-ID されたプログ ... ... * 子プロセスは親プロセスからディレクトリ変更通知 (dnotify) ( fcntl (2) における F_NOTIFY の説明を参照) を引き継がない。 * prctl (2) の PR_SET_PDEATHSIG の設定がリセットされ、子プロセスは親プロセスが終了したときに シグナルを受信しない。 * timer slack ... value のデフォルト値には、親プロセスの現在の timer slack value が設定される。 prctl (2) の PR_SET_TIMERSLACK の説明を参照。 * madvise (2) の MADV_DONTFORK フラグでマークされたメモリーマッピングは、 fork () ... ... the process is executing a program that has file capabilities (see capabilities (7)). (However, see the description of the prctl (2) PR_SET_DUMPABLE operation, and the description of the /proc/sys/fs/suid_dumpable file in proc (5).) * /proc/sys/kernel ... 文字。 %c クラッシュしたプロセスのコアファイルのサイズに関するソフトリソース上限 (Linux 2.6.24 以降)。 %d ダンプモード --- prctl (2) PR_GET_DUMPABLE が返す値と同じ (Linux 3.7 以降)。 %e The process or thread's comm value, which typically is the same a ... ump: %zd\n", tot); fclose(fp); exit(EXIT_SUCCESS); } 関連項目 bash (1), coredumpctl (1), gdb (1), getrlimit (2), mmap (2), prctl (2), sigaction (2), elf (5), proc (5), pthreads (7), signal (7), systemd-coredump (8) この文書について この man ページは L ... ... children of the process are inherited by init (1) (or by the nearest "subreaper" process as defined through the use of the prctl (2) PR_SET_CHILD_SUBREAPER operation). The process's parent is sent a SIGCHLD signal. The value status & 0xFF is returned ... ... children of the process are inherited by init (1) (or by the nearest "subreaper" process as defined through the use of the prctl (2) PR_SET_CHILD_SUBREAPER operation). The process's parent is sent a SIGCHLD signal. The value status & 0xFF is returned ... ... children of the process are inherited by init (1) (or by the nearest "subreaper" process as defined through the use of the prctl (2) PR_SET_CHILD_SUBREAPER operation). The process's parent is sent a SIGCHLD signal. The value status & 0xFF is returned ... ... ion of a process does not in general cause a signal to be sent to children of that process. However, a process can use the prctl (2) PR_SET_PDEATHSIG operation to arrange that it receives a signal if its parent terminates. 関連項目 _exit (2), get_robu ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。