[Devel] [patch vz7] do not allow rootfs umount

Konstantin Khorenko khorenko at virtuozzo.com
Tue Jun 7 05:47:35 PDT 2016


Andrey, please review.

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

On 06/06/2016 03:45 PM, Vasily Averin wrote:
> In mainline rootfs is marked always as MNT_LOCKED,
> sys_umount checks this flag and fails its processing.
> Our kernels lacks for MNT_LOCKED flag, so we use another kind of check
> to prevent incorrect operation.
>
> https://jira.sw.ru/browse/PSBM-46437
>
> Signed-off-by: Vasily Averin <vvs at virtuozzo.com>
>


More information about the Devel mailing list