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]
Date:	Thu, 26 Feb 2009 20:54:53 +0100
From:	Arnd Bergmann <arnd@...db.de>
To:	Vinay Venkataraghavan <raghavanvinay@...oo.com>
Cc:	linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: Page protection flags in linux on an x86 platform

On Thursday 26 February 2009, Vinay Venkataraghavan wrote:
> I am trying to port some PPC code to x86 based linux. My question is that I am need to create some page mappings using remap_pfn_range. In the code for the PPC,
> the protection flags being specified are:
> 
> __pgprot(_PAGE_NO_CACHE | _PAGE_GUARDED);

To make your code portable, use pgprot_noncached(), which works on all
architectures.

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