vserver 2.0 rc7
[linux-2.6.git] / kernel / capability.c
index 713efd4..f952eb6 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/security.h>
 #include <linux/syscalls.h>
 #include <linux/vs_cvirt.h>
-
 #include <asm/uaccess.h>
 
 unsigned securebits = SECUREBITS_DEFAULT; /* systemwide security settings */
@@ -22,10 +21,10 @@ EXPORT_SYMBOL(securebits);
 EXPORT_SYMBOL(cap_bset);
 
 /*
- * This global lock protects task->cap_* for all tasks including current.
+ * This lock protects task->cap_* for all tasks including current.
  * Locking rule: acquire this prior to tasklist_lock.
  */
-DEFINE_SPINLOCK(task_capability_lock);
+static DEFINE_SPINLOCK(task_capability_lock);
 
 /*
  * For sys_getproccap() and sys_setproccap(), any of the three