aboutsummaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-04-02 10:49:10 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-04-02 10:49:10 +0200
commit9164d6758af238db10f084930fb22ffe63ef3d5a (patch)
tree6e7429e5a976c913f56f15bb6c715e936347f912 /fs/exec.c
parentf752a52d34cbdcb288ae01ace6b66baa2bbb547f (diff)
parent39cd87c4eb2b893354f3b850f916353f2658ae6f (diff)
Merge tag 'v6.9-rc2' into gpio/for-next
Linux 6.9-rc2
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index ff6f26671cfc..cf1df7f16e55 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -895,6 +895,7 @@ int transfer_args_to_stack(struct linux_binprm *bprm,
goto out;
}
+ bprm->exec += *sp_location - MAX_ARG_PAGES * PAGE_SIZE;
*sp_location = sp;
out: