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: <14655.1253795386@redhat.com>
Date:	Thu, 24 Sep 2009 13:29:46 +0100
From:	David Howells <dhowells@...hat.com>
To:	graff.yang@...il.com
Cc:	dhowells@...hat.com, linux-kernel@...r.kernel.org,
	akpm@...ux-foundation.org, uclinux-dist-devel@...ckfin.uclinux.org,
	graf.yang@...log.com
Subject: Re: [PATCH] mm/nommu.c: fix mmap failed due to the vm_region codes

<graff.yang@...il.com> wrote:

> Due to the new vm_region codes, mmap will failed if it is MAP_PRIVATE,
> or the get_unmapped_area() not do actual things.

Hmmm...  Seems one of my debugging patches had a work around for this - all it
did was #ifdef-out the first if-statement in do_mmap_private().  That, however,
prevents XIP.

Sadly, your patch doesn't completely fix the problem either.  The BUG in
add_nommu_region() barks.

Let me poke at it some more.

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