差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:lxc:lxc-attachメモ [2013/03/15 09:15] – tenforward | linux: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/ | ||
</ | </ | ||
+ | |||
+ | * 親プロセスは,実際にアタッチするプロセスを対象の cgroup に追加しなければいけないので必要.そもそも子供から cgroup fs が見えない | ||
+ | * 子プロセスは,setns() するけど,そのプロセス自身は対象となる pid namespace には入れないので,そこからさらに fork() する必要がある |