author: Eric W. Biederman <ebiederm@xmission.com> 2020-05-03 07:54:10 -0500
committer: Eric W. Biederman <ebiederm@xmission.com> 2020-05-07 16:55:47 -0500
commit: 2388777a0a5957a10b3d78677216530a9b3bd09f
parent: df9e4d2c4a53503a97fc08eeebdc04e3c11b4618
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 252878969582..9b82bc111d0a 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -534,7 +534,7 @@ static int load_flat_file(struct linux_binprm *bprm,
/* Flush all traces of the currently running executable */
if (id == 0) {
- ret = flush_old_exec(bprm);
+ ret = begin_new_exec(bprm);
if (ret)
goto err;