fa86481692
Use z_user_to_copy() instead of directly writing to the user provided pointer to validate that the user has write permission to underlying memory location. It is important to verify the memory not only for reads, but also for writes, as otherwise the function can be abused by usermode code to write to privileged read/write, unprivileged read-only memory partition. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no> |
||
---|---|---|
.. | ||
auto_mem_domain.png | ||
index.rst | ||
kernelobjects.rst | ||
memory_domain.rst | ||
mpu_stack_objects.rst | ||
mpu_userspace.rst | ||
overview.rst | ||
syscall_flow.png | ||
syscalls.rst |