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: <20091207184438.GH14381@ZenIV.linux.org.uk>
Date:	Mon, 7 Dec 2009 18:44:38 +0000
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	Al Viro <viro@....linux.org.uk>, linux-arch@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/19] untangling do_mremap(), part 1

On Mon, Dec 07, 2009 at 09:17:40AM -0800, Linus Torvalds wrote:
> 
> Al, 
>  just checking: do you think this is ready for merging now? The lack of 
> RFC seems to imply it is, but I don't see the Ack's from David from your 
> previous series, for example.

Which David? ;-)  All sparc-related bits seem to have been ACKed by
davem.

Hugetlbfs tests seem to be OK with this series, but there's an odd
thing going on - expanding mremap() crossing into hugepage range on
ppc takes a while to convert it into 4Kb pages.  Fair enough, but
it seems to work _much_ faster if the process is ptraced.  NFI why;
waiting for dgw to get around to profiling it...

I'd love to see comments from ia64 and s390 folks, actually.

Known issues:
	* expand_stack() one.  Missing checks, not obvious which way to
deal with that.  Same as in mainline.  Itanic and sparc32 are killable
by that, on itanic with hw 32bit support it looks even nastier (likely
escalation to execution of user code in ring 0).
	* remap_file_pages() seems to ignore any alignment rules; it
is OK wrt to address range (it works on existing vma), but cache
coherency might be buggered.  Same as in mainline.
	* spufs (ppc cell stuff) does 64Kb-paged mappings; what happens
upon mremap() and friends?  VM_HUGETLB will *not* be set on it, so the
usual checks in mm/* are going to miss.  _Probably_ unchanged compared
to mainline, but I'd really like to understand how it's supposed to work.
--
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