Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1587322
| From | Pratyush Anand <panand@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] /proc/kcore: Update physical address for kcore ram and text |
| Date | 2017-02-24 08:30 +0100 |
| Message-ID | <teiud-5h2-5@gated-at.bofh.it> (permalink) |
| References | <t3nGV-5xU-1@gated-at.bofh.it> <taxia-1ll-5@gated-at.bofh.it> <taxi9-1ll-3@gated-at.bofh.it> <taApJ-3o3-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Andrew/Kees, On Tuesday 14 February 2017 07:16 AM, Pratyush Anand wrote: >> >> Well, CONFIG_PROC_KCORE is a generalized root KASLR exposure (though >> there are lots of such exposures). Why is the actual physical address >> needed? Can this just report the virtual address instead? Then the >> tool can build a map, but it looks like an identity map, rather than >> creating a new physical/virtual memory ASLR offset exposure? > > Well, having an ASLR offset information can help to translate an > identity mapped virtual address to a physical address. But that would be > an additional field in PT_LOAD header structure and an arch dependent > value. > > Moreover, sending a valid physical address like 0 does not seem right. > So, IMHO it is better to fix that and send valid physical address when > available (identity mapped). > > Thanks for the review. So, whats the decision on this patch? I see that patch is lying in next/master. Should I expect this patch in v4.11-rc1? Couple of user-space makedumpfile modification will depend on this patch. So, we can not get those makedumpfile patches merged until this patch hits upstream. ~Pratyush
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] /proc/kcore: Update physical address for kcore ram and text Kees Cook <keescook@chromium.org> - 2017-02-13 23:30 +0100
Re: [PATCH] /proc/kcore: Update physical address for kcore ram and text Pratyush Anand <panand@redhat.com> - 2017-02-14 02:50 +0100
Re: [PATCH] /proc/kcore: Update physical address for kcore ram and text Pratyush Anand <panand@redhat.com> - 2017-02-24 08:30 +0100
Re: [PATCH] /proc/kcore: Update physical address for kcore ram and text Baoquan He <bhe@redhat.com> - 2017-02-24 09:00 +0100
csiph-web