Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753430AbcKARLP (ORCPT ); Tue, 1 Nov 2016 13:11:15 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49676 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751645AbcKARLN (ORCPT ); Tue, 1 Nov 2016 13:11:13 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 001C76167D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=cov@codeaurora.org From: Christopher Covington To: criu@openvz.org, Will Deacon , linux-mm@kvack.org, Laurent Dufour Cc: Christopher Covington , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC v2 2/7] arm: Use generic VDSO unmap and remap Date: Tue, 1 Nov 2016 11:10:56 -0600 Message-Id: <20161101171101.24704-2-cov@codeaurora.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161101171101.24704-1-cov@codeaurora.org> References: <20161101171101.24704-1-cov@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1164 Lines: 28 Checkpoint/Restore In Userspace (CRIU) needs to be able to unmap and remap the VDSO to successfully checkpoint and restore applications in the face of changing VDSO addresses due to Address Space Layout Randomization (ASLR, randmaps). Previously, this was implemented in architecture-specific code for PowerPC and x86. However, a generic version based on Laurent Dufour's PowerPC implementation is now available, so begin using it on ARM. Signed-off-by: Christopher Covington --- arch/arm/mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index c1799dd..1d3312b 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -845,6 +845,7 @@ config VDSO depends on AEABI && MMU && CPU_V7 default y if ARM_ARCH_TIMER select GENERIC_TIME_VSYSCALL + select GENERIC_VDSO help Place in the process address space an ELF shared object providing fast implementations of gettimeofday and -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.