Re: [PATCH 1/1] sandbox: correct determination of the text base

2021-06-05 Thread Simon Glass
Hi Heinrich, On Sat, 15 May 2021 at 11:29, Heinrich Schuchardt wrote: > > os_find_text_base() assumes that first line of /proc/self/maps holds > information about the text. Hence we must call the function before calling > os_malloc() which calls mmap(0x1000,). > > Failure to do so has led to

Re: [PATCH 1/1] sandbox: correct determination of the text base

2021-05-19 Thread Simon Glass
Hi Heinrich, On Sat, 15 May 2021 at 11:29, Heinrich Schuchardt wrote: > > os_find_text_base() assumes that first line of /proc/self/maps holds > information about the text. Hence we must call the function before calling > os_malloc() which calls mmap(0x1000,). > > Failure to do so has led to

[PATCH 1/1] sandbox: correct determination of the text base

2021-05-15 Thread Heinrich Schuchardt
os_find_text_base() assumes that first line of /proc/self/maps holds information about the text. Hence we must call the function before calling os_malloc() which calls mmap(0x1000,). Failure to do so has led to incorrect values for pc_reloc when an exception was reported => exception unde