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: <4B1990CB.5090702@canonical.com>
Date:	Fri, 04 Dec 2009 14:44:27 -0800
From:	John Johansen <john.johansen@...onical.com>
To:	David Howells <dhowells@...hat.com>
CC:	Eric Paris <eparis@...hat.com>,
	linux-security-module@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	uclinux-dist-devel@...ckfin.uclinux.org, akpm@...ux-foundation.org,
	gyang@...ckfin.uclinux.org
Subject: Re: [PATCH] security: do not check mmap_min_addr on nommu systems

David Howells wrote:
> Eric Paris <eparis@...hat.com> wrote:
> 
>> +/* sec_flags for security_file_mmap */
>> +/* Only check the address portion */
>> +#define SECURITY_MMAP_ADDR_ONLY	0x01
>> +/* Do not do the address checks */
>> +#define SECURITY_MMAP_NOT_ADDR	0x02
> 
> I'm still not happy with the names assigned to these constants.  
> 
> Can we call them:
> 
> #define SECURITY_MMAP_ADDR_CHECK_ONLY	0x01
> #define SECURITY_MMAP_SKIP_ADDR_CHECK	0x02
> 
> and then discard the comments?
I do like these suggested names a little better.  Either way I am happy
with the patch.
--
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