mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 20:39:30 +00:00
Multiple partitions can be added to a domain, and if they overlap, they can have different attributes. The previous check would only check for W^X for individual partitions, and this is insufficient. Overlapping partitions could have W^X attributes, but in the end, a memory region would be writable and executable. The way this is performed is quite "heavyweight", as it is implemented in a O(n^2) operation. The number of partitions per domain is small on most devices, so this isn't an issue. CONFIG_EXECUTE_XOR_WRITE is still an optional feature. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com> |
||
---|---|---|
.. | ||
include | ||
posix | ||
alert.c | ||
atomic_c.c | ||
CMakeLists.txt | ||
compiler_stack_protect.c | ||
device.c | ||
errno.c | ||
idle.c | ||
init.c | ||
int_latency_bench.c | ||
Kconfig | ||
Kconfig.event_logger | ||
Kconfig.power_mgmt | ||
mailbox.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool.c | ||
msg_q.c | ||
mutex.c | ||
pipes.c | ||
poll.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
stack.c | ||
sys_clock.c | ||
system_work_q.c | ||
thread_abort.c | ||
thread.c | ||
timer.c | ||
userspace_handler.c | ||
userspace.c | ||
version.c | ||
work_q.c |