On Wed, Dec 16, 2020 at 08:29:30PM -0500, Keno Fischer wrote: > Hi all, > > The code in prctl(PR_SET_MM, ...) performs a number of sanity checks, > among them > > ``` > /* > * @brk should be after @end_data in traditional maps. > */ > if (prctl_map->start_brk <= prctl_map->end_data || > prctl_map->brk <= prctl_map->end_data) > goto out; > ``` >
Thanks for pointing, Keno! I don't remember the details right now, gimme some time and once I refresh my memory I'll reply with details.