linux:lxc:lxc-attachメモ

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:lxc:lxc-attachメモ [2013/03/15 09:15] tenforwardlinux:lxc:lxc-attachメモ [2013/03/15 09:24] (現在) tenforward
行 40: 行 40:
  * which then signals to the grandchild that it can exec().  * which then signals to the grandchild that it can exec().
  */  */
 +(src/lxc/lxc_attach.c の main 関数内コメントより)
 </code> </code>
 +
 +  * 親プロセスは,実際にアタッチするプロセスを対象の cgroup に追加しなければいけないので必要.そもそも子供から cgroup fs が見えない
 +  * 子プロセスは,setns() するけど,そのプロセス自身は対象となる pid namespace には入れないので,そこからさらに fork() する必要がある
  • linux/lxc/lxc-attachメモ.1363338941.txt.gz
  • 最終更新: 2013/03/15 09:15
  • by tenforward