lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080205163724.GA31286@elte.hu>
Date:	Tue, 5 Feb 2008 17:37:24 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Pavel Machek <pavel@....cz>
Cc:	Jakub Jelinek <jakub@...hat.com>, Jiri Kosina <jkosina@...e.cz>,
	Andrew Morton <akpm@...l.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	kernel list <linux-kernel@...r.kernel.org>,
	Abel Bernabeu <abel.bernabeu@...il.com>,
	Hugh Dickins <hugh@...itas.com>,
	Arjan van de Ven <arjan@...radead.org>
Subject: Re: [regression] Re: brk randomization breaks columns


* Pavel Machek <pavel@....cz> wrote:

> > > > I am still not completely sure. It might be a regression, but it 
> > > > also might just trigger the bug in ancient version in libc.so.5 
> > > > which might be fixed in some later version [...]
> > > 
> > > which too is a regression ...
> > > 
> > > really, lets add a sysctl for this, and a .config option that 
> > > either disables or enables it. Then we will default to disabled. 
> > > (but users can enable it - and distros can build their kernels 
> > > with this .config option enabled)
> > 
> > I don't think kernel should care about programs which are buggy and 
> > make invalid assumptions, and that's the case here.  I remember we 
> > have been
> 
> Those "invalid assumptions" crept into documentation. Everybody knew 
> heap starts at the end of bss in 1995.

what matters most isnt really any documentation but what programs really 
do, and how it affects users.

in this case i think we should offer a .config option to set the 
randomization behavior, and should perhaps make the more conservative 
one the default.

New distros (with 10,000+ binaries that work just fine with 
randomization) will turn on max randomization by default, while people 
like you who mix 1996 binaries with a 2008 kernel will use a more 
conservative default.

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ