Messages in this thread | | | From | Mike Frysinger <> | Subject | Re: [uClinux-dev] Re: [PATCH] FDPIC: respect PT_GNU_STACK exec markings when creating NOMMU stack | Date | Fri, 4 Dec 2009 05:26:46 -0500 |
| |
On Friday 04 December 2009 04:40:32 David Howells wrote: > Mike Frysinger <vapier@gentoo.org> wrote: > > > + flush_icache_range(mm->brk, brk); > > > return mm->brk = brk; > > > } > > > > probably want mm->brk + brk for the second argument > > Ummm... Why? mm->brk and brk are both addresses - note the return > statement where brk just gets assigned to mm->brk.
yeah, sorry. i was thinking sbrk where the argument is an increment, not a new address. -mike [unhandled content-type:application/pgp-signature] | |