patch-2.3.99-pre3 linux/include/linux/binfmts.h

Next file: linux/include/linux/capi.h
Previous file: linux/include/linux/awe_voice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/include/linux/binfmts.h linux/include/linux/binfmts.h
@@ -21,7 +21,7 @@
 	struct page *page[MAX_ARG_PAGES];
 	unsigned long p; /* current top of mem */
 	int sh_bang;
-	struct dentry * dentry;
+	struct file * file;
 	int e_uid, e_gid;
 	kernel_cap_t cap_inheritable, cap_permitted, cap_effective;
 	int argc, envc;
@@ -44,11 +44,6 @@
 
 extern int register_binfmt(struct linux_binfmt *);
 extern int unregister_binfmt(struct linux_binfmt *);
-
-extern int read_exec(struct dentry *, unsigned long offset,
-	char * addr, unsigned long count, int to_kmem);
-
-extern int open_dentry(struct dentry *, int mode);
 
 extern int prepare_binprm(struct linux_binprm *);
 extern void remove_arg_zero(struct linux_binprm *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)