[PATCH 5/6] Pmalloc: self-test

From
Igor Stoppa <hidden>
Date
2018-02-22 09:01:09
Also in
linux-mm, lkml
Reply to
Kees Cook, 2018-02-21

On 22/02/18 00:24, Kees Cook wrote:
On Tue, Feb 20, 2018 at 8:40 AM, Igor Stoppa [off-list ref] wrote:
[...]
quoted
sorry for being dense ... are you proposing that I do something to
lkdtm_rodata.c ? An example would probably help me understand.
It would likely live in lkdtm_perms.c (or maybe lkdtm_heap.c). Namely,
use the pmalloc API and then attempt to write to a read-only variable
in the pmalloc region (to prove that the permission adjustment
actually happened). Likely a good example is
lkdtm_WRITE_RO_AFTER_INIT().

ok, thanks for the explanation, I will do it

--
igor
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (29 messages) 29 messages, 5 authors, last reply 2018-02-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help