zephyr/doc/kernel
Tomasz Moń fa86481692 doc: Verify write access in syscall example
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>
2022-10-14 09:56:30 +02:00
..
data_structures doc: Fix kernel data structures typos 2022-10-10 21:01:51 -04:00
drivers init: s/ARCH/EARLY, call it just before arch kernel init 2022-10-12 17:16:27 +09:00
iterable_sections doc: move misc services into OS Service section 2022-04-07 16:35:19 +02:00
memory_management doc: kernel: Re-organise memory management API pages 2022-06-01 15:26:48 +02:00
services doc: polling: Fix semaphore contested description 2022-10-04 10:36:45 +02:00
timing_functions include: update documentation to use zephyr/ prefix 2022-04-21 07:40:54 -05:00
usermode doc: Verify write access in syscall example 2022-10-14 09:56:30 +02:00
util
code-relocation.rst doc: move sections from guides 2022-04-07 16:35:19 +02:00
index.rst doc: develop: Add 'Language Support' sub-category 2022-06-01 15:26:48 +02:00
timeutil.rst