patch-1.3.2 linux/include/linux/binfmts.h
Next file: linux/include/linux/bios32.h
Previous file: linux/include/linux/a.out.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Jun 16 20:03:03 1995
- Orig file:
v1.3.1/linux/include/linux/binfmts.h
- Orig date:
Wed Jan 4 21:16:05 1995
diff -u --recursive --new-file v1.3.1/linux/include/linux/binfmts.h linux/include/linux/binfmts.h
@@ -21,7 +21,8 @@
struct inode * inode;
int e_uid, e_gid;
int argc, envc;
- char * filename; /* Name of binary */
+ char * filename; /* Name of binary */
+ unsigned long loader, exec;
};
/*
@@ -40,13 +41,13 @@
extern int unregister_binfmt(struct linux_binfmt *);
extern int read_exec(struct inode *inode, unsigned long offset,
- char * addr, unsigned long count);
+ char * addr, unsigned long count, int to_kmem);
extern int open_inode(struct inode * inode, int mode);
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,int argc,int envc,int ibcs);
+extern unsigned long * create_tables(char * p,struct linux_binprm * bprm,int ibcs);
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