[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210921110252.2593542-1-sxwjean@me.com>
Date: Tue, 21 Sep 2021 19:02:50 +0800
From: sxwjean@...com
To: x86@...nel.org, linux-mm@...ck.org
Cc: sxwjean@...com, Xiongwei Song <sxwjean@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...nel.org>,
Gabriel Krisman Bertazi <krisman@...labora.com>,
"Chang S. Bae" <chang.seok.bae@...el.com>,
Al Viro <viro@...iv.linux.org.uk>,
Arvind Sankar <nivedita@...m.mit.edu>,
Alexey Dobriyan <adobriyan@...il.com>,
Oleg Nesterov <oleg@...hat.com>,
Balbir Singh <sblbir@...zon.com>, Jens Axboe <axboe@...nel.dk>,
Lai Jiangshan <laijs@...ux.alibaba.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
"David S. Miller" <davem@...emloft.net>,
Kees Cook <keescook@...omium.org>,
Kim Phillips <kim.phillips@....com>,
Yazen Ghannam <yazen.ghannam@....com>,
Davidlohr Bueso <dave@...olabs.net>,
Stefan Metzmacher <metze@...ba.org>,
Marco Elver <elver@...gle.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] Use generic code for virtual address of randomization of x86
From: Xiongwei Song <sxwjean@...il.com>
Hello,
The two patches are to use generic code for randomization of virtual
address of x86. Since the basic code logic of x86 is same as generic
code, so no need to implement these functions on x86, please see the
details in comments of patch 2.
Please review it.
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Gabriel Krisman Bertazi <krisman@...labora.com>
Cc: "Chang S. Bae" <chang.seok.bae@...el.com>
Cc: Al Viro <viro@...iv.linux.org.uk>
Cc: Arvind Sankar <nivedita@...m.mit.edu>
Cc: Alexey Dobriyan <adobriyan@...il.com>
Cc: Oleg Nesterov <oleg@...hat.com>
Cc: Balbir Singh <sblbir@...zon.com>
Cc: Jens Axboe <axboe@...nel.dk>
Cc: Lai Jiangshan <laijs@...ux.alibaba.com>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: "David S. Miller" <davem@...emloft.net>
Cc: Kees Cook <keescook@...omium.org>
Cc: Kim Phillips <kim.phillips@....com>
Cc: Yazen Ghannam <yazen.ghannam@....com>
Cc: Davidlohr Bueso <dave@...olabs.net>
Cc: Stefan Metzmacher <metze@...ba.org>
Cc: Marco Elver <elver@...gle.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-kernel@...r.kernel.org
Xiongwei Song (2):
x86: Rename TIF_ADDR32 to TIF_32BIT
x86/mm: Randomize va with generic arch_pick_mmap_layout()
arch/x86/Kconfig | 2 +-
arch/x86/include/asm/compat.h | 7 +-
arch/x86/include/asm/elf.h | 2 +-
arch/x86/include/asm/page_64_types.h | 6 +-
arch/x86/include/asm/processor.h | 4 +-
arch/x86/include/asm/thread_info.h | 4 +-
arch/x86/kernel/process.c | 5 --
arch/x86/kernel/process_64.c | 4 +-
arch/x86/mm/mmap.c | 112 ---------------------------
include/linux/compat.h | 4 +
mm/util.c | 18 ++++-
11 files changed, 37 insertions(+), 131 deletions(-)
--
2.30.2
Powered by blists - more mailing lists