patch-1.3.75 linux/fs/binfmt_aout.c
Next file: linux/fs/nfs/nfsroot.c
Previous file: linux/drivers/sound/sb_dsp.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Fri Mar 15 15:22:59 1996
- Orig file:
v1.3.74/linux/fs/binfmt_aout.c
- Orig date:
Wed Mar 13 10:09:18 1996
diff -u --recursive --new-file v1.3.74/linux/fs/binfmt_aout.c linux/fs/binfmt_aout.c
@@ -202,7 +202,7 @@
* memory and creates the pointer tables from them, and puts their
* addresses on the "stack", returning the new stack pointer value.
*/
-static unsigned long * create_aout_tables(char * p, struct linux_binprm * bprm, int ibcs)
+static unsigned long * create_aout_tables(char * p, struct linux_binprm * bprm)
{
unsigned long *argv,*envp;
unsigned long * sp;
@@ -228,10 +228,8 @@
sp -= argc+1;
argv = sp;
#ifdef __i386__
- if (!ibcs) {
- put_user(envp,--sp);
- put_user(argv,--sp);
- }
+ put_user(envp,--sp);
+ put_user(argv,--sp);
#endif
put_user(argc,--sp);
current->mm->arg_start = (unsigned long) p;
@@ -385,8 +383,7 @@
p = setup_arg_pages(p, bprm);
- p = (unsigned long) create_aout_tables((char *)p, bprm,
- current->personality != PER_LINUX);
+ p = (unsigned long) create_aout_tables((char *)p, bprm);
current->mm->start_stack = p;
#ifdef __alpha__
regs->gp = ex.a_gpvalue;
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