So my next patch is readable...

Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>
---
 kernel/capability.c |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/kernel/capability.c b/kernel/capability.c
index 39e8193..652a2c5 100644
--- a/kernel/capability.c
+++ b/kernel/capability.c
@@ -198,24 +198,24 @@ static inline int cap_set_all(kernel_cap_t *effective,
                               kernel_cap_t *inheritable,
                               kernel_cap_t *permitted)
 {
-     struct task_struct *g, *target;
-     int ret = -EPERM;
-     int found = 0;
-
-     do_each_thread(g, target) {
-             if (target == current || is_container_init(target->group_leader))
-                     continue;
-             found = 1;
-            if (security_capset_check(target, effective, inheritable,
+       struct task_struct *g, *target;
+       int ret = -EPERM;
+       int found = 0;
+
+       do_each_thread(g, target) {
+               if (target == current || 
is_container_init(target->group_leader))
+                       continue;
+               found = 1;
+               if (security_capset_check(target, effective, inheritable,
                                                permitted))
-                    continue;
-            ret = 0;
-            security_capset_set(target, effective, inheritable, permitted);
-     } while_each_thread(g, target);
-
-     if (!found)
-            ret = 0;
-     return ret;
+                       continue;
+               ret = 0;
+               security_capset_set(target, effective, inheritable, permitted);
+       } while_each_thread(g, target);
+
+       if (!found)
+               ret = 0;
+       return ret;
 }
 
 /**
-- 
1.5.3.rc6.17.g1911

_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to