You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeRTOS-Kernel/include
Gaurav-Aggarwal-AWS b5020cb3d8
Prevent unprivileged task from altering MPU configuration (#227)
This change removes the FreeRTOS System Calls (aka MPU wrappers) for the
following kernel APIs:
- xTaskCreateRestricted
- xTaskCreateRestrictedStatic
- vTaskAllocateMPURegions

A system call allows an unprivileged task to execute a kernel API which
is otherwise accessible to privileged software only. The above 3 APIs
can create a new task with a different MPU configuration or alter the
MPU configuration of an existing task. This an be (mis)used by an
unprivileged task to grant itself access to a region which it does not
have access to.

Removing the system calls for these APIs ensures that an unprivileged
task cannot execute this APIs. If an unprivileged task attempts to
execute any of these API, it will result in a Memory Fault.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
4 years ago
..
FreeRTOS.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
StackMacros.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
atomic.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
croutine.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
deprecated_definitions.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
event_groups.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
list.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
message_buffer.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
mpu_prototypes.h Prevent unprivileged task from altering MPU configuration (#227) 4 years ago
mpu_wrappers.h Prevent unprivileged task from altering MPU configuration (#227) 4 years ago
portable.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
projdefs.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
queue.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
semphr.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
stack_macros.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
stdint.readme Update branch of c-sdk repo to main (#223) 4 years ago
stream_buffer.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago
task.h [AUTO][RELEASE]: Bump task.h version macros to "10.4.2" 4 years ago
timers.h [AUTO][RELEASE]: Bump file header version to "10.4.2" 4 years ago