----- Original Message -----
> From: "Cyril Hrubis" <chru...@suse.cz>
> To: "Jan Stancek" <jstan...@redhat.com>
> Cc: ltp-list@lists.sourceforge.net
> Sent: Tuesday, 7 April, 2015 3:16:59 PM
> Subject: Re: [LTP] [PATCH] mtest06: pick a distant address to mmap at
> 
> Hi!
> > Test expects, that either file is mmaped and read will
> > result in expected pattern or file is not mapped and
> > read will trigger SIGSEGV.
> > 
> > However there is also possibility that unrelated mmap,
> > (e.g. from pthread_exit or printf call chain) will pick the
> > same area between munmap/mmap calls for map_address, which
> > creates a race where data read from map_address are unexpected.
> > 
> > This patch makes a dummy mmap/munmap of large block to find
> > some distant location, where futher mmap calls are unlikely
> > to occur. Middle of this area is then used to mmap map_address.
> 
> Acked and I suppose that this should be pushed to the git before the
> release.

Pushed.

Regards,
Jan

> 
> --
> Cyril Hrubis
> chru...@suse.cz
> 

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to