CRED: Make execve() take advantage of copy-on-write credentials
[linux-2.6-block.git] / fs / binfmt_flat.c
index ccb781a6a804121e17e317372eb852243303d687..7bbd5c6b37257ad5beba8180f9249d6f4eb1a6f3 100644 (file)
@@ -880,7 +880,7 @@ static int load_flat_binary(struct linux_binprm * bprm, struct pt_regs * regs)
                                        (libinfo.lib_list[j].loaded)?
                                                libinfo.lib_list[j].start_data:UNLOADED_LIB;
 
-       compute_creds(bprm);
+       install_exec_creds(bprm);
        current->flags &= ~PF_FORKNOEXEC;
 
        set_binfmt(&flat_format);