patch-2.2.16 linux/kernel/capability.c
Next file: linux/kernel/kmod.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jun 7 14:26:44 2000
- Orig file:
v2.2.15/linux/kernel/capability.c
- Orig date:
Mon Aug 9 12:04:41 1999
diff -urN v2.2.15/linux/kernel/capability.c linux/kernel/capability.c
@@ -8,6 +8,8 @@
#include <linux/mm.h>
#include <asm/uaccess.h>
+kernel_cap_t cap_bset = CAP_INIT_EFF_SET;
+
/* Note: never hold tasklist_lock while spinning for this one */
spinlock_t task_capability_lock;
@@ -16,8 +18,6 @@
* capability set pointers may be NULL -- indicating that that set is
* uninteresting and/or not to be changed.
*/
-
-kernel_cap_t cap_bset = CAP_FULL_SET;
asmlinkage int sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)