Messages in this thread | | | Date | Mon, 03 Sep 2007 19:38:23 +0200 | From | Franck Bui-Huu <> | Subject | Re: [PATCH] i386 and x86_64: randomize brk() |
| |
Hi,
Jiri Kosina wrote: > >
[snip]
> > +/* overriden by architectures supporting brk randomization */ > > +void __weak arch_randomize_brk(struct mm_struct *mm) { }
I was actually suggesting in my last email:
unsigned long randomize_brk(unsigned long brk)
therefore arch specific code don't have to know about implementation details ie how to retrieve brk values from a mm. And it also matches the prototype of arch_align_stack().
Franck
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |