Message ID | 1494340968-17152-2-git-send-email-amit.pundir@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1857320qge; Tue, 9 May 2017 07:42:56 -0700 (PDT) X-Received: by 10.98.134.72 with SMTP id x69mr315050pfd.106.1494340976617; Tue, 09 May 2017 07:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494340976; cv=none; d=google.com; s=arc-20160816; b=0YXVPE44VrKLieZZENToZ7NX+UPNPXtjOr0/JXC4W8LjFyvah8V2hz4dP85VRL2yv5 cPgWpIkwrK8bCZnZCGLrCSCfTcHMdWEkmYrEMGfeAMGEPYQdOV9h7b3wlv9pRgmhUBk4 l3ZSUEymSlSgxqJP4MoA4AFrjwh1GMDd66zt/98AcfZrGK0+Lxvcknu/3QzjEMz8DKvn AjRmp56vPM7GWUkWy5+9N/LxI13cQn7oqf2Eq7noEesQeJZaT0ndh+7dX/mqsOtcJ3aI Bzz+dMSRQ1mZy19KMViIYkPydV01M24QYp0mH6Icb3bzxMCPquw6/KgB1LNfqeELY0iR tkXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=y+dD0iGuCEUv7lwnbAlqN0xTaVofV/j9JpjjwKjrUrU=; b=f+nUOZ0KQ31QFe7VPN897M4tFxiJOTa2O+bzcbYepSuNIdIpHzPZgXS4QWmC/DGU9G sv8A+rKF+fIWmZUUBKPSgGbGD0PtdLByZQSTpj8LRcY6/Tq9nfHI7iDeqG1WTQ9FtzLR +GGv0qM8EWzenhErNriHpfn9gP9gUwNHJlMadyia0QZoMGvPIhBknyNGFOePDLvuR0wx LJ237EtBz+H/OMld/Jd5gRJTGCr0qJ6BP4Qjf1sLdH86UXM1jdU+3PfBD9WKFQH6Y5D2 Jc13FFRyl3FGvvUPsLmuusbWkz0DehiBANLgSmFwTzS3nujTi1xRLqjAJeMX2oEQwRh/ 1Yhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w34si113540pla.121.2017.05.09.07.42.56; Tue, 09 May 2017 07:42:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbdEIOmz (ORCPT <rfc822;sumit.semwal@linaro.org> + 6 others); Tue, 9 May 2017 10:42:55 -0400 Received: from mail-pg0-f41.google.com ([74.125.83.41]:35386 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210AbdEIOmz (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 9 May 2017 10:42:55 -0400 Received: by mail-pg0-f41.google.com with SMTP id o3so744242pgn.2 for <stable@vger.kernel.org>; Tue, 09 May 2017 07:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=y+dD0iGuCEUv7lwnbAlqN0xTaVofV/j9JpjjwKjrUrU=; b=ClNxUGyHLgbXYNTO+Mh0XmmOLF3iB1uhvMSjYbGNJNL/j/decM18eb06mIfD0RWfwt IxDLwKPFdU7bE6++Btcs1tRRenhbX2auxbBLhkdK6p+yoCcv5wPknP7ecHCCyrbNXWvm C1x/jr60kTurVHWvT1GLZMPdTVKqGi4GDzNIw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=y+dD0iGuCEUv7lwnbAlqN0xTaVofV/j9JpjjwKjrUrU=; b=ZFTOn6GNa0lxmc5012iYCkJ3eUgD+m0MAstCkU40jRdzdWSjNef+mTHTeeJMJno0rW iWMgD4Ho8N0r343g6Sxdj1TzR4iwD0UzyidPF8CeUO5bc86cnAOwyiFf+F5N6DUi6Di5 oApLg9V7/frR1ImtSaWNB6oKvwBWcsk16Ut8fbkpldh0200898xhpR+nIgnN+A/mKctQ Kb4qFVGIyyip6goQ7Bv0y+/54m7GRmDRfKtzQEUmW6TpLsrCewQknXoYlkrfAzmIVuhm 6eK/XbgoYmq2F0oJFnq9J7xXuOxZ6Ew0wM4PA34hPuawMGKv9WQc5G7o2NVXqnq4MQR9 H33A== X-Gm-Message-State: AODbwcCbW5PFZSgDFQgbo6ZJvG8Jddi5rIQASDUdP5o7+juVtPEG/xXK LyLwCxgV1xS2xsdt X-Received: by 10.84.224.135 with SMTP id s7mr702320plj.66.1494340974671; Tue, 09 May 2017 07:42:54 -0700 (PDT) Received: from localhost.localdomain ([106.51.135.126]) by smtp.gmail.com with ESMTPSA id 11sm341811pfj.59.2017.05.09.07.42.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 May 2017 07:42:53 -0700 (PDT) From: Amit Pundir <amit.pundir@linaro.org> To: Greg KH <gregkh@linuxfoundation.org> Cc: stable@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com> Subject: [PATCH for-3.18 01/24] arm64: make sys_call_table const Date: Tue, 9 May 2017 20:12:25 +0530 Message-Id: <1494340968-17152-2-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494340968-17152-1-git-send-email-amit.pundir@linaro.org> References: <1494340968-17152-1-git-send-email-amit.pundir@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
Security fixes from 2015 and 2016 android security bulletins
|
expand
|
diff --git a/arch/arm64/kernel/sys.c b/arch/arm64/kernel/sys.c index 3fa98ff14f0e..df20b7918854 100644 --- a/arch/arm64/kernel/sys.c +++ b/arch/arm64/kernel/sys.c @@ -50,7 +50,7 @@ asmlinkage long sys_mmap(unsigned long addr, unsigned long len, * The sys_call_table array must be 4K aligned to be accessible from * kernel/entry.S. */ -void *sys_call_table[__NR_syscalls] __aligned(4096) = { +void * const sys_call_table[__NR_syscalls] __aligned(4096) = { [0 ... __NR_syscalls - 1] = sys_ni_syscall, #include <asm/unistd.h> };