[Devel] [PATCH RHEL COMMIT] ve/umh: enable user mode helper in container
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Sep 28 14:42:38 MSK 2021
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after ark-5.14
------>
commit cd8ef132c1d483c3ce0d1da9eac036e10a8f80ad
Author: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
Date: Tue Sep 28 14:42:38 2021 +0300
ve/umh: enable user mode helper in container
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
(cherry-picked from vz8 commit 27d2bf69ee2a ("ve/umh: enable user
mode helper in container"))
Signed-off-by: Nikita Yushchenko <nikita.yushchenko at virtuozzo.com>
---
kernel/umh.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/umh.c b/kernel/umh.c
index e4de634358e7..b7dff2553af0 100644
--- a/kernel/umh.c
+++ b/kernel/umh.c
@@ -509,9 +509,6 @@ int call_usermodehelper_exec(struct subprocess_info *sub_info, int wait)
return -EINVAL;
}
- if (!ve_is_super(get_exec_env()))
- return -EPERM;
-
helper_lock();
if (usermodehelper_disabled) {
retval = -EBUSY;
More information about the Devel
mailing list