patch-1.3.71 linux/include/linux/binfmts.h
Next file: linux/include/linux/interrupt.h
Previous file: linux/include/asm-sparc/winmacro.h
Back to the patch index
Back to the overall index
-  Lines: 31
 -  Date:
Sat Mar  2 20:29:23 1996
 -  Orig file: 
v1.3.70/linux/include/linux/binfmts.h
 -  Orig date: 
Fri Feb  9 17:53:07 1996
 
diff -u --recursive --new-file v1.3.70/linux/include/linux/binfmts.h linux/include/linux/binfmts.h
@@ -23,6 +23,7 @@
 	int argc, envc;
 	char * filename;	/* Name of binary */
 	unsigned long loader, exec;
+	int dont_iput;		/* binfmt handler has put inode */
 };
 
 /*
@@ -39,6 +40,7 @@
 
 extern int register_binfmt(struct linux_binfmt *);
 extern int unregister_binfmt(struct linux_binfmt *);
+extern struct linux_binfmt * get_binfmt_list(void);
 
 extern int read_exec(struct inode *inode, unsigned long offset,
 	char * addr, unsigned long count, int to_kmem);
@@ -47,10 +49,12 @@
 
 extern int init_elf_binfmt(void);
 extern int init_aout_binfmt(void);
+extern int init_script_binfmt(void);
 
+extern int prepare_binprm(struct linux_binprm *);
+extern int search_binary_handler(struct linux_binprm *,struct pt_regs *);
 extern void flush_old_exec(struct linux_binprm * bprm);
-extern unsigned long setup_arg_pages(unsigned long text_size,unsigned long * page);
-extern unsigned long * create_tables(char * p,struct linux_binprm * bprm,int ibcs);
+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);
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this