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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090814045734.GB9570@linux-sh.org>
Date:	Fri, 14 Aug 2009 13:57:34 +0900
From:	Paul Mundt <lethal@...ux-sh.org>
To:	graff.yang@...il.com
Cc:	dhowells@...hat.com, linux-kernel@...r.kernel.org,
	akpm@...ux-foundation.org, uclinux-dist-devel@...ckfin.uclinux.org
Subject: Re: [PATCH] mm/nommu.c: check read permission in validate_mmap_request()

On Fri, Aug 14, 2009 at 11:19:21AM +0800, graff.yang@...il.com wrote:
> From: Graff Yang <graff.yang@...il.com>
> 
> According to the POSIX (1003.1-2008), the file shall have been opened
> with read permission, regardless of the protection options specified.
> The ltp test cases mmap06/07 need this.
> 
> Signed-off-by: Graff Yang <graff.yang@...il.com>

Looks good. This brings it more in line with MMU Linux anyways, so it's
worthwhile regardless.

Acked-by: Paul Mundt <lethal@...ux-sh.org>
--
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