On 09/29, Jann Horn wrote:
>
> @@ -204,7 +204,7 @@ static struct page *get_arg_page(struct linux_binprm
> *bprm, unsigned long pos,
>* doing the exec and bprm->mm is the new process's mm.
>*/
> ret = get_user_pages_remote(current, bprm->mm, pos, 1, write,
> -
On 09/29, Jann Horn wrote:
>
> @@ -204,7 +204,7 @@ static struct page *get_arg_page(struct linux_binprm
> *bprm, unsigned long pos,
>* doing the exec and bprm->mm is the new process's mm.
>*/
> ret = get_user_pages_remote(current, bprm->mm, pos, 1, write,
> -
This shouldn't change behavior in any way - at this point, there should be
no non-writable mappings, only the initial stack mapping -, but this change
makes it easier to reason about the correctness of the following commits
that place restrictions on forced memory writes.
Signed-off-by: Jann Horn
This shouldn't change behavior in any way - at this point, there should be
no non-writable mappings, only the initial stack mapping -, but this change
makes it easier to reason about the correctness of the following commits
that place restrictions on forced memory writes.
Signed-off-by: Jann Horn
4 matches
Mail list logo