CRED: Make execve() take advantage of copy-on-write credentials
[linux-2.6-block.git] / fs / binfmt_aout.c
index 204cfd1d76762e22cf2e62bd447fb6c7fd7da0d9..f1f3f4192a609fbbd4be4232b0e525697787be98 100644 (file)
@@ -320,7 +320,7 @@ static int load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs)
        current->mm->free_area_cache = current->mm->mmap_base;
        current->mm->cached_hole_size = 0;
 
-       compute_creds(bprm);
+       install_exec_creds(bprm);
        current->flags &= ~PF_FORKNOEXEC;
 #ifdef __sparc__
        if (N_MAGIC(ex) == NMAGIC) {