This allows container's root to change immutable and append only attributes on files.
https://jira.sw.ru/browse/PSBM-60148 Signed-off-by: Andrey Ryabinin <[email protected]> --- fs/ext4/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index 117d89d8a05c..f6908a784cf5 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -303,7 +303,7 @@ long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) * This test looks nicer. Thanks to Pauline Middelink */ if ((flags ^ oldflags) & (EXT4_APPEND_FL | EXT4_IMMUTABLE_FL)) { - if (!capable(CAP_LINUX_IMMUTABLE)) + if (!ve_capable(CAP_LINUX_IMMUTABLE)) goto flags_out; } -- 2.13.0 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
