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]
Date:   Tue, 20 Sep 2022 10:07:08 +0800
From:   Gaosheng Cui <cuigaosheng1@...wei.com>
To:     <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
        <dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
        <peterz@...radead.org>, <ndesaulniers@...gle.com>,
        <jpoimboe@...nel.org>, <cuigaosheng1@...wei.com>,
        <lukas.bulwahn@...il.com>, <akpm@...ux-foundation.org>,
        <pbonzini@...hat.com>, <anshuman.khandual@....com>,
        <namit@...are.com>, <seanjc@...gle.com>
CC:     <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/4] x86/asm: remove orphan nx_enabled declaration

The nx_enabled has been removed by
commit 4763ed4d4552 ("x86, mm: Clean up and simplify NX
enablement"), so remove the orphan declaration.

Signed-off-by: Gaosheng Cui <cuigaosheng1@...wei.com>
---
 arch/x86/include/asm/pgtable_types.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/pgtable_types.h b/arch/x86/include/asm/pgtable_types.h
index aa174fed3a71..53cc7a5ceae3 100644
--- a/arch/x86/include/asm/pgtable_types.h
+++ b/arch/x86/include/asm/pgtable_types.h
@@ -490,7 +490,6 @@ typedef struct page *pgtable_t;
 extern pteval_t __supported_pte_mask;
 extern pteval_t __default_kernel_pte_mask;
 extern void set_nx(void);
-extern int nx_enabled;
 
 #define pgprot_writecombine	pgprot_writecombine
 extern pgprot_t pgprot_writecombine(pgprot_t prot);
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ