aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2020-05-19 05:48:56 +0000
committerMichael Ellerman <[email protected]>2020-05-26 22:22:19 +1000
commit4b19f96a81bceaf0bcf44d79c0855c61158065ec (patch)
tree91eda84aac9b6362404e16026aeee6dc5d7b5161 /tools/perf/scripts/python
parent6b789a26d7da2e0256d199da980369ef8fb49ec6 (diff)
powerpc/32s: Don't warn when mapping RO data ROX.
Mapping RO data as ROX is not an issue since that data cannot be modified to introduce an exploit. PPC64 accepts to have RO data mapped ROX, as a trade off between kernel size and strictness of protection. On PPC32, kernel size is even more critical as amount of memory is usually small. Depending on the number of available IBATs, the last IBATs might overflow the end of text. Only warn if it crosses the end of RO data. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/6499f8eeb2a36330e5c9fc1cee9a79374875bd54.1589866984.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions