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 <[email protected]>
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 <[email protected]>
---
 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,
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to