JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... chain] ebtables [ -t table ] -E old-chain-name new-chain-name ebtables [ -t table ] --init-table ebtables [ -t table ] [ --atomic-file file] --atomic-commit ebtables [ -t table ] [ --atomic-file file] --atomic-init ebtables [ -t table ] [ --atomic-file ... file] --atomic-save LEGACY This tool uses the old xtables/setsockopt framework, and is a legacy version of ebtables. That means that a ne ... ter テーブルに適用される。 一度には 1 つのコマンドしか使えない。 -L と -Z の組み合わせ、 -N と -P の組み合わせ、あるいは --atomic-file を使ったときは例外として複数のコマンドを使える。 -A, --append チェインの最後にルールを追加する。 -D, --delete チェイン ... ... _SZ 操作を使って行うことができる。 詳細は fcntl (2) 参照。 PIPE_BUF POSIX.1-2001 では、 PIPE_BUF バイト以下の write (2) は atomic に行われること、つまりパイプへの出力データの書き込みは 連続したシーケンスとして行われることを必須としている (MUST)。 PIPE_ ... BUF バイトより多くのデータを書き込み場合は atomic とはならない、 つまりパイプへの他のプロセスによるデータの書き込みが間に入る 可能性がある。 POSIX.1-2001 の仕様では、 PIPE_ ... 行われるかどうか、および 書き込みを行うバイト数 n により決定される。 O_NONBLOCK 無効, n <= PIPE_BUF n バイト全部の書き込みが atomic に行われる。 n バイト分をすぐに書き込む余地がない場合は write (2) は停止 (block) することがある。 O_NONBLOCK 有効, n <= PI ... ... そのメモリーを変更できる。 PROT_EXEC そのメモリーは実行可能である。 PROT_SEM (Linux 2.5.7 以降) The memory can be used for atomic operations. This flag was introduced as part of the futex (2) implementation (in order to guarantee the ability to perform ... atomic operations required by commands such as FUTEX_WAIT ), but is not currently used in on any architecture. PROT_SAO (Linux 2. ... ... そのメモリーを変更できる。 PROT_EXEC そのメモリーは実行可能である。 PROT_SEM (Linux 2.5.7 以降) The memory can be used for atomic operations. This flag was introduced as part of the futex (2) implementation (in order to guarantee the ability to perform ... atomic operations required by commands such as FUTEX_WAIT ), but is not currently used in on any architecture. PROT_SAO (Linux 2. ... ... 際の時刻との差の推定値を含めるように ntp_adjtime (3) を介して設定できます。この値はカーネル内部では使用されません。 tai TAI (Atomic International Time) オフセット。 ntp_gettime () は ntptimeval 構造体を返します。この構造体の time 、 maxerror 、 esterror ... ... ls (2) 3.9 ARC のみ arc_settls (2) 3.9 ARC のみ arc_usr_cmpxchg (2) 4.9 ARC のみ arch_prctl (2) 2.6 x86_64, x86 since 4.12 atomic_barrier (2) 2.6.34 m68k のみ atomic_cmpxchg_32 (2) 2.6.34 m68k のみ bdflush (2) 1.2 2.6 以降で非推奨 (何もしない) bind (2) ... Alpha olduname (2) 1.0 open (2) 1.0 open_by_handle_at (2) 2.6.39 open_tree (2) 5.2 openat (2) 2.6.16 openat2 (2) 5.6 or1k_atomic (2) 3.1 OpenRISC 1000 のみ pause (2) 1.0 pciconfig_iobase (2) 2.2.15; 2.4 x86 にはない pciconfig_read (2) 2.0.26; 2.2 x86 ... ... と、以下の pselect () の呼び出しは、 ready = pselect(nfds, &readfds, &writefds, &exceptfds, timeout, &sigmask); 次のコールを atomic に実行するのと等価である。 sigset_t origmask; pthread_sigmask(SIG_SETMASK, &sigmask, &origmask); ready = select(nfds, &rea ... L); pselect () が必要になる理由は、シグナルやファイルディスクリプターの状態変化を 待ちたいときには、競合状態を避けるために atomic なテストが必要になる からである。 (シグナルハンドラーが大域フラグを設定して戻る場合を考えてみよう。 この大域フラグのテスト ... ... と、以下の pselect () の呼び出しは、 ready = pselect(nfds, &readfds, &writefds, &exceptfds, timeout, &sigmask); 次のコールを atomic に実行するのと等価である。 sigset_t origmask; pthread_sigmask(SIG_SETMASK, &sigmask, &origmask); ready = select(nfds, &rea ... L); pselect () が必要になる理由は、シグナルやファイルディスクリプターの状態変化を 待ちたいときには、競合状態を避けるために atomic なテストが必要になる からである。 (シグナルハンドラーが大域フラグを設定して戻る場合を考えてみよう。 この大域フラグのテスト ... ... と、以下の pselect () の呼び出しは、 ready = pselect(nfds, &readfds, &writefds, &exceptfds, timeout, &sigmask); 次のコールを atomic に実行するのと等価である。 sigset_t origmask; pthread_sigmask(SIG_SETMASK, &sigmask, &origmask); ready = select(nfds, &rea ... L); pselect () が必要になる理由は、シグナルやファイルディスクリプターの状態変化を 待ちたいときには、競合状態を避けるために atomic なテストが必要になる からである。 (シグナルハンドラーが大域フラグを設定して戻る場合を考えてみよう。 この大域フラグのテスト ... ... と、以下の pselect () の呼び出しは、 ready = pselect(nfds, &readfds, &writefds, &exceptfds, timeout, &sigmask); 次のコールを atomic に実行するのと等価である。 sigset_t origmask; pthread_sigmask(SIG_SETMASK, &sigmask, &origmask); ready = select(nfds, &rea ... L); pselect () が必要になる理由は、シグナルやファイルディスクリプターの状態変化を 待ちたいときには、競合状態を避けるために atomic なテストが必要になる からである。 (シグナルハンドラーが大域フラグを設定して戻る場合を考えてみよう。 この大域フラグのテスト ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。