]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/ia32/ia32_aout.c
CRED: Make execve() take advantage of copy-on-write credentials
[linux-2.6-omap-h63xx.git] / arch / x86 / ia32 / ia32_aout.c
index 127ec3f072144b7976d19533989cd97cc41da327..2a4d073d2cf12124830ddcd2879485c5f61629b0 100644 (file)
@@ -327,7 +327,7 @@ static int load_aout_binary(struct linux_binprm *bprm, struct pt_regs *regs)
        current->mm->cached_hole_size = 0;
 
        current->mm->mmap = NULL;
-       compute_creds(bprm);
+       install_exec_creds(bprm);
        current->flags &= ~PF_FORKNOEXEC;
 
        if (N_MAGIC(ex) == OMAGIC) {