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.
A task's privilege level is stored in ulTaskFlag member in the TCB. Current implementation of portSWITCH_TO_USER_MODE() does not update this flag but just lowers the processor's privilege level. This results in many APIs incorrectly determining task's privilege level and access permissions - - xPortIsAuthorizedToAccessBuffer - xPortIsTaskPrivileged - xPortIsAuthorizedToAccessKernelObject This PR fixes the portSWITCH_TO_USER_MODE() implementation to correctly update the ulTaskFlag member in the TCB before lowering the processor's privilege level. |
1 year ago | |
---|---|---|
.. | ||
ARM7_LPC21xx | 2 years ago | |
ARM_CA9 | 2 years ago | |
ARM_CM0 | 1 year ago | |
ARM_CM3 | 1 year ago | |
ARM_CM4F | 1 year ago | |
ARM_CM4_MPU | 1 year ago | |
ARM_CM7 | 1 year ago |