patch-2.1.92 linux/include/linux/binfmts.h
Next file: linux/include/linux/blk.h
Previous file: linux/include/linux/b1lli.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Wed Apr 1 17:30:31 1998
- Orig file:
v2.1.91/linux/include/linux/binfmts.h
- Orig date:
Wed Dec 10 11:38:21 1997
diff -u --recursive --new-file v2.1.91/linux/include/linux/binfmts.h linux/include/linux/binfmts.h
@@ -2,6 +2,7 @@
#define _LINUX_BINFMTS_H
#include <linux/ptrace.h>
+#include <linux/capability.h>
/*
* MAX_ARG_PAGES defines the number of pages allocated for arguments
@@ -21,6 +22,7 @@
int java; /* Java binary, prevent recursive invocation */
struct dentry * dentry;
int e_uid, e_gid;
+ kernel_cap_t cap_inheritable, cap_permitted, cap_effective;
int argc, envc;
char * filename; /* Name of binary */
unsigned long loader, exec;
@@ -62,6 +64,8 @@
extern unsigned long setup_arg_pages(unsigned long p, struct linux_binprm * bprm);
extern unsigned long copy_strings(int argc,char ** argv,unsigned long *page,
unsigned long p, int from_kmem);
+
+extern void compute_creds(struct linux_binprm *binprm);
/* this eventually goes away */
#define change_ldt(a,b) setup_arg_pages(a,b)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov