patch-2.1.126 linux/kernel/capability.c

Next file: linux/kernel/dma.c
Previous file: linux/kernel/acct.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/kernel/capability.c linux/kernel/capability.c
@@ -61,9 +61,9 @@
      }
 
      if (!error) { 
-	     data.permitted = target->cap_permitted.cap;
-	     data.inheritable = target->cap_inheritable.cap; 
-	     data.effective = target->cap_effective.cap;
+	     data.permitted = cap_t(target->cap_permitted);
+	     data.inheritable = cap_t(target->cap_inheritable); 
+	     data.effective = cap_t(target->cap_effective);
      }
 
      if (target != current)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov