patch-2.1.118 linux/fs/binfmt_aout.c
Next file: linux/fs/binfmt_elf.c
Previous file: linux/fs/bad_inode.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Aug 20 15:13:00 1998
- Orig file:
v2.1.117/linux/fs/binfmt_aout.c
- Orig date:
Tue Aug 18 22:02:05 1998
diff -u --recursive --new-file v2.1.117/linux/fs/binfmt_aout.c linux/fs/binfmt_aout.c
@@ -318,7 +318,6 @@
return -ENOEXEC;
}
- current->personality = PER_LINUX;
fd_offset = N_TXTOFF(ex);
#ifdef __i386__
@@ -350,6 +349,8 @@
return retval;
/* OK, This is the point of no return */
+ current->personality = PER_LINUX;
+
#if defined(__sparc__) && !defined(__sparc_v9__)
memcpy(¤t->tss.core_exec, &ex, sizeof(struct exec));
#endif
@@ -563,7 +564,7 @@
}
-__initfunc(int init_aout_binfmt(void))
+int __init init_aout_binfmt(void)
{
return register_binfmt(&aout_format);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov