Describe the bug
On this file: https://github.com/zephyrproject-rtos/zephyr/blob/master/include/app_memory/mem_domain.h#L30
It should be CONFIG_USERSPACE instead of CONFIG_MEMORY_PROTECTION.
This issue force to enable CONFIG_MEMORY_PROTECTION to use userspace feature whereas they shouldn't be dependent (Kconfig and CMakeLists files going this way).