Re: Report on failing tests with thread stack protection and their resolution.

2021-01-26 Thread Utkarsh Rai
On Tue, Jan 26, 2021 at 9:33 PM Gedare Bloom wrote: > > > On Tue, Jan 26, 2021 at 8:24 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> On 23/01/2021 07:27, Utkarsh Rai wrote: >> >> > The issue that remains is of User extension iterators, in particular >> > of nested iterato

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-26 Thread Gedare Bloom
On Tue, Jan 26, 2021 at 8:24 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 23/01/2021 07:27, Utkarsh Rai wrote: > > > The issue that remains is of User extension iterators, in particular > > of nested iterators. My idea is to disable memory protection in places > > during it

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-26 Thread Sebastian Huber
On 23/01/2021 07:27, Utkarsh Rai wrote: The issue that remains is of User extension iterators, in particular of nested iterators. My idea is to disable memory protection in places during iteration where inter-stack access takes place.  The problem is determining the region for which memory pro

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-24 Thread Joel Sherrill
On Sun, Jan 24, 2021, 8:59 AM Utkarsh Rai wrote: > > > On Sat, Jan 23, 2021 at 9:29 PM Joel Sherrill wrote: > >> >> >> On Sat, Jan 23, 2021, 12:28 AM Utkarsh Rai >> wrote: >> >>> >>> >>> On Mon, Dec 7, 2020 at 8:00 AM Utkarsh Rai >>> wrote: >>> On Thu, Dec 3, 2020 at 10:22 PM Ge

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-24 Thread Utkarsh Rai
On Sat, Jan 23, 2021 at 9:29 PM Joel Sherrill wrote: > > > On Sat, Jan 23, 2021, 12:28 AM Utkarsh Rai > wrote: > >> >> >> On Mon, Dec 7, 2020 at 8:00 AM Utkarsh Rai >> wrote: >> >>> >>> >>> On Thu, Dec 3, 2020 at 10:22 PM Gedare Bloom wrote: >>> On Wed, Dec 2, 2020 at 5:53 PM Ut

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-23 Thread Joel Sherrill
On Sat, Jan 23, 2021, 12:28 AM Utkarsh Rai wrote: > > > On Mon, Dec 7, 2020 at 8:00 AM Utkarsh Rai > wrote: > >> >> >> On Thu, Dec 3, 2020 at 10:22 PM Gedare Bloom wrote: >> >>> >>> >>> On Wed, Dec 2, 2020 at 5:53 PM Utkarsh Rai >>> wrote: >>> Hello, As discussed in this

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-22 Thread Utkarsh Rai
On Mon, Dec 7, 2020 at 8:00 AM Utkarsh Rai wrote: > > > On Thu, Dec 3, 2020 at 10:22 PM Gedare Bloom wrote: > >> >> >> On Wed, Dec 2, 2020 at 5:53 PM Utkarsh Rai >> wrote: >> >>> Hello, >>> As discussed in this >>> thread, >>>

Re: Report on failing tests with thread stack protection and their resolution.

2020-12-17 Thread Utkarsh Rai
On Thu, Dec 17, 2020 at 8:23 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > 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_

Re: Report on failing tests with thread stack protection and their resolution.

2020-12-17 Thread Sebastian Huber
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_Iter

Re: Report on failing tests with thread stack protection and their resolution.

2020-12-08 Thread Utkarsh Rai
On Thu, Dec 3, 2020 at 10:22 PM Gedare Bloom wrote: > > > On Wed, Dec 2, 2020 at 5:53 PM Utkarsh Rai > wrote: > >> Hello, >> As discussed in this >> thread, >> I have compiled a list of the tests that deal with inter stack >> co

Re: Report on failing tests with thread stack protection and their resolution.

2020-12-03 Thread Gedare Bloom
On Wed, Dec 2, 2020 at 5:53 PM Utkarsh Rai wrote: > Hello, > As discussed in this > thread, > I have compiled a list of the tests that deal with inter stack > communication and fail with the thread stack protection option. Most o

Report on failing tests with thread stack protection and their resolution.

2020-12-02 Thread Utkarsh Rai
Hello, As discussed in this thread, I have compiled a list of the tests that deal with inter stack communication and fail with the thread stack protection option. Most of these tests pass when, as Sebastian suggested and had provid