msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2012-05-28 07:16+0900\n"
-"PO-Revision-Date: 2012-05-31 01:34+0900\n"
+"PO-Revision-Date: 2012-06-04 20:53+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"being manipulated by B<setns>(2). For information about namespaces, see "
"B<clone>(2)."
msgstr ""
+"このサブディレクトリには、名前空間毎に 1 エントリが置かれる。\n"
+"各エントリは B<setns>(2) による操作をサポートしている。\n"
+"名前空間に関する情報は B<clone>(2) を参照。"
#. type: TP
#: build/C/man5/proc.5:507
"filesystem keeps the IPC namespace of the process specified by I<pid> alive "
"even if all processes currently in the namespace terminate."
msgstr ""
+"このファイルをファイルシステムのどこか他の場所に bind mount することで "
+"(B<mount>(2) 参照)、現在この名前空間にいる全てのプロセスが終了したとしても、 "
+"I<pid> で指定されたプロセスの IPC 名前空間は有効な状態で保たれる。"
#. type: Plain text
#: build/C/man5/proc.5:524
"namespace will remain alive, even if all processes in the namespace "
"terminate. The file descriptor can be passed to B<setns>(2)."
msgstr ""
+"このファイルをオープンすると、 I<pid> で指定されたプロセスの IPC 名前空間の"
+"ファイルハンドルが返される。このファイルディスクリプタがオープンされている限"
+"り、この名前空間にいる全てのプロセスが終了したとしても、この IPC 名前空間は有"
+"効なままとなる。このファイルディスクリプタは B<setns>(2) に渡すことができる。"
#. type: TP
#: build/C/man5/proc.5:524
"filesystem keeps the network namespace of the process specified by I<pid> "
"alive even if all processes in the namespace terminate."
msgstr ""
+"このファイルをファイルシステムのどこか他の場所に bind mount することで "
+"(B<mount>(2) 参照)、現在この名前空間にいる全てのプロセスが終了したとしても、 "
+"I<pid> で指定されたプロセスのネットワーク名前空間は有効な状態で保たれる。"
#. type: Plain text
#: build/C/man5/proc.5:541
"the network namespace will remain alive, even if all processes in the "
"namespace terminate. The file descriptor can be passed to B<setns>(2)."
msgstr ""
+"このファイルをオープンすると、 I<pid> で指定されたプロセスのネットワーク名前"
+"空間のファイルハンドルが返される。このファイルディスクリプタがオープンされて"
+"いる限り、この名前空間にいる全てのプロセスが終了したとしても、このネットワー"
+"ク名前空間は有効なままとなる。このファイルディスクリプタは B<setns>(2) に渡す"
+"ことができる。"
#. type: TP
#: build/C/man5/proc.5:541
"filesystem keeps the UTS namespace of the process specified by I<pid> alive "
"even if all processes currently in the namespace terminate."
msgstr ""
+"このファイルをファイルシステムのどこか他の場所に bind mount することで "
+"(B<mount>(2) 参照)、現在この名前空間にいる全てのプロセスが終了したとしても、 "
+"I<pid> で指定されたプロセスの UTS 名前空間は有効な状態で保たれる。"
#. type: Plain text
#: build/C/man5/proc.5:558
"namespace will remain alive, even if all processes in the namespace "
"terminate. The file descriptor can be passed to B<setns>(2)."
msgstr ""
+"このファイルをオープンすると、 I<pid> で指定されたプロセスの UTS 名前空間の"
+"ファイルハンドルが返される。このファイルディスクリプタがオープンされている限"
+"り、この名前空間にいる全てのプロセスが終了したとしても、この UTS 名前空間は有"
+"効なままとなる。このファイルディスクリプタは B<setns>(2) に渡すことができる。"
#. type: TP
#: build/C/man5/proc.5:558
#. type: Plain text
#: build/C/man5/proc.5:1035
msgid "I<PPid>: PID of parent process."
-msgstr ""
+msgstr "I<PPid>: 親プロセスの PID。"
#. type: Plain text
#: build/C/man5/proc.5:1038
"is the resource limit on the number of queued signals for this process (see "
"the description of B<RLIMIT_SIGPENDING> in B<getrlimit>(2))."
msgstr ""
+"I<SigQ>: このフィールドにはスラッシュで区切られた 2 つの数字が入っている。こ"
+"の数字はこのプロセスの実ユーザ ID 宛にキューイングされたシグナルに関するもの"
+"である。一つ目の数字は、この実ユーザ ID 宛に現在キューイングされているシグナ"
+"ル数である。二つ目の数字は、このプロセス宛にキューイングされたシグナル数に関"
+"するリソース上限値である (B<getrlimit>(2) の B<RLIMIT_SIGPENDING> の説明を参"
+"照)。"
#. type: Plain text
#: build/C/man5/proc.5:1092
#: build/C/man5/proc.5:1928
msgid ""
"Privileged processes (B<CAP_SYS_ADMIN>) can override the I<file-max> limit."
-msgstr ""
+msgstr "特権プロセス (B<CAP_SYS_ADMIN>) は I<file-max> 上限を上書きできる。"
#. type: TP
#: build/C/man5/proc.5:1928
"assigning a value to it. The minimum value that can be assigned to this "
"file is the system page size."
msgstr ""
+"このファイルの値により、 B<fcntl>(2) の B<F_SETPIPE_SZ> 操作で増やすことがで"
+"きるパイプ容量の上限値が定義される。この上限は非特権プロセスにのみ適用され"
+"る。このファイルのデフォルト値は 1,048,576 である。このファイルに設定した値は"
+"切り上げられて、実装側で利用するのに都合のよい値に変更される場合がある。切り"
+"上げられた値を確認するには、値を設定した後でこのファイルの内容を表示すればよ"
+"い。このファイルに設定できる最小値はシステムのページサイズである。"
#. type: TP
#: build/C/man5/proc.5:2032
"up-to-date copy of the data, it will kill processes to prevent any data "
"corruptions from propagating."
msgstr ""
+"このファイルは、カーネルが処理できない訂正不能なメモリエラー (通常はメモリモ"
+"ジュールでの 2 ビットエラー) がバックグラウンドでハードウェアにより検出された"
+"際に、プロセスをどのように kill するかを制御する。 (ページの有効なコピーが"
+"ディスク上にも存在するなど) いくつかの場面では、カーネルはアプリケーションに"
+"影響を与えずに透過的に故障を処理する。しかし、データの最新のコピーが他にはな"
+"い場合には、データ破壊が波及するのを防ぐため、カーネルはプロセスを kill す"
+"る。"
#. type: Plain text
#: build/C/man5/proc.5:2507
"types of pages, like kernel internally allocated data or the swap cache, but "
"works for the majority of user pages."
msgstr ""
+"データ破壊が検出されるとすぐに、故障が検出され復元できないページ (corrupted-"
+"and-not-reloadable page) をマップしている全てのプロセスを kill する。この機能"
+"は、(カーネル内部で割り当てられたデータやスワップのキャッシュなど) 少数のいく"
+"つかのタイプのページではサポートされていないが、大半のユーザページではこの機"
+"能は働く。"
#. type: IP
#: build/C/man5/proc.5:2513 build/C/man5/proc.5:2547
"Only unmap the corrupted page from all processes and only kill a process who "
"tries to access it."
msgstr ""
+"データ破壊が検出されたページの全てのプロセスからの unmap のみを行い、そのペー"
+"ジにアクセスしようとしたプロセスのみを kill する。"
#. type: Plain text
#: build/C/man5/proc.5:2527
"B<BUS_MCEERR_AO>. Processes can handle this if they want to; see "
"B<sigaction>(2) for more details."
msgstr ""
+"この kill は I<si_code> に B<BUS_MCEERR_AO> を設定した B<SIGBUS> シグナルを"
+"使って行われる。プロセス側では必要であればこのシグナルを処理することができ"
+"る。詳細は B<sigaction>(2) を参照。"
#. type: Plain text
#: build/C/man5/proc.5:2530
"This feature is only active on architectures/platforms with advanced machine "
"check handling and depends on the hardware capabilities."
msgstr ""
+"この機能は、高度なマシンチェック機構を持ったアーキテクチャ/プラットフォームに"
+"おいてのみ有効であり、ハードウェア機能にも依存している。"
#. type: Plain text
#: build/C/man5/proc.5:2537
"Applications can override the I<memory_failure_early_kill> setting "
"individually with the B<prctl>(2) B<PR_MCE_KILL> operation."
msgstr ""
+"アプリケーションは B<prctl>(2) の B<PR_MCE_KILL> 操作を使って個別に "
+"I<memory_failure_early_kill> の設定を上書きすることができる。"
#. type: Plain text
#: build/C/man5/proc.5:2540 build/C/man5/proc.5:2553
#: build/C/man5/proc.5:2544
msgid "Enable memory failure recovery (when supported by the platform)"
msgstr ""
+"メモリ故障回復 (memory failure recovery) を有効にする\n"
+" (プラットフォームがサポートしている場合)"
#. type: Plain text
#: build/C/man5/proc.5:2547
msgid "Attempt recovery."
-msgstr ""
+msgstr "回復を試みる。"
#. type: Plain text
#: build/C/man5/proc.5:2549
msgid "Always panic on a memory failure."
-msgstr ""
+msgstr "メモリ故障時には常に panic を起こす。"
#. type: TP
#: build/C/man5/proc.5:2553
"B<yp_first>(3), B<yp_get_default_domain>(3), B<yp_maplist>(3), B<yp_master>"
"(3), B<yp_match>(3), B<yp_next>(3), B<yp_order>(3), B<ypprot_err>(3), "
"B<yp_unbind>(3), B<yp_update>(3)"
-msgstr "B<authdes_create>(3), B<authdes_getucred>(3), B<authdes_pk_create>(3), B<clntunix_create>(3), B<creat64>(3), B<dn_skipname>(3), B<fcrypt>(3), B<fp_nquery>(3), B<fp_query>(3), B<fp_resstat>(3), B<freading>(3), B<freopen64>(3), B<fseeko64>(3), B<ftello64>(3), B<ftw64>(3), B<fwscanf>(3), B<get_avphys_pages>(3), B<getdirentries64>(3), B<getmsg>(3), B<getnetname>(3), B<get_nprocs>(3), B<get_nprocs_conf>(3), B<get_phys_pages>(3), B<getpublickey>(3), B<getsecretkey>(3), B<h_errlist>(3), B<host2netname>(3), B<hostalias>(3), B<if_freenameindex>(3), B<if_indextoname>(3), B<if_nameindex>(3), B<if_nametoindex>(3), B<inet_nsap_addr>(3), B<inet_nsap_ntoa>(3), B<init_des>(3), B<libc_nls_init>(3), B<lio_listio>(3), B<mstats>(3), B<netname2host>(3), B<netname2user>(3), B<nlist>(3), B<obstack_free>(3), B<parse_printf_format>(3), B<p_cdname>(3), B<p_cdnname>(3), B<p_class>(3), B<p_fqname>(3), B<p_option>(3), B<p_query>(3), B<printf_size>(3), B<printf_size_info>(3), B<p_rr>(3), B<p_time>(3), B<p_type>(3), B<putlong>(3), B<putshort>(3), B<re_compile_fastmap>(3), B<re_compile_pattern>(3), B<register_printf_function>(3), B<re_match>(3), B<re_match_2>(3), B<re_rx_search>(3), B<re_search>(3), B<re_search_2>(3), B<re_set_registers>(3), B<re_set_syntax>(3), B<res_send_setqhook>(3), B<res_send_setrhook>(3), B<ruserpass>(3), B<setfileno>(3), B<sethostfile>(3), B<svc_exit>(3), B<svcudp_enablecache>(3), B<tell>(3), B<tr_break>(3), B<tzsetwall>(3), B<ufc_dofinalperm>(3), B<ufc_doit>(3), B<user2netname>(3), B<vlimit>(3), B<vtimes>(3), B<wcschrnul>(3), B<wcsftime>(3), B<wscanf>(3), B<xdr_authdes_cred>(3), B<xdr_authdes_verf>(3), B<xdr_cryptkeyarg>(3), B<xdr_cryptkeyres>(3), B<xdr_datum>(3), B<xdr_des_block>(3), B<xdr_domainname>(3), B<xdr_getcredres>(3), B<xdr_keybuf>(3), B<xdr_keystatus>(3), B<xdr_mapname>(3), B<xdr_netnamestr>(3), B<xdr_netobj>(3), B<xdr_passwd>(3), B<xdr_peername>(3), B<xdr_rmtcall_args>(3), B<xdr_rmtcallres>(3), B<xdr_unixcred>(3), B<xdr_yp_buf>(3), B<xdr_yp_inaddr>(3), B<xdr_ypbind_binding>(3), B<xdr_ypbind_resp>(3), B<xdr_ypbind_resptype>(3), B<xdr_ypbind_setdom>(3), B<xdr_ypdelete_args>(3), B<xdr_ypmaplist>(3), B<xdr_ypmaplist_str>(3), B<xdr_yppasswd>(3), B<xdr_ypreq_key>(3), B<xdr_ypreq_nokey>(3), B<xdr_ypresp_all>(3), B<xdr_ypresp_all_seq>(3), B<xdr_ypresp_key_val>(3), B<xdr_ypresp_maplist>(3), B<xdr_ypresp_master>(3), B<xdr_ypresp_order>(3), B<xdr_ypresp_val>(3), B<xdr_ypstat>(3), B<xdr_ypupdate_args>(3), B<yp_all>(3), B<yp_bind>(3), B<yperr_string>(3), B<yp_first>(3), B<yp_get_default_domain>(3), B<yp_maplist>(3), B<yp_master>(3), B<yp_match>(3), B<yp_next>(3), B<yp_order>(3), B<ypprot_err>(3), B<yp_unbind>(3), B<yp_update>(3)"
+msgstr ""
+"B<authdes_create>(3), B<authdes_getucred>(3), B<authdes_pk_create>(3), "
+"B<clntunix_create>(3), B<creat64>(3), B<dn_skipname>(3), B<fcrypt>(3), "
+"B<fp_nquery>(3), B<fp_query>(3), B<fp_resstat>(3), B<freading>(3), "
+"B<freopen64>(3), B<fseeko64>(3), B<ftello64>(3), B<ftw64>(3), B<fwscanf>(3), "
+"B<get_avphys_pages>(3), B<getdirentries64>(3), B<getmsg>(3), B<getnetname>"
+"(3), B<get_nprocs>(3), B<get_nprocs_conf>(3), B<get_phys_pages>(3), "
+"B<getpublickey>(3), B<getsecretkey>(3), B<h_errlist>(3), B<host2netname>(3), "
+"B<hostalias>(3), B<if_freenameindex>(3), B<if_indextoname>(3), "
+"B<if_nameindex>(3), B<if_nametoindex>(3), B<inet_nsap_addr>(3), "
+"B<inet_nsap_ntoa>(3), B<init_des>(3), B<libc_nls_init>(3), B<lio_listio>(3), "
+"B<mstats>(3), B<netname2host>(3), B<netname2user>(3), B<nlist>(3), "
+"B<obstack_free>(3), B<parse_printf_format>(3), B<p_cdname>(3), B<p_cdnname>"
+"(3), B<p_class>(3), B<p_fqname>(3), B<p_option>(3), B<p_query>(3), "
+"B<printf_size>(3), B<printf_size_info>(3), B<p_rr>(3), B<p_time>(3), "
+"B<p_type>(3), B<putlong>(3), B<putshort>(3), B<re_compile_fastmap>(3), "
+"B<re_compile_pattern>(3), B<register_printf_function>(3), B<re_match>(3), "
+"B<re_match_2>(3), B<re_rx_search>(3), B<re_search>(3), B<re_search_2>(3), "
+"B<re_set_registers>(3), B<re_set_syntax>(3), B<res_send_setqhook>(3), "
+"B<res_send_setrhook>(3), B<ruserpass>(3), B<setfileno>(3), B<sethostfile>"
+"(3), B<svc_exit>(3), B<svcudp_enablecache>(3), B<tell>(3), B<tr_break>(3), "
+"B<tzsetwall>(3), B<ufc_dofinalperm>(3), B<ufc_doit>(3), B<user2netname>(3), "
+"B<vlimit>(3), B<vtimes>(3), B<wcschrnul>(3), B<wcsftime>(3), B<wscanf>(3), "
+"B<xdr_authdes_cred>(3), B<xdr_authdes_verf>(3), B<xdr_cryptkeyarg>(3), "
+"B<xdr_cryptkeyres>(3), B<xdr_datum>(3), B<xdr_des_block>(3), "
+"B<xdr_domainname>(3), B<xdr_getcredres>(3), B<xdr_keybuf>(3), "
+"B<xdr_keystatus>(3), B<xdr_mapname>(3), B<xdr_netnamestr>(3), B<xdr_netobj>"
+"(3), B<xdr_passwd>(3), B<xdr_peername>(3), B<xdr_rmtcall_args>(3), "
+"B<xdr_rmtcallres>(3), B<xdr_unixcred>(3), B<xdr_yp_buf>(3), B<xdr_yp_inaddr>"
+"(3), B<xdr_ypbind_binding>(3), B<xdr_ypbind_resp>(3), B<xdr_ypbind_resptype>"
+"(3), B<xdr_ypbind_setdom>(3), B<xdr_ypdelete_args>(3), B<xdr_ypmaplist>(3), "
+"B<xdr_ypmaplist_str>(3), B<xdr_yppasswd>(3), B<xdr_ypreq_key>(3), "
+"B<xdr_ypreq_nokey>(3), B<xdr_ypresp_all>(3), B<xdr_ypresp_all_seq>(3), "
+"B<xdr_ypresp_key_val>(3), B<xdr_ypresp_maplist>(3), B<xdr_ypresp_master>(3), "
+"B<xdr_ypresp_order>(3), B<xdr_ypresp_val>(3), B<xdr_ypstat>(3), "
+"B<xdr_ypupdate_args>(3), B<yp_all>(3), B<yp_bind>(3), B<yperr_string>(3), "
+"B<yp_first>(3), B<yp_get_default_domain>(3), B<yp_maplist>(3), B<yp_master>"
+"(3), B<yp_match>(3), B<yp_next>(3), B<yp_order>(3), B<ypprot_err>(3), "
+"B<yp_unbind>(3), B<yp_update>(3)"
#. type: TH
#: build/C/man2/unimplemented.2:27
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2012-05-28 07:16+0900\n"
-"PO-Revision-Date: 2012-05-31 03:57+0900\n"
+"PO-Revision-Date: 2012-06-04 23:34+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"calls a function that is a I<cancellation point>. A list of functions that "
"are or may be cancellation points is provided in I<pthreads>(7)."
msgstr ""
-"スレッドの cancellation type は B<pthread_setcanceltype>(3) で設定され、\n"
-"I<asynchronous> か I<deferred> のいずれかとなる(I<deferred> が新しいスレッ"
-"ド\n"
-"のデフォルト値である)。\n"
-"非同期キャンセル (asynchronous cancelability) は、そのスレッドはいつでも\n"
-"キャンセルされることを意味する (通常はすぐにキャンセルされるが、システムが\n"
-"そのことを保証しているわけではない)。\n"
-"遅延キャンセル (deferred cancelability) では、そのスレッドが I<cancellation\n"
-"point> となっている関数を次に呼び出すまでキャンセルが遅延される。\n"
-"取り消しポイント (cancellation point) に設定されていたり設定したりできる\n"
-"関数のリストは I<pthreads>(7) に記載している。"
+"スレッドのキャンセル種別 (cancelability type) は\n"
+"B<pthread_setcanceltype>(3) で設定され、I<asynchronous> か I<deferred>\n"
+"のいずれかとなる(I<deferred> が新しいスレッドのデフォルト値である)。\n"
+"非同期キャンセル (asynchronous cancelability) は、そのスレッドはいつで\n"
+"もキャンセルされることを意味する (通常はすぐにキャンセルされるが、\n"
+"システムがそのことを保証しているわけではない)。遅延キャンセル\n"
+"(deferred cancelability) では、そのスレッドが I<取り消しポイント\n"
+"(cancellation point)> となっている関数を次に呼び出すまでキャンセルが\n"
+"遅延される。取り消しポイントに設定されていたり設定\n"
+"したりできる関数のリストは I<pthreads>(7) に記載している。"
#. type: Plain text
#: build/C/man3/pthread_cancel.3:76
"described below); it might, for example, unlock a mutex so that it becomes "
"available to other threads in the process."
msgstr ""
+"これらの関数は、呼び出したスレッドのスレッドキャンセル時のクリーンアッ\n"
+"プハンドラのスタックの操作を行う。クリーンアップハンドラは、スレッドが\n"
+"キャンセルされた場合 (や以下で説明する他の種々の状況において) 自動的に\n"
+"実行される関数である。例えば、mutex のロック解除を行い、プロセス内の\n"
+"他のスレッドが利用できるようにする関数などが考えられる。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:57
"the stack of clean-up handlers. When I<routine> is later invoked, it will "
"be given I<arg> as its argument."
msgstr ""
+"B<pthread_cleanup_push>() 関数は、 I<routine> をクリーンアップ\n"
+"ハンドラのスタックの一番上にプッシュする。 I<routine> が後で\n"
+"起動される際には、 I<arg> が関数の引き数と渡される。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:64
"stack of clean-up handlers, and optionally executes it if I<execute> is "
"nonzero."
msgstr ""
+"B<pthread_cleanup_pop>() 関数は、クリーンアップハンドラの\n"
+"スタックの一番上のルーチンを削除する。\n"
+"I<execute> が 0 以外の場合にはそのルーチンを追加で実行する。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:67
"A cancellation clean-up handler is popped from the stack and executed in the "
"following circumstances:"
msgstr ""
+"キャンセルクリーンアップハンドラは、以下に示す場合に\n"
+"スタックから取り出され実行される。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:71
"and executed in the reverse of the order in which they were pushed onto the "
"stack."
msgstr ""
+"スレッドがキャンセルされた際に、スタックに登録された全てのクリーン\n"
+"アップハンドラが取り出されて、実行される。クリーンアップハンドラの\n"
+"実行は、スタックに登録されたのと逆の順序で行われる。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:79
"handlers are I<not> called if the thread terminates by performing a "
"I<return> from the thread start function.)"
msgstr ""
+"スレッドが B<pthread_exit>(3) を呼び出して終了する際に、全てのクリーン\n"
+"アップハンドラが上の項目で述べたのと同様に実行される。\n"
+"(スレッドがスレッド開始関数からの I<return> の実行により終了する場合に\n"
+"は、クリーンアップハンドラはI<呼び出されない>。)"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:85
"When a thread calls B<pthread_cleanup_pop>() with a nonzero I<execute> "
"argument, the top-most clean-up handler is popped and executed."
msgstr ""
+"スレッドが 0 以外の I<execute> 引き数で B<pthread_cleanup_pop>() を\n"
+"呼び出した際に、スタックの一番上のクリーンアップハンドラが取り出されて\n"
+"実行される。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:97
"same lexical nesting level. (In other words, a clean-up handler is only "
"established during the execution of a specified section of code.)"
msgstr ""
+"POSIX.1 では、 B<pthread_cleanup_push>() と B<pthread_cleanup_pop>() を\n"
+"それぞれ \\(aqB<{>\\(aq と \\(aqB<}>\\(aq を含むテキストに展開するマクロと\n"
+"して実装することを許容している。\n"
+"このため、呼び出し側では、これらの関数の呼び出しが同じ関数の中で対と\n"
+"なり、かつ文法的に同じネストレベル (nesting level) になることを保証\n"
+"しなければならない。 (言い換えると、クリーンアップハンドラは、コード\n"
+"の特定のセクションの実行の中でのみ設定するものであると言える。)"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:117
"results unless the jump buffer was also filled by B<setjmp>(3) (B<sigsetjmp>"
"(3)) inside the handler."
msgstr ""
+"B<longjmp>(3) (B<siglongjmp>(3)) の呼び出しは、\n"
+"B<pthread_cleanup_push>() や B<pthread_cleanup_pop>() の呼び出しが対と\n"
+"なる呼び出しがない状態で行われた場合には、どのような結果になるかは不定\n"
+"である。これは jump バッファは B<setjmp>(3) (B<sigsetjmp>(3)) により設\n"
+"定されるからである。同様に、クリーンアップハンドラ内からの\n"
+"B<longjmp>(3) (B<siglongjmp>(3)) の呼び出しも、jump バッファがハンドラ\n"
+"内で B<setjmp>(3) (B<sigsetjmp>(3)) で設定されていない限り、どのような\n"
+"結果になるかは不定である。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:119
"declared within the scope of paired calls to these functions will only be "
"visible within that scope."
msgstr ""
+"Linux では、関数 B<pthread_cleanup_push>() と B<pthread_cleanup_pop>()\n"
+"は、それぞれ \\(aqB<{>\\(aq と \\(aqB<}>\\(aq を含むテキストに展開する\n"
+"マクロとして実装されている。このことは、これらの関数を対で呼び出した\n"
+"スコープ内で宣言された変数は、そのスコープの中でしか参照できない\n"
+"ということを意味している。"
#. The text was actually added in the 2004 TC2
#. type: Plain text
"and B<pthread_cleanup_pop>() is undefined. Portable applications should "
"avoid doing this."
msgstr ""
+"POSIX.1 には、括弧を含む B<pthread_cleanup_push>() と\n"
+"B<pthread_cleanup_pop>() のブロックをそのままにしたままで、 \n"
+"I<return>, I<break>, I<continue>, I<goto> を使った場合の影響は\n"
+"不定であると書かれている。\n"
+"移植性が必要なアプリケーションではこれを行うのは避けるべきである。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:164
"thread a cancellation request, or sets a global variable that causes the "
"other thread to exit its loop and terminate normally (by doing a I<return>)."
msgstr ""
+"以下のプログラムは、このページで説明した関数の簡単な使用例を示すもので\n"
+"ある。このプログラムは B<pthread_cleanup_push>() と\n"
+"B<pthread_cleanup_pop>() で囲まれたループを実行するスレッドを作成する。\n"
+"このループではグローバル変数 I<cnt> を 1 秒に 1 ずつ増やしていく。\n"
+"指定されたコマンドライン引き数の内容に基づいて、メインスレッドはもう一\n"
+"つのスレッドにキャンセル要求を送ったり、もう一つのスレッドがループを\n"
+"抜けて (I<return> を呼び出して) 正常終了するようにグローバル変数を\n"
+"設定したりする。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:167
"In the following shell session, the main thread sends a cancellation request "
"to the other thread:"
msgstr ""
+"以下のシェルセッションでは、メインスレッドはもう一つのスレッドに\n"
+"キャンセル要求を送信する。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:177
"cancellation clean-up handler was called and it reset the value of the "
"global variable I<cnt> to 0."
msgstr ""
+"上記の実行例から、スレッドがキャンセルされ、\n"
+"キャンセルクリーンアップハンドラが呼び出され、\n"
+"グローバル変数 I<cnt> の値が 0 にリセットされていることが確認できる。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:188
"In the next run, the main program sets a global variable that causes other "
"thread to terminate normally:"
msgstr ""
+"次の実行例では、メインプログラムはグローバル変数を設定して、\n"
+"もう一つのスレッドが正常終了するようにしている。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:196
"From the above, we see that the clean-up handler was not executed (because "
"I<cleanup_pop_arg> was 0), and therefore the value of I<cnt> was not reset."
msgstr ""
+"上記では、 (I<cleanup_pop_arg> が 0 なので) クリーンアップハンドラは\n"
+"実行されておらず、その結果 I<cnt> の値はリセットされていないことが\n"
+"分かる。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:209
"other thread to terminate normally, and supplies a nonzero value for "
"I<cleanup_pop_arg>:"
msgstr ""
+"次の実行例では、メインプログラムはグローバル変数を設定して、\n"
+"もう一つのスレッドが正常終了するようにし、さらに\n"
+"I<cleanup_pop_arg> に 0 以外の値を渡している。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:218
"handler was executed, because the argument given to B<pthread_cleanup_pop>"
"() was nonzero."
msgstr ""
+"上記では、スレッドはキャンセルされていないが、クリーンアップハンドラが\n"
+"実行されていないことが分かる。これは B<pthread_cleanup_pop>() の引き数\n"
+"に 0 以外を渡したからである。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push.3:234
"pthread_cleanup_push_defer_np, pthread_cleanup_pop_restore_np - push and pop "
"thread cancellation clean-up handlers while saving cancelability type"
msgstr ""
+"pthread_cleanup_push_defer_np, pthread_cleanup_pop_restore_np - "
+"cancelability type を保持したままでスレッドのキャンセルクリーンアップハンドラ"
+"の push/pop を行う"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:35
"These functions are the same as B<pthread_cleanup_push>(3) and "
"B<pthread_cleanup_pop>(3), except for the differences noted on this page."
msgstr ""
+"これらの関数は B<pthread_cleanup_push>(3) と B<pthread_cleanup_pop>(3) と同じ"
+"だが、このページで説明する点が異なる。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:57
"this ensures that cancellation clean-up will occur even if the thread's "
"cancelability type was \"asynchronous\" before the call."
msgstr ""
+"B<pthread_cleanup_push>(3) と同様に、\n"
+"B<pthread_cleanup_push_defer_np>() は I<routine> をそのスレッドの\n"
+"クリーンアップハンドラのスタックに追加する。これに加えて、\n"
+"B<pthread_cleanup_push_defer_np>() は現在の cancelability type も\n"
+"保存し、cancelability type は \"deferred\" に設定する\n"
+"(B<pthread_setcanceltype>(3) 参照)。\n"
+"これにより、この関数が呼び出される前のスレッドの cancelability type が\n"
+"\"asynchronous\" であったとしても、キャンセルクリーンアップが行われること\n"
+"が保証される。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:66
"up handlers. In addition, it restores the thread's cancelability type to "
"its value at the time of the matching B<pthread_cleanup_push_defer_np>()."
msgstr ""
+"B<pthread_cleanup_pop>(3) と同様に、\n"
+"B<pthread_cleanup_pop_restore_np>() はそのスレッドのキャンセル\n"
+"クリーンアップハンドラのスタックから一番上にあるクリーンアップハンドラ\n"
+"を取り出す。これに加えて、そのスレッドの cancelability type を、対応\n"
+"する B<pthread_cleanup_push_defer_np>() が呼ばれた時点の値に戻す。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:72
"same function, and at the same lexical nesting level. Other restrictions "
"apply, as described in B<pthread_cleanup_push>(3)."
msgstr ""
+"呼び出し側では、これらの関数の呼び出しが同じ関数の中で対となり、かつ\n"
+"文法的に同じネストレベル (nesting level) になることを保証しなければ\n"
+"ならない。 B<pthread_cleanup_push>(3) で説明されている他の制限も\n"
+"適用される。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:74
msgid "This sequence of calls:"
-msgstr ""
+msgstr "以下の一連の呼び出し"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:79
"pthread_cleanup_push_defer_np(routine, arg);\n"
"pthread_cleanup_pop_restore_np(execute);\n"
msgstr ""
+"pthread_cleanup_push_defer_np(routine, arg);\n"
+"pthread_cleanup_pop_restore_np(execute);\n"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:83
msgid "is equivalent to (but shorter and more efficient than):"
-msgstr ""
+msgstr "と以下は等価である (但し、上の方がより簡潔で効率的である)。"
#. type: Plain text
#: build/C/man3/pthread_cleanup_push_defer_np.3:89
"LinuxThreads スレッド実装においてのみ効果がある。\n"
"LinuxThreads スレッド実装では、この関数を呼び出すと\n"
"アプリケーション内の全てのスレッドがすぐに終了される。\n"
-"終了対象のスレッドの cancellation state と cancellation type は\n"
+"終了対象のスレッドの cancelability state と cancelability type は\n"
"無視され、それらのスレッドのクリーンアップハンドラは呼び出されない。"
#. type: Plain text
"pthread_setcancelstate, pthread_setcanceltype - set cancelability state and "
"type"
msgstr ""
-"pthread_setcancelstate, pthread_setcanceltype - cancelability state と\n"
-"type を設定する"
+"pthread_setcancelstate, pthread_setcanceltype - cancelability state と "
+"cancelability type を設定する"
#. type: Plain text
#: build/C/man3/pthread_setcancelstate.3:34
"I<state> argument must have one of the following values:"
msgstr ""
"B<pthread_setcancelstate>() は、呼び出したスレッドの\n"
-"cancelability state に I<state> で指定された値を設定する。\n"
-"変更前のスレッドの cancelability state は\n"
+"cancelability state に I<state> で指定された\n"
+"å\80¤ã\82\92è¨å®\9aã\81\99ã\82\8bã\80\82å¤\89æ\9b´å\89\8dã\81®ã\82¹ã\83¬ã\83\83ã\83\89ã\81® cancelability state ã\81¯\n"
"I<oldstate> が指すバッファで返される。\n"
"I<state> 引き数には以下の値のいずれか一つを指定しなければならない。"
"determines when a cancelable thread will respond to a cancellation request."
msgstr ""
"スレッドは取り消し可能 (cancelable) である。\n"
-"これが全ての新しく作成されるスレッドでのデフォルトの cancelability\n"
-"state である。これには最初のスレッドも含まれる。\n"
+"これが全ての新しく作成されるスレッドでのデフォルトの\n"
+"cancelability state である。これには最初のスレッドも含まれる。\n"
"スレッドの cancelability type により、取り消し可能なスレッドが\n"
"取り消し要求にいつ反応するかが決まる。"
msgstr ""
"そのスレッドが次に取り消しポイント (cancellation point) の関数を\n"
"呼び出すまで取り消し要求が遅延される。これが全ての新しく作成される\n"
-"スレッドでのデフォルトの cancellation type である。\n"
+"スレッドでのデフォルトの cancelability type である。\n"
"これには最初のスレッドも含まれる。"
#. type: TP
msgid ""
"pthread_setconcurrency, pthread_getconcurrency - set/get the concurrency "
"level"
-msgstr "pthread_setconcurrency, pthread_getconcurrency - 並列処理レベルの設定/取得を行う"
+msgstr ""
+"pthread_setconcurrency, pthread_getconcurrency - 並列処理レベルの設定/取得を"
+"行う"
#. type: Plain text
#: build/C/man3/pthread_setconcurrency.3:33
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2012-05-28 07:17+0900\n"
-"PO-Revision-Date: 2012-05-28 13:03+0900\n"
+"PO-Revision-Date: 2012-06-04 20:12+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
#: build/C/man2/sched_setscheduler.2:267
#, no-wrap
msgid "Resetting scheduling policy for child processes"
-msgstr ""
+msgstr "子プロセスでのスケジューリング・ポリシーのリセット"
#. type: Plain text
#: build/C/man2/sched_setscheduler.2:283
"be used to prevent applications evading the B<RLIMIT_RTTIME> resource limit "
"(see B<getrlimit>(2)) by creating multiple child processes."
msgstr ""
+"Linux 2.6.32 以降では、 B<sched_setscheduler>() を呼び出す際に I<policy> に "
+"B<SCHED_RESET_ON_FORK> フラグを OR で指定できる。このフラグが指定されると、 "
+"B<fork>(2) で作成された子プロセスは特権が必要なスケジューリング・ポリシーを継"
+"承しない。この機能はメディア再生を行うアプリケーションを想定して作られ、この"
+"機能を使うことで、アプリケーションが複数の子プロセスを作成することで "
+"B<RLIMIT_RTTIME> リソース上限 (B<getrlimit>(2) 参照) を回避するのを防ぐことが"
+"できる。"
#. type: Plain text
#: build/C/man2/sched_setscheduler.2:288
"More precisely, if the B<SCHED_RESET_ON_FORK> flag is specified, the "
"following rules apply for subsequently created children:"
msgstr ""
+"より正確には、 B<SCHED_RESET_ON_FORK> フラグが指定された場合、それ以降に作成"
+"される子プロセスに以下のルールが適用される。"
#. type: Plain text
#: build/C/man2/sched_setscheduler.2:296
"If the calling process has a scheduling policy of B<SCHED_FIFO> or "
"B<SCHED_RR>, the policy is reset to B<SCHED_OTHER> in child processes."
msgstr ""
+"呼び出したプロセスのスケジューリング・ポリシーが B<SCHED_FIFO> か "
+"B<SCHED_RR> の場合、子プロセスのポリシーは B<SCHED_OTHER> にリセットされる。"
#. type: Plain text
#: build/C/man2/sched_setscheduler.2:299
"If the calling process has a negative nice value, the nice value is reset to "
"zero in child processes."
msgstr ""
+"子プロセスが負の nice 値を持っている場合、子プロセスの nice 値は 0 にリセット"
+"される。"
#. type: Plain text
#: build/C/man2/sched_setscheduler.2:308
"if the process has the B<CAP_SYS_NICE> capability. This flag is disabled in "
"child processes created by B<fork>(2)."
msgstr ""
+"一度 B<SCHED_RESET_ON_FORK> フラグが有効にされた後は、このフラグをリセットで"
+"きるのは、プロセスが B<CAP_SYS_NICE> ケーパビリティを持つ場合だけである。この"
+"フラグは B<fork>(2) で作成された子プロセスでは無効になる。"
#. type: Plain text
#: build/C/man2/sched_setscheduler.2:314
"The B<SCHED_RESET_ON_FORK> flag is visible in the policy value returned by "
"B<sched_getscheduler>()"
msgstr ""
+"B<SCHED_RESET_ON_FORK> フラグは、 B<sched_getscheduler>() が返すポリシー値で"
+"参照できる。"
#. type: SS
#: build/C/man2/sched_setscheduler.2:314
"within the range permitted by its B<RLIMIT_NICE> resource limit (see "
"B<getrlimit>(2))."
msgstr ""
+"B<SCHED_IDLE> の場合には特別なルールが適用される。 2.6.39 より前の Linux カー"
+"ネルでは、このポリシーで動作する非特権プロセスは、 B<RLIMIT_RTPRIO> リソース"
+"上限の値に関わらず、自分のポリシーを変更することができない。 2.6.39 以降の "
+"Linux カーネルでは、非特権プロセスは、自分の nice 値が B<RLIMIT_NICE> リソー"
+"ス上限 (B<getrlimit>(2) 参照) で許可された範囲である限りは、自分のスケジュー"
+"リング・ポリシーを B<SCHED_BATCH> か B<SCHED_NORMAL> ポリシーに切り替えること"
+"ができる。"
#. type: Plain text
#: build/C/man2/sched_setscheduler.2:384
#. type: Plain text
#: build/C/man2/setns.2:7
msgid "setns - reassociate thread with a namespace"
-msgstr ""
+msgstr "setns - スレッドに名前空間を関連付けしなおす"
#. type: Plain text
#: build/C/man2/setns.2:13
"Given a file descriptor referring to a namespace, reassociate the calling "
"thread with that namespace."
msgstr ""
+"名前空間を参照するファイルディスクリプタを指定すると、\n"
+"呼び出したスレッドにその名前空間を関連付けしなおす。"
#. type: Plain text
#: build/C/man2/setns.2:30
"with the corresponding namespace, subject to any constraints imposed by the "
"I<nstype> argument."
msgstr ""
+"I<fd> 引き数は、 I</proc/[pid]/ns/> ディレクトリ内の名前空間エントリ\n"
+"のいずれかを参照するファイルディスクリプタである。\n"
+"I</proc/[pid]/ns/> の詳細は B<proc>(5) を参照。\n"
+"I<nstype> 引き数で指定された制限の範囲内で、\n"
+"呼び出したスレッドに I<fd> に対応する名前空間を関連付けしなおす。"
#. type: Plain text
#: build/C/man2/setns.2:36
"may be reassociated with. This argument can have one of the following "
"values:"
msgstr ""
+"I<nstype> 引き数は、呼び出したスレッドがどのタイプの名前空間を\n"
+"関連付けしなおすことができるかを指定する。\n"
+"この引き数には以下のいずれかの値を指定できる。"
#. type: TP
#: build/C/man2/setns.2:36
#. type: Plain text
#: build/C/man2/setns.2:39
msgid "Allow any type of namespace to be joined."
-msgstr ""
+msgstr "どのタイプの名前空間も関連付けることができる。"
#. type: TP
#: build/C/man2/setns.2:39
#. type: Plain text
#: build/C/man2/setns.2:43
msgid "I<fd> must refer to an IPC namespace."
-msgstr ""
+msgstr "I<fd> は IPC 名前空間を参照していなければならない。"
#. type: TP
#: build/C/man2/setns.2:43
#. type: Plain text
#: build/C/man2/setns.2:47
msgid "I<fd> must refer to a network namespace."
-msgstr ""
+msgstr "I<fd> はネットワーク名前空間を参照していなければならない。"
#. type: TP
#: build/C/man2/setns.2:47
#. type: Plain text
#: build/C/man2/setns.2:51
msgid "I<fd> must refer to a UTS namespace."
-msgstr ""
+msgstr "I<fd> は UTS 名前空間を参照していなければならない。"
#. type: Plain text
#: build/C/man2/setns.2:66
"referred to by I<fd> if the file descriptor was opened by another process "
"and, for example, passed to the caller via a UNIX domain socket.)"
msgstr ""
+"呼び出し側が I<fd> がどのタイプの名前空間を参照しているかを知っている\n"
+"(もしくは気にする必要がない) 場合には、 I<nstype> に 0 を指定すれば十分\n"
+"である。呼び出し側が I<fd> がどのタイプの名前空間を参照しているかを\n"
+"知っておらず、かつ、特定のタイプの名前空間であることを保証したい場合、\n"
+"I<nstype> に 0 以外の値を指定するとよい。 (ファイルディスクリプタが別の\n"
+"プロセスによりオープンされ、例えば、UNIX ドメインソケット経由で呼び出し\n"
+"側に渡された場合などでは、呼び出し側が I<fd> がどのタイプの名前空間を\n"
+"参照しているかを知らない可能性がある。)"
#. type: Plain text
#: build/C/man2/setns.2:73
"On success, I<setns>() returns 0. On failure, -1 is returned and I<errno> "
"is set to indicate the error."
msgstr ""
+"成功すると I<setns>() は 0 を返す。\n"
+"失敗すると、 -1 が返され、 I<errno> にエラーを示す値が設定される。"
#. type: TP
#: build/C/man2/setns.2:74
#. type: Plain text
#: build/C/man2/setns.2:78
msgid "I<fd> is not a valid file descriptor."
-msgstr ""
+msgstr "I<fd> が有効なファイルディスクリプタではない。"
#. type: Plain text
#: build/C/man2/setns.2:85
"I<nstype>, or there is problem with reassociating the the thread with the "
"specified namespace."
msgstr ""
+"I<fd> が I<nstype> で指定されたタイプと一致しない名前空間を参照している。\n"
+"または、指定された名前空間をそのスレッドに関連付けし直す際に問題\n"
+"があった。"
#. type: Plain text
#: build/C/man2/setns.2:88
msgid "Cannot allocate sufficient memory to change the specified namespace."
-msgstr ""
+msgstr "指定された名前空間に変更するのに必要なメモリが割り当てられない。"
#. type: Plain text
#: build/C/man2/setns.2:93
"The calling thread did not have the required privilege (B<CAP_SYS_ADMIN>) "
"for this operation."
msgstr ""
+"呼び出したスレッドがこの操作を行うのに必要な特権 (B<CAP_SYS_ADMIN>) を\n"
+"持っていなかった。"
#. type: Plain text
#: build/C/man2/setns.2:98
"The B<setns>() system call first appeared in Linux in kernel 3.0; library "
"support was added to glibc in version 2.14."
msgstr ""
+"B<setns>() システムコールはカーネル 3.0 で Linux に初めて登場した。\n"
+"ライブラリによるサポートは glibc バージョン 2.14 を追加された。"
#. type: Plain text
#: build/C/man2/setns.2:102
msgid "The B<setns>() system call is Linux-specific."
-msgstr ""
+msgstr "B<setns>() システムコールは Linux 固有である。"
#. type: Plain text
#: build/C/man2/setns.2:108
"Not all of the attributes that can be shared when a new thread is created "
"using B<clone>(2) can be changed using B<setns>()."
msgstr ""
+"新しいスレッドが B<clone>(2) を使って作成された際に共有できる全ての属性を、\n"
+"B<setns>() を使って変更できるわけではない。"
#. type: Plain text
#: build/C/man2/setns.2:116
"The PID namespace and the mount namespace are not currently supported. (See "
"the descriptions of B<CLONE_NEWPID> and B<CLONE_NEWNS> in B<clone>(2).)"
msgstr ""
+"現在のところ、 PID 名前空間とマウント名前空間はサポートされていない\n"
+"(B<clone>(2) の B<CLONE_NEWPID> と B<CLONE_NEWNS> の説明を参照)。"
#. type: Plain text
#: build/C/man2/setns.2:122