]> Pileus Git - ~andy/linux/blobdiff - fs/binfmt_som.c
GFS2: Extend umount wait coverage to full glock lifetime
[~andy/linux] / fs / binfmt_som.c
index eff74b9c9e77cf8f0b933adb2addcc9aac899a46..cc8560f6c9b06f93aea947744c737b62c19c1eb3 100644 (file)
@@ -43,7 +43,7 @@ static int load_som_library(struct file *);
  * don't even try.
  */
 #if 0
-static int som_core_dump(long signr, struct pt_regs *regs, unsigned long limit);
+static int som_core_dump(struct coredump_params *cprm);
 #else
 #define som_core_dump  NULL
 #endif
@@ -227,6 +227,7 @@ load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
        /* OK, This is the point of no return */
        current->flags &= ~PF_FORKNOEXEC;
        current->personality = PER_HPUX;
+       setup_new_exec(bprm);
 
        /* Set the task size for HP-UX processes such that
         * the gateway page is outside the address space.