# \[PATCH 5/6\] Pmalloc: self-test

- From: Igor Stoppa \<hidden\>
- Date: 2018-02-20 16:40:04 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2018/02/5196959
- Thread: https://ratatoskr.run/linux-security-module/2018/02/5196950/t.md

```text

On 13/02/18 01:43, Kees Cook wrote:
> On Mon, Feb 12, 2018 at 8:53 AM, Igor Stoppa [ref] wrote:

[...]

>> +obj-$(CONFIG_PROTECTABLE_MEMORY_SELFTEST) += pmalloc-selftest.o
> 
> Nit: self-test modules are traditionally named "test_$thing.o"
> (outside of the tools/ directory).

ok

[...]

> I wonder if lkdtm should grow a test too, to validate the RO-ness of
> the allocations at the right time in API usage?

sorry for being dense ... are you proposing that I do something to
lkdtm_rodata.c ? An example would probably help me understand.

--
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
```
