diff options
| author | Shiraz Hashim <shashim@codeaurora.org> | 2015-10-07 18:59:01 +0530 |
|---|---|---|
| committer | Shiraz Hashim <shashim@codeaurora.org> | 2017-02-08 16:11:00 +0530 |
| commit | f39623177b1382c8177642e7509d131c6ba90c6f (patch) | |
| tree | bcf4158967a85d1ca605ba100f9dc3a27b7548cb /net/unix/af_unix.c | |
| parent | 9c2442a7a9578e641f7b1c9de887225a02786c89 (diff) | |
arm: mm: program ptes for access restriction
CONFIG_RODATA allows strict kernel mapping permissions to
be followed and accordingly maps regions as read-only,
not-executable etc. correspondingly. CONFIG_RODATA however
assumes all memory regions to be SECTION_SIZE aligned and
section mapped for performance reasons.
With CONFIG_FORCE_PAGES, we force all kernel mappings as
page mapped thus breaking CONFIG_RODATA.
Provide provision to apply permissions at page (pte)
level, if CONFIG_RODATA does not find section mapping.
Change-Id: I8dbf5c3741836bc63a231d8a471cf0306662993b
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
