Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 27 Oct 2020 10:00:03 -0700 | Subject | Re: [PATCH] Fix compat regression in process_vm_rw() |
| |
On Tue, Oct 27, 2020 at 1:01 AM Christoph Hellwig <hch@lst.de> wrote: > > Independent of this fix I think we just need to explicitly prohibit > cross-access.
Well, prohibiting a 32-bit process from accessing a 64-bit one might make sense, since it fundamentally cannot work, and returning an explicit error early might help avoid confusion.
But a 64-bit one can certainly validly look at a 32-bit one (ie debugging a compat process from a 64-bit gdb or similar is not unreasonable).
That said, I wonder how muich of a problem that can be, so it may be sufficient to just fix this compat case up and leave it alone.
So applied,
Linus
| |