This commit is contained in:
Kody Stribrny 2026-07-04 08:08:17 +03:00 committed by GitHub
commit 26d94edeaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -249,6 +249,9 @@
#if ( ( configUSE_MPU_WRAPPERS_V1 == 0 ) && ( configENABLE_ACCESS_CONTROL_LIST == 1 ) )
#define vGrantAccessToTask( xTask, xTaskToGrantAccess ) vGrantAccessToKernelObject( ( xTask ), ( int32_t ) ( xTaskToGrantAccess ) )
/* A privileged task must revoke access to the object before deletion,
* otherwise index reuse may result in accidental permissions. */
#define vRevokeAccessToTask( xTask, xTaskToRevokeAccess ) vRevokeAccessToKernelObject( ( xTask ), ( int32_t ) ( xTaskToRevokeAccess ) )
#define vGrantAccessToSemaphore( xTask, xSemaphoreToGrantAccess ) vGrantAccessToKernelObject( ( xTask ), ( int32_t ) ( xSemaphoreToGrantAccess ) )