VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: David Howells <dhowells@redhat.com> 2008-11-14 10:39:24 +1100 committer: James Morris <jmorris@namei.org> 2008-11-14 10:39:24 +1100 commit: a6f76f23d297f70e2a6b3ec607f7aeeea9e37e8d parent: d84f4f992cbd76e8f39c488cf0c5d123843923b1
Commit Summary:
CRED: Make execve() take advantage of copy-on-write credentials
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c
index 204cfd1d7676..f1f3f4192a60 100644
--- a/fs/binfmt_aout.c
+++ b/fs/binfmt_aout.c
@@ -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) {