zephyr/tests/kernel/mem_protect
Maksim Masalski d18ffc9307 tests: add new threads permissions tests, modify existing
1. Found out that thread tests doesn't test next ideas of requirements,
which I think necessary to be tested and verified:
-the kernel need to prevent user threads creating new threads from
using thread or thread stack objects which are in an initialized state
-Upon thread exit, the kernel need to mark the exiting thread
and thread stack objects as uninitialized

Add new tests to test requirements above, that way we can cover more
features to be tested:
- test_new_user_thread_with_in_use_stack_obj()
- test_mark_thread_exit_uninitialized()

2. Modified test test_create_new_thread_from_user() to verify that
kernel provides new user threads access to their own thread object.

3. Also I added detailed Doxygen tags for each new test and existing
modified test.
4. Added Doxygen tag to the existing test test_stack_buffer, it
covers requirement:
-The kernel need to provide all threads read and write access to their
own stack memory buffer.

Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
2020-07-28 17:41:24 -04:00
..
futex tests: add check return value in futex_wake() 2020-07-28 12:34:20 -04:00
mem_protect tests: add new threads permissions tests, modify existing 2020-07-28 17:41:24 -04:00
obj_validation tests: update kernel objects tests 2020-07-16 12:10:31 +02:00
protection zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
stack_random tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
stackprot tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
sys_sem tests: kernel: remove ram restrictions 2020-06-09 23:36:16 -04:00
syscalls tests: mem protect syscalls update Doxygen tags, fix API, misprints 2020-07-02 08:26:12 -04:00
userspace tests: add new threads permissions tests, modify existing 2020-07-28 17:41:24 -04:00