[CRIU] Sync TODO-s for mount.c work
Tycho Andersen
tycho.andersen at canonical.com
Thu Apr 23 07:31:12 PDT 2015
On Thu, Apr 23, 2015 at 02:52:35PM +0300, Pavel Emelyanov wrote:
> On 04/23/2015 02:17 PM, Oleg Nesterov wrote:
>
> > Now what? Obviously we can't just add
> >
> > if (is_not_external_mount(m))
> > continue;
>
> Why not? The is_not_external_mount() is
>
> fsroot_mounted(m) || /* mount's root is visible from chroot */
But what if the mount's root is /? e.g with pstore in lxc, the
mountinfo from inside looks like:
110 104 0:23 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime master:11 - pstore pstore rw
which is a bind mount from the host's:
29 17 0:23 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:11 - pstore pstore rw
Tycho
> isn't it?
>
> -- Pavel
>
More information about the CRIU
mailing list