diff -rc --new-file pl15/fs/exec.c pl15_quota/fs/exec.c
*** pl15_oen/fs/exec.c	Fri Feb  4 14:54:49 1994
--- pl15_quota/fs/exec.c	Fri Feb  4 11:40:52 1994
***************
*** 161,166 ****
--- 161,167 ----
     if (!filp->f_op->write)
        goto close_coredump;
     has_dumped = 1;
+    current->flags |= PF_DUMPCORE;
     /*
      * Changed the size calculations - should hopefully work better. lbt
      */
***************
*** 832,837 ****
--- 833,839 ----
     current->mmap = NULL;
     current->executable = NULL;  /* for OMAGIC files */
     current->sgid = current->egid = bprm->e_gid;
+    current->flags &= ~PF_FORKNOEXEC;
     if (N_MAGIC(ex) == OMAGIC) {
        do_mmap(NULL, 0, ex.a_text + ex.a_data,
           PROT_READ|PROT_WRITE|PROT_EXEC,
