Re: [PATCH 1/2] x86: fix norandmaps

2017-08-14 Thread Oleg Nesterov
On 08/14, Kirill A. Shutemov wrote: > > On Mon, Jul 10, 2017 at 01:14:29PM +0200, Oleg Nesterov wrote: > > Documentation/admin-guide/kernel-parameters.txt says: > > > > norandmaps Don't use address space randomization. Equivalent > > to echo 0 > /proc/sys/kernel/randomize_va_s

Re: [PATCH 1/2] x86: fix norandmaps

2017-08-14 Thread Cyrill Gorcunov
On Mon, Aug 14, 2017 at 06:43:10PM +0200, Oleg Nesterov wrote: > > Acked-by: Kirill A. Shutemov > > OK, thanks Kirill and Cyrill, I'll resend tomorrow with all acks I got. I don't think you need my ack but if any Acked-by: Cyrill Gorcunov

Re: [PATCH 1/2] x86: fix norandmaps

2017-08-14 Thread Kirill A. Shutemov
On Mon, Jul 10, 2017 at 01:14:29PM +0200, Oleg Nesterov wrote: > Documentation/admin-guide/kernel-parameters.txt says: > > norandmaps Don't use address space randomization. Equivalent > to echo 0 > /proc/sys/kernel/randomize_va_space > > but it doesn't work because arch_rnd()

Re: [PATCH 1/2] x86: fix norandmaps

2017-07-20 Thread Oleg Nesterov
ping ;) On 07/10, Oleg Nesterov wrote: > > Documentation/admin-guide/kernel-parameters.txt says: > > norandmaps Don't use address space randomization. Equivalent > to echo 0 > /proc/sys/kernel/randomize_va_space > > but it doesn't work because arch_rnd() which is used to ran

Re: [PATCH 1/2] x86: fix norandmaps

2017-07-10 Thread Dmitry Safonov
On 07/10/2017 02:14 PM, Oleg Nesterov wrote: Documentation/admin-guide/kernel-parameters.txt says: norandmaps Don't use address space randomization. Equivalent to echo 0 > /proc/sys/kernel/randomize_va_space but it doesn't work because arch_rnd() which is used to randomiz

[PATCH 1/2] x86: fix norandmaps

2017-07-10 Thread Oleg Nesterov
Documentation/admin-guide/kernel-parameters.txt says: norandmaps Don't use address space randomization. Equivalent to echo 0 > /proc/sys/kernel/randomize_va_space but it doesn't work because arch_rnd() which is used to randomize mm->mmap_base returns a random value unconditio