[Devel] Re: [patch 4/8] propagate error values from clone_mnt
Eric W. Biederman
ebiederm at xmission.com
Sat Apr 21 06:40:20 PDT 2007
Miklos Szeredi <miklos at szeredi.hu> writes:
> From: Miklos Szeredi <mszeredi at suse.cz>
>
> Allow clone_mnt() to return errors other than ENOMEM. This will be
> used for returning a different error value when the number of user
> mounts goes over the limit.
>
> Fix copy_tree() to return EPERM for unbindable mounts.
>
> Don't propagate further from dup_mnt_ns() as that copy_tree() can only
> fail with -ENOMEM.
At a quick skim this looks ok.
Eric
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list