diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-06-17 13:25:08 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-06-17 13:25:08 +0000 |
commit | 59223edaa18759982db0a8aced0e77457d10c68e (patch) | |
tree | 89354903b01fa0a447bffeefe00df3044495db2e /include/linux/binfmts.h | |
parent | db7d4daea91e105e3859cf461d7e53b9b77454b2 (diff) |
Merge with Linux 2.3.6. Sorry, this isn't tested on silicon, I don't
have a MIPS box at hand.
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r-- | include/linux/binfmts.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index 0d34d35ba..dd4ef3603 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h @@ -19,7 +19,7 @@ struct linux_binprm{ char buf[128]; unsigned long page[MAX_ARG_PAGES]; - unsigned long p; + unsigned long p; /* current top of mem */ int sh_bang; int java; /* Java binary, prevent recursive invocation */ struct dentry * dentry; @@ -64,14 +64,16 @@ extern int prepare_binprm(struct linux_binprm *); extern void remove_arg_zero(struct linux_binprm *); extern int search_binary_handler(struct linux_binprm *,struct pt_regs *); extern int flush_old_exec(struct linux_binprm * bprm); -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 int setup_arg_pages(struct linux_binprm * bprm); +extern int copy_strings(int argc,char ** argv,struct linux_binprm *bprm); +extern int copy_strings_kernel(int argc,char ** argv,struct linux_binprm *bprm); extern void compute_creds(struct linux_binprm *binprm); -/* this eventually goes away */ + +#if 0 +/* this went away now */ #define change_ldt(a,b) setup_arg_pages(a,b) +#endif #endif /* __KERNEL__ */ #endif /* _LINUX_BINFMTS_H */ |