[Devel] [PATCH RHEL7 COMMIT] ve/taskstats: allow delivery of task attributes in CT context
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Jul 5 13:06:07 MSK 2017
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.33.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-514.26.1.vz7.33.1
------>
commit bf998066a66e036f45f85d38c3027ca1b76c6ddf
Author: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
Date: Wed Jul 5 14:06:06 2017 +0400
ve/taskstats: allow delivery of task attributes in CT context
This is needed to make iotop work in container:
https://jira.sw.ru/browse/PSBM-56171
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
kernel/taskstats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/taskstats.c b/kernel/taskstats.c
index 37d4456..ae620de 100644
--- a/kernel/taskstats.c
+++ b/kernel/taskstats.c
@@ -664,7 +664,7 @@ static const struct genl_ops taskstats_ops[] = {
.cmd = TASKSTATS_CMD_GET,
.doit = taskstats_user_cmd,
.policy = taskstats_cmd_get_policy,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_VE_ADMIN_PERM,
},
{
.cmd = CGROUPSTATS_CMD_GET,
More information about the Devel
mailing list