Report on failing tests with thread stack protection and their resolution.
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Dec 17 14:53:14 UTC 2020
Hello,
On 03/12/2020 01:53, Utkarsh Rai wrote:
> +rtems_status_code _Memory_protection_Disable( void )
> +{
> + uint32_t access_flags;
> +
> + access_flags = translate_flags( RTEMS_READ_WRITE );
> +
> + _Thread_Iterate( set_memory_flags, &access_flags );
> +
> + return RTEMS_SUCCESSFUL;
> }
using _Thread_Iterate() for this is quite bad in terms of performance
and it may also lead to unpredictable behaviour.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list