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] [day] [month] [year] [list]
Message-ID: <20080430140604.tic7mhvu35xbjacb@m.safari.iki.fi>
Date:	Wed, 30 Apr 2008 17:06:04 +0300
From:	Sami Farin <safari-kernel@...ari.iki.fi>
To:	Linux kernel Mailing List <linux-kernel@...r.kernel.org>,
	Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: Linux 2.6.24.4+mmap with overcommit >= 1

On Wed, Apr 30, 2008 at 14:47:38 +0300, Sami Farin wrote:
> On Wed, Apr 30, 2008 at 11:24:53 +0100, Alan Cox wrote:
> > On Wed, 30 Apr 2008 04:19:54 +0300
> > Sami Farin <safari-kernel@...ari.iki.fi> wrote:
> > 
> > > I have arch x86_64, glibc-2.7.90-7 from Fedora.
> > > When I have vm.overcommit_memory == 1 or 2,
> > > mmap succeeds for really huge values.
> > > These ranges succeed (approximate):
> > >  8793870000000 - 17500387000000
> > > 26390387000000 - 35180387000000
> > 
> > Fun fun fun
> > 
> > This should fix strict overcommit (== 2) I think
> 
> Thanks, one more reason to boot to 2.6.24.5...
> 
> This patch needed, too, I guess.

Booted.  Works great.

$ ./a.out 30390387000000
trying 30390387000000 bytes... got (nil)

-- 
Do what you love because life is too short for anything else.

--
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