patch-2.3.15 linux/kernel/capability.c
Next file: linux/kernel/exec_domain.c
Previous file: linux/kernel/acct.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Aug 23 11:15:53 1999
- Orig file:
v2.3.14/linux/kernel/capability.c
- Orig date:
Thu Aug 5 14:43:32 1999
diff -u --recursive --new-file v2.3.14/linux/kernel/capability.c linux/kernel/capability.c
@@ -19,7 +19,7 @@
kernel_cap_t cap_bset = CAP_FULL_SET;
-asmlinkage int sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
+asmlinkage long sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
{
int error, pid;
__u32 version;
@@ -126,7 +126,7 @@
* E: must be set to a subset of (new target) Permitted
*/
-asmlinkage int sys_capset(cap_user_header_t header, const cap_user_data_t data)
+asmlinkage long sys_capset(cap_user_header_t header, const cap_user_data_t data)
{
kernel_cap_t inheritable, permitted, effective;
__u32 version;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)