From: Stanislav Kinsburskiy <skinsbur...@parallels.com> Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com> --- fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/namei.c b/fs/namei.c index d3430ee..42224e6 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -4212,7 +4212,7 @@ SYSCALL_DEFINE5(renameat2, int, olddfd, const char __user *, oldname, (flags & RENAME_EXCHANGE)) return -EINVAL; - if ((flags & RENAME_WHITEOUT) && !capable(CAP_MKNOD)) + if ((flags & RENAME_WHITEOUT) && !ve_capable(CAP_MKNOD)) return -EPERM; retry: _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel