Re: [PATCH 2/4] binfmt_elf: Take the mmap lock around find_extend_vma()

2020-09-30 Thread Michel Lespinasse
On Tue, Sep 29, 2020 at 6:20 PM Jann Horn wrote: > create_elf_tables() runs after setup_new_exec(), so other tasks can > already access our new mm and do things like process_madvise() on it. > (At the time I'm writing this commit, process_madvise() is not in mainline > yet, but has been in akpm's

[PATCH 2/4] binfmt_elf: Take the mmap lock around find_extend_vma()

2020-09-29 Thread Jann Horn
create_elf_tables() runs after setup_new_exec(), so other tasks can already access our new mm and do things like process_madvise() on it. (At the time I'm writing this commit, process_madvise() is not in mainline yet, but has been in akpm's tree for some time.) While I believe that there are curre