From patchwork Thu Jun 8 09:55:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103356 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356555qgd; Thu, 8 Jun 2017 02:55:31 -0700 (PDT) X-Received: by 10.101.86.76 with SMTP id m12mr20172061pgs.137.1496915731197; Thu, 08 Jun 2017 02:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915731; cv=none; d=google.com; s=arc-20160816; b=Sw1bU6b0T4JEKkOCFkdXtXwodpMC6RX5/hYFsT+e+brjrtgLxOQz7tx2Faf52oU4bf 5Q6TpGPN0sDfSQvRQrE4u+A8RP8vkGqaxVd/NoNtyP5CzN3ZgZ+oa8OLiOLlq+YYqpsj MGNQ8oqlQ9C5PpkTOU9ySay8Vx5s3LzorsVB+AkiPtT+PFZwJvyLACb4J7ZOlzrqn0C7 FJQXUVBWK78/SVPIgMX/JmAd0jGv9P01KmzqGTFoXRfpcUGskmNf5rQ3Q9pV6JAIOwfZ 6qDPnzay65Brlwb8fQQZT/Ypeop5jh2MVG4Nt7wI7P4YFJ0KKpSQBa5p4/KhPNRud6rj X1CA== 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=vKiiHm/6Isr7nECd5Y4Z7oOkWKh6oEbmAS8GfqwoMkE=; b=Sd0Xz2DBZOFXl5EoLVUfsgHbwXtgHU7Wz/51J/I2HkpEQFQ+Szwhidv4fNinJeW1c8 KzuRRb4g9wSmP3gjaCjuMesQROfktt3Oz8iNIn00T+DacKnFOmnIsmSIGWGQHPrFgdGo 7LjBPcxpdYzRQ2Qdv3KDYHBjhefnRwz8+EVV0xsGzn4RlroKbbIsnztPmPCLnZ40HNEt sraDqWhjqFYIIoekev28FjFobjwshanjWcQcSCcGkE7d0HnH6AlSAioWtQ+HzUxEo+yx H+moUumsYXzALXCshitM7lsYhMfw1BhaS8ejNopV3wCxgKTufmjWN/6pvf2tO3OKCH1Y L6rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k185si3911787pgd.70.2017.06.08.02.55.30; Thu, 08 Jun 2017 02:55:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751512AbdFHJzZ (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:25 -0400 Received: from mail-pg0-f44.google.com ([74.125.83.44]:35297 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbdFHJzW (ORCPT ); Thu, 8 Jun 2017 05:55:22 -0400 Received: by mail-pg0-f44.google.com with SMTP id k71so14497443pgd.2 for ; Thu, 08 Jun 2017 02:55:22 -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=vKiiHm/6Isr7nECd5Y4Z7oOkWKh6oEbmAS8GfqwoMkE=; b=fsvrQOGymX3iFm1gS4R9SmHb0tZ8awQnjDmZ5E3RlJ3Tyz43bS8m+8k5I8ZujkRiVF 0Mjbz56tz6h3lSyTOtsfStiIgb+Y9z5JwebVFS1AsQnLMAoDtPBddogFGQjM6lUvym9O 7gjbocQzv9wqr6VlWTFl5OdoMu7fRiXnev6cY= 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=vKiiHm/6Isr7nECd5Y4Z7oOkWKh6oEbmAS8GfqwoMkE=; b=mm1AyKxwGnTvyiVx20RecshAf1hwr+A7vsa05TCdcXcAiNrJGyVPcVcKAvTyk6crYu GfwSH70jEHReXmXQ+JGHoC8Scslz+ZKsZHrBirrqjW8tGXvt+0GaFTmNSqTsooql4h2m 8lnwI2OLGOcR5BKJFqFqom0KStG5gDEMZRl3yIEgHEmgB3WDu2j1yyXp8vJ8fl4Yv197 yFuJtfLxkNzWLMeYAjX8WYqT+eTYgKqP8qbX6nAM9bcE9LOMPogAs3vHUcKa3xwFis6A Oi+RmgonwtPsqcHFkoVZoqkg6KhssxnO+XkDaX2o4JUWwDKMG5F0e2QORSyOUhKNpwPE QRKQ== X-Gm-Message-State: AODbwcCFDE7Y0m7X24F4BTM3dmGRe+RzjZxqxwCTRFAKUr0zc25dA/fl s2fBFDNVfpd6HHL4 X-Received: by 10.84.232.3 with SMTP id h3mr33256333plk.42.1496915721716; Thu, 08 Jun 2017 02:55:21 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:20 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Jeff Vander Stoep Subject: [PATCH 1/9] config: android-recommended: enable fstack-protector-strong Date: Thu, 8 Jun 2017 15:25:04 +0530 Message-Id: <1496915712-14176-2-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jeff Vander Stoep If compiler has stack protector support, set CONFIG_CC_STACKPROTECTOR_STRONG. Reviewed-at: https://android-review.googlesource.com/#/c/238388/ Signed-off-by: Jeff Vander Stoep [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-recommended.config | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/kernel/configs/android-recommended.config b/kernel/configs/android-recommended.config index 28ee064b6744..a86faa41bfd2 100644 --- a/kernel/configs/android-recommended.config +++ b/kernel/configs/android-recommended.config @@ -11,6 +11,7 @@ CONFIG_BLK_DEV_DM=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=8192 +CONFIG_CC_STACKPROTECTOR_STRONG=y CONFIG_COMPACTION=y CONFIG_STRICT_KERNEL_RWX=y CONFIG_DM_CRYPT=y From patchwork Thu Jun 8 09:55:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103357 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356624qgd; Thu, 8 Jun 2017 02:55:43 -0700 (PDT) X-Received: by 10.99.113.20 with SMTP id m20mr4397950pgc.188.1496915743761; Thu, 08 Jun 2017 02:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915743; cv=none; d=google.com; s=arc-20160816; b=IfdWrPQle3yscLIACzur4lDvBE/qzrDQzR4k6zhhCcrsDtTBMNhnlAkUFKP/DROf3u SeN7cheBEJoWQLk9bgky4nj3ODPgeDlQ0eeih7dnhy8Z/7usEeXAjLo4lZjoownFvNfO aDHTVg00GY9MKAIHB9+gTSHIbH2/MXAnS80CGNQrdHk/4T10UYHa2UX5pc3z56JfF9x0 EToKLZQu50C+V4T3s6depSQrz5mgFJxssjBzamW8YmB0O04LVTqNKvQC3MD4jrTKP+UZ hc4N0zmwQt86JVpxuR9/YZt+3JWfGdx3tHrAXn+cW5d7ljA5IC3bXIOAhRyeidoFGzC6 wFFQ== 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=aTsbPIc0mOPjUofWaezEOb/K2RARg9IzDhUCxvGqW90=; b=hM+FHFdldc42cDWTs9elb5iRWbB8DxDgsqK/yh3vc80EeM05bTzAWW12Dk54c9LL75 +54+vKFPgX/rO/ROsVveKwMCa/fLxopqXPMx8CqO4//tN3xCL6Zlf2f0MSjSGDNFI+Yt kA4oWU+5cw0hUOuzYLU6JOpYVaNq5GCJSLXpqDjHz+U0ohFvFQSeiKK2+Wcq70rUCQDG WMH+DCWgXrhDuUTuRnMYbQzcn0Jb9vYTDieUFxFB6j+Ejak+2W9469kE5LBYMhcoV5PB HxA3wUaHzgpzL+Sh7GbPL8RpcS2uwZ5Q7y6NMEcuE0TxIFoSScxRDviRx+aBCCGKAEoM OebA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si4024141pfg.24.2017.06.08.02.55.43; Thu, 08 Jun 2017 02:55:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751533AbdFHJz2 (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:28 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:36719 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbdFHJz0 (ORCPT ); Thu, 8 Jun 2017 05:55:26 -0400 Received: by mail-pf0-f174.google.com with SMTP id x63so15459609pff.3 for ; Thu, 08 Jun 2017 02:55:25 -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=aTsbPIc0mOPjUofWaezEOb/K2RARg9IzDhUCxvGqW90=; b=WSFIUb6358hO6Byh82M5SEyqmY9G9Sov3xQz2rCAajqGmSeXo3gyepSmhsuUnyMowk cHpEIk4Vbet/DBHXvHWucSiAEE8tQPmBCRqHItBkw3T6PWeQBnsN2c8PvpGKtwRU1khZ Al1OE00u92t8yp6vPZZ/seTTPPibWW5EmdRGc= 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=aTsbPIc0mOPjUofWaezEOb/K2RARg9IzDhUCxvGqW90=; b=qOf7JPHveL7Dt5ZVNOTv1TERGbYG9LffRmZfR5AGaiNy+2EqFQduTg3y6CKwnOWHma xsj4UxLsxL98GImQdtFy/RmeHmkT+efkBkfXoE4JAzH5VmZVSvrCEXXyH9auRM/KcTfX eJuOat2KrUbL2YtlZXG4Url78O3WKKFq8g1QoGQX032yuL/rLgKlgSDoG0b4SaR8sQSA oQJnRxktanqhQHLLt4inoSd07q3lBqUac7fczz8pb48x7AhGYBF0wvOyhosYLKbT+//6 CiUbc5ZpCU7plm2UPUe5PUpdB9NRjm3TDAh0Y0B9hv+KSUs6GBDj2h8bRVU/Ybfw2/cX Y/ww== X-Gm-Message-State: AODbwcAxYeQ5KlVJql/dGQOBp9uoK2x0MOwv7lBp7zwZYX//SzpzxWj1 5S8iQq57LsHD11Mo X-Received: by 10.98.150.12 with SMTP id c12mr35787037pfe.201.1496915725384; Thu, 08 Jun 2017 02:55:25 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:24 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Sami Tolvanen Subject: [PATCH 2/9] config: android-recommended: enable CONFIG_ARM64_SW_TTBR0_PAN Date: Thu, 8 Jun 2017 15:25:05 +0530 Message-Id: <1496915712-14176-3-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sami Tolvanen Enable PAN emulation using TTBR0_EL1 switching. Reviewed-at: https://android-review.googlesource.com/#/c/325997/ Signed-off-by: Sami Tolvanen [AmitP: cherry-picked this change from Android common kernel and updated the commit message] Signed-off-by: Amit Pundir --- kernel/configs/android-recommended.config | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/kernel/configs/android-recommended.config b/kernel/configs/android-recommended.config index a86faa41bfd2..a02c447769f7 100644 --- a/kernel/configs/android-recommended.config +++ b/kernel/configs/android-recommended.config @@ -6,6 +6,7 @@ # CONFIG_NF_CONNTRACK_SIP is not set # CONFIG_PM_WAKELOCKS_GC is not set # CONFIG_VT is not set +CONFIG_ARM64_SW_TTBR0_PAN=y CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_BLK_DEV_DM=y CONFIG_BLK_DEV_LOOP=y From patchwork Thu Jun 8 09:55:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103364 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2357060qgd; Thu, 8 Jun 2017 02:57:14 -0700 (PDT) X-Received: by 10.98.224.4 with SMTP id f4mr34835433pfh.72.1496915834509; Thu, 08 Jun 2017 02:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915834; cv=none; d=google.com; s=arc-20160816; b=pKN9xmLCRNHbX0e3QAGwRusIq/EFVKdPI1mT+BbT+7LgtrKM6xCWqfU7neOjxoMAkA 7YMQbTU1B7XrhJ3lnJIU2Vo5WaimkfpBdf1XDzYgi3/wBF21vmeSEF5B2bujl1vGUGUu VCeW55h/h3MWNy4HIphOIL3odgZ+clNwP0xVHT9p4vq6ysSZfXq9Mrx22ssv8vDbW026 Jw6VHGnwtSkMiRWYrvM/O9cTH0a02dK4+W79a1wt/NkH3PNsZ9e0iuKZeWIi6ZHXh6LD ndCOFwMvmepx05yg8J6sr8dDFtiyYPZiLHwY2JsraCnL80sWYySjC5/+Y24sPBsMaG6t 2BzQ== 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=f5Mttj4fKw1HQhopyVII/N5ntpWerLt5XiQ6EDWS2qk=; b=cYzbQck4X8kqyocic4j4c41N4gyB+2ZzKmn5j9uPSdfyQuF0uzmyQCjCOsIqv2PLz4 3nG1YsmINTiVGhkAqep65MiWyz+DOYEgbgdA4PNj1R96cOIw0QYAOR1xpkegN9BH27J8 hAbdfqxFb0g9nCQuxTIaA2CyFkI1oyA+5/ZK3+nExV3PC3KwZRplMnxUSsFar351xFsQ ZoAAgtUQeBkxP8MTIhrnPi2JioXHcmROEsCmgwdtshjtPfjFeaKAtcOulyaEvj372WK9 NfoHZV6DHno6AD3rfQJs2Iu9q8MEhhp6GLXZBmDW4ofQh2ATbL43yvRhTkDpCg/UynSn d6YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si4058665pgc.211.2017.06.08.02.57.14; Thu, 08 Jun 2017 02:57:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751782AbdFHJ4v (ORCPT + 25 others); Thu, 8 Jun 2017 05:56:51 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:36737 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751540AbdFHJze (ORCPT ); Thu, 8 Jun 2017 05:55:34 -0400 Received: by mail-pf0-f175.google.com with SMTP id x63so15460208pff.3 for ; Thu, 08 Jun 2017 02:55:34 -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=f5Mttj4fKw1HQhopyVII/N5ntpWerLt5XiQ6EDWS2qk=; b=RfELhAF2vmZiw3wXCcoZM9rQ2npEJ227p43dT74rnpPhqq/znk3dQ4khkEsC88/2pz 7T8sWWSS5STSAbQtQ8wI9TPMcHjWcoZmCkVA2MFmirFC9ZlwoTw0AfV2l59bXRUgnyvP W38T//+MGeg5jLouaIH0XFbE/Oj1CiuP5GmxA= 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=f5Mttj4fKw1HQhopyVII/N5ntpWerLt5XiQ6EDWS2qk=; b=sY0j0sPP3Jb32PhwQWRXjT1+KW16EFznkL0ho+CfhrduEwMuZUZz3t3545ylpHzPam 1AuqSSgFlOMrWASZn7UVQndA9lEppTb5mJLEr3auFhoogreSzefOvOlmtlt1hPon4xto L8M/vfb4zwf1rNev0ZOZ6Re1H2kBsAa2M87b4WlbjKjkDZ4LiieLY6L1obH3xJMpovqV dCaiLlsMv/7tEaoOav4fEYXgpXf0hAiLCCR5cho4lltAsNVZ6/wWEVnKZThnaKrk8GxX ffixNiL/0EoJBGH+QXEmdwwHMVYXF9IOH0bun3tsMEIXSg/5wlUBwrpdkd2Y9LqKuTIC lXPQ== X-Gm-Message-State: AODbwcB+hvNenHryA3/c5ENjLUhJqTdYVzbtPfL7WOtEtVEnEMpvByHd e/ZomXtBEjOQPEqp X-Received: by 10.99.124.2 with SMTP id x2mr11964549pgc.53.1496915729219; Thu, 08 Jun 2017 02:55:29 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:28 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Max Shi Subject: [PATCH 3/9] config: android-base: disable CONFIG_USELIB and CONFIG_FHANDLE Date: Thu, 8 Jun 2017 15:25:06 +0530 Message-Id: <1496915712-14176-4-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Max Shi Turn off the two kernel configs to disable related system ABI. Reviewed-at: https://android-review.googlesource.com/#/c/264976/ Signed-off-by: Max Shi [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 26a06e09a5bd..efe5ff86767e 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -1,10 +1,12 @@ # KEEP ALPHABETICALLY SORTED # CONFIG_DEVKMEM is not set # CONFIG_DEVMEM is not set +# CONFIG_FHANDLE is not set # CONFIG_INET_LRO is not set # CONFIG_MODULES is not set # CONFIG_OABI_COMPAT is not set # CONFIG_SYSVIPC is not set +# CONFIG_USELIB is not set CONFIG_ANDROID=y CONFIG_ANDROID_BINDER_IPC=y CONFIG_ANDROID_LOW_MEMORY_KILLER=y From patchwork Thu Jun 8 09:55:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103358 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356629qgd; Thu, 8 Jun 2017 02:55:44 -0700 (PDT) X-Received: by 10.99.157.10 with SMTP id i10mr26045339pgd.116.1496915744165; Thu, 08 Jun 2017 02:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915744; cv=none; d=google.com; s=arc-20160816; b=BB7uePgj1yHlNMPAWcg4YsTnan+YI3xHsgyyE5elGhAbkXNG4KKfyWdfWhc9gCJ/G0 Ml9z2ES2wK83tg6smtI6Qam51j6Vgoj7JmpJ58e7uUlo/l12Z7nMJG4r+M+y8xCluBy0 KlaryVLz28Wo2mLtWyRNYeCSt4p2wMe+OxkEAZrB/AQSJ1VZtoSJOsidkqF2LQ40AMVm eDnz8MIOHHTNrfqSsY0C21qPJk8ZAY5DtB9qTR61NxOF3idf4XwL1s61acvd+WuRixCB t6gYnAcl/i2fH7Fu0VK8msBbiNY1a2SiDu4/wQQ8xuHCAysoQHv1qWTzEtkfpn/sUFt+ oBbw== 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=DcxgizKlgYPLXXdUXcBxlvOBvRuXAJHvJl645NB3K88=; b=EmcLfEzNNskz608Pj7y5x49MA8WccLaxc7run4hkTvSHwVSNYxtrZkummarcI+FBRS ecL9dx/ItR/n2JqMD9H6kpKEspY7Ccr1Su0BHEKDI46szQmz6oR4cmXstuYxadNMcEpi 1Oh5jzFzo5S+9xsLSnWIgeXhO70SlekI9E13odtgmx42mbNdyDHifUj3qtTpxi7gvs9R gM49hkcHn0HDllUQXfjDkcLQtF7N3u9EmXb1ktR992t/jwSjf5n+RndQ3YmQrc+xGgj2 DQVxJBrDMtM4ag9+ZcHvaityo/40WLCk5wu87y80/k3O5KdX6hRtdmmILzUZ0OgFWAZ7 7XFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si4024141pfg.24.2017.06.08.02.55.43; Thu, 08 Jun 2017 02:55:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751561AbdFHJzh (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:37 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:34570 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbdFHJzd (ORCPT ); Thu, 8 Jun 2017 05:55:33 -0400 Received: by mail-pf0-f172.google.com with SMTP id 9so15506719pfj.1 for ; Thu, 08 Jun 2017 02:55:33 -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=DcxgizKlgYPLXXdUXcBxlvOBvRuXAJHvJl645NB3K88=; b=QljP0Hs8BfavX0SukKy08cdXuide1RG0JsYh4aPC/0VjGvO9fNiS0YjjGP88rFmdPH A7XF2/xdJWFde0rryUvvYkSLsmaNJw9Ql7y1GbMPRwvXBTa7usml+aCVZxI2yZ+imsf2 hECLDRS6PvVIKo+OefwRhNoRTIjziZxabATTI= 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=DcxgizKlgYPLXXdUXcBxlvOBvRuXAJHvJl645NB3K88=; b=RAC1Wii3XjWdT0LFmvt3vF33un097r4QDDLUxdwFakN5lHAB9mCCUCToDRIO4gP6Ga vmjG0V2z3dqW5UfjLCZFfQOU8q6mdywDO6eka+ehrMbO6pfi/YPPoE+w78pDfTShjpCV VNjrsnPYqc5WeKe2d/wGk3rc343yPEKCx/BO7TtN5VnzjWPINPeTjk7ISYImfPrvZ56m 76Fmm6J7Zic5ayKVjOeT0DQxy9xCUzCKI9LE60QKM2z7hrcC+VDrtoumGkopjFw2RjEm W0rGDdvMFA4hAdRk/CXLbumI0U2w/okISt//554dmrn7HRHoYcUqn9nNagyerOerSNPv RukA== X-Gm-Message-State: AODbwcCPiQE2PWS7JgQW7+3ltcSxB8SEGXKTjZIJ33u6BntNJwh58J7B DOlm6jTqhp1825ov X-Received: by 10.84.228.194 with SMTP id y2mr33308793pli.13.1496915733032; Thu, 08 Jun 2017 02:55:33 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:31 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Sami Tolvanen Subject: [PATCH 4/9] config: android-recommended: enable CONFIG_CPU_SW_DOMAIN_PAN Date: Thu, 8 Jun 2017 15:25:07 +0530 Message-Id: <1496915712-14176-5-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sami Tolvanen Enable CPU domain PAN to ensure that normal kernel accesses are unable to access userspace addresses. Reviewed-at: https://android-review.googlesource.com/#/c/334035/ Signed-off-by: Sami Tolvanen [AmitP: cherry-picked this change from Android common kernel, updated the commit message and re-placed the CONFIG_STRICT_KERNEL_RWX config in sorted order] Signed-off-by: Amit Pundir --- kernel/configs/android-recommended.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/kernel/configs/android-recommended.config b/kernel/configs/android-recommended.config index a02c447769f7..946fb92418f7 100644 --- a/kernel/configs/android-recommended.config +++ b/kernel/configs/android-recommended.config @@ -14,7 +14,7 @@ CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=8192 CONFIG_CC_STACKPROTECTOR_STRONG=y CONFIG_COMPACTION=y -CONFIG_STRICT_KERNEL_RWX=y +CONFIG_CPU_SW_DOMAIN_PAN=y CONFIG_DM_CRYPT=y CONFIG_DM_UEVENT=y CONFIG_DM_VERITY=y @@ -107,6 +107,7 @@ CONFIG_SCHEDSTATS=y CONFIG_SMARTJOYPLUS_FF=y CONFIG_SND=y CONFIG_SOUND=y +CONFIG_STRICT_KERNEL_RWX=y CONFIG_SUSPEND_TIME=y CONFIG_TABLET_USB_ACECAD=y CONFIG_TABLET_USB_AIPTEK=y From patchwork Thu Jun 8 09:55:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103359 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356634qgd; Thu, 8 Jun 2017 02:55:44 -0700 (PDT) X-Received: by 10.84.173.195 with SMTP id p61mr32715333plb.83.1496915744610; Thu, 08 Jun 2017 02:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915744; cv=none; d=google.com; s=arc-20160816; b=RNupS+uOWLYS/ZCzxR0WQkUixB92/bj7emKfl86rezGdOMpT6L422NjL/9t4m+Sn7Z V6QzI7rqKG9cDubUO04rwFpGXYJ4JNb6cbuVbc6I2ZurEYO2vKuh00nfs0dpKUnx4PTk P5Lf5f1CHpfN/apLC73V4Gq5muHrtq40bhU33yUHBcz3XpLz5e8JTLso8l/F+JAeY/aW yN1mPJdnbUf12TzCZdK05cLxpoCFubbR1tfLoMtzD4/BR0RPUEX6j/eGBsGHneTHUCkp G8QamNL9h+NsIum9+9ULr77tkg+msbL0i4FrNU7o6RV1aGW384c+7FqW6AAl/84Lys7D 34TA== 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=EYQwK4Z0t1+D43tX+tNe/TGvH7jXLV54a5pjWFP1L+4=; b=MAE5vsWZbXdhiYWRxtNaa+5EMvSaa15YjtivYgT9xMsjKwFcvp9qwALB2iMCL/R/6i fVtVFsXuiPgNLTk1FW9gN6tBtpevABpMhn1/GZfJNZ05jcbSl4bCLjsPG1Cj7fDgMNf0 lgU1IPWQhozNTaB9NQgAKte8uQcvZjjCVExAGRGXqtIzjwqiSYqnOJmfIPyNS+FOCMiy dP603AfDgSJdY4C4qZEOBoFWJ3rLQ1rPtCR49gYhILwz3DDVk8Ks4j6eeyf0tcV6qvnb spty74Jz0gCGfNxRMa5AfhSnQgM+yHRXskxLmGP4UjhTrSIs4n6AYZ2eGWMHGfK0hlpW u36Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si4024141pfg.24.2017.06.08.02.55.44; Thu, 08 Jun 2017 02:55:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751591AbdFHJzj (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:39 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:34584 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559AbdFHJzh (ORCPT ); Thu, 8 Jun 2017 05:55:37 -0400 Received: by mail-pf0-f179.google.com with SMTP id 9so15507220pfj.1 for ; Thu, 08 Jun 2017 02:55:36 -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=EYQwK4Z0t1+D43tX+tNe/TGvH7jXLV54a5pjWFP1L+4=; b=HQ23Oa+uQ7QEN+8dnNtGQT0eQYJ8XZoipV6IgM0jnwYh0JO4xQtuyJkHyLu+hmPBlG 77DJhkbIhFzFVJsm23eh39BhsnuyJro/wqw1kAi+WOwUWpg+RAY4wXDsZZyuqECZ8hkM 1aLt2icRbOxhosm/pgXXT8ycBLv8Lyz/aEdYM= 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=EYQwK4Z0t1+D43tX+tNe/TGvH7jXLV54a5pjWFP1L+4=; b=U2r7hixsWssSXnDglfPvUY//WQN7weyla9TFMP/zTJNr9qz8iZgmIhqK8lx1MQTxCi ET61AA3XNx+gl3HMf3vSLcEv/+0WUoCLTdkMD+JTzpSZUhg1+duJ7IVaBXCBr9vAO/y9 EIngYlgqzh2qxFuJq/7OgWCfwYu7PHEgO8I1+pRW8EqFp2lA5KAMfF8Ar1bOzNtx++7/ 1+DekSWr58Kj67pR8S9L6ygCjHdSkzKikDt9mGvMllBkHaLbXya2NO6+wEbxq9YgF5zP zdUfOpZ4IG5x+UZFBvoh2iMmD17DOJvC+z0eum8JCzufJxfG5IHEPbfWcLqR2PzO90eY dfzA== X-Gm-Message-State: AODbwcAto9WUGL51cq5AQUmG8eFagiaCfXAsQem7R6C4nT75sT7SaLAU n4nuKkNByF9otyGm X-Received: by 10.99.101.132 with SMTP id z126mr36989086pgb.194.1496915736480; Thu, 08 Jun 2017 02:55:36 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:35 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Greg Kroah-Hartman Subject: [PATCH 5/9] config: android-base: add CONFIG_IKCONFIG option Date: Thu, 8 Jun 2017 15:25:08 +0530 Message-Id: <1496915712-14176-6-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman This adds CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC options, which are a requirement for the O release. Reviewed-at: https://android-review.googlesource.com/#/c/364553/ Signed-off-by: Greg Kroah-Hartman [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index efe5ff86767e..e12cfec25758 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -25,6 +25,8 @@ CONFIG_EMBEDDED=y CONFIG_FB=y CONFIG_HARDENED_USERCOPY=y CONFIG_HIGH_RES_TIMERS=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y CONFIG_INET6_AH=y CONFIG_INET6_ESP=y CONFIG_INET6_IPCOMP=y From patchwork Thu Jun 8 09:55:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103363 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356741qgd; Thu, 8 Jun 2017 02:56:07 -0700 (PDT) X-Received: by 10.101.88.67 with SMTP id s3mr13493844pgr.75.1496915767379; Thu, 08 Jun 2017 02:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915767; cv=none; d=google.com; s=arc-20160816; b=cwAP9EdgpD1MUABDrM7trymLxMu5prLmE07nbcOd44MtxRqdDKs/8DqvG5qhzxnTkh ImoeJ2q3lI9O+kLqt4cVj5IBWzXWxto+hBYDZGglG33JIHBW83X2vHvX3WFOUIkY9YR3 m02/biR1XdEWHogKAG1rAU9z64IvvS9N8iaELfA0JLZlWGokZR9cGSCTt+5rGgM+UcvY MRQDjW+UyZkE0rB+JoXddhm/Djvx44eisuAkeTT4rNQJJ03JGgWAhM8bEGCMVDe4QNJT 6h0QBvkkmDbP+z4Jxq18p8x95oKfX9mR0//HQx/9i3obZrez7+c62cc9DggOWcRqA12n I/cg== 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=NQ7efEbDWPlAABTd37kwYhz5DA11wSahvMquDIJzLVY=; b=DKUev/T5Pk/ZaOuy6LqoBT6gGZfr2eZK1z7PvZN24VebdLKNzi2+gS5xBV8Vjy+BAV VhFHFIY7XSr2Nc0V/K+iK9d0RqBu6J5ZDzv5QUw+rdIKbEJA3o+S0/2QVolVpI6QS7z9 eynVmcj/RzVT8/4sNCMD9Z3vwteod6kTwH7zOwNfjR2/pJFspe+SrmMo7gPDA1JQ53tf ZWb8SPhvPLwICJGLcqd7Gk+yjaeXdBL+xofr/VREVTpoPzX+56YlAUXNxF5pTwHbKOIQ ndu/UIrhnVSHu8yE9O+ir542oKMT8eJzo15x2xENlVHSnBwHWaLp4vsV5MzPWZUPV5sF 6czA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si4074751pgj.312.2017.06.08.02.56.07; Thu, 08 Jun 2017 02:56:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751710AbdFHJz4 (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:56 -0400 Received: from mail-pg0-f47.google.com ([74.125.83.47]:35369 "EHLO mail-pg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656AbdFHJzv (ORCPT ); Thu, 8 Jun 2017 05:55:51 -0400 Received: by mail-pg0-f47.google.com with SMTP id k71so14499803pgd.2 for ; Thu, 08 Jun 2017 02:55:46 -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=NQ7efEbDWPlAABTd37kwYhz5DA11wSahvMquDIJzLVY=; b=Icebx9+l4I6XOZ8wHlc2YGTPCUcsi/hmFbil9QPx/7G0uo+iz3uZ6Qb8CTMDl43qUR +fjEE5ft+DzS6rZfIl7yIWVfmhxjTZPenQ8+nHtQkcQ8miRwA2sT13/UqXC14sz9qk0m /+cU+y+UjmChu1wn9+lApl9Q+ShZFlBRlWoeA= 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=NQ7efEbDWPlAABTd37kwYhz5DA11wSahvMquDIJzLVY=; b=ZtvtSmLhTtvoSFOFPfAnU7OUNtNEVLCH4jLtC11Q9PKdjCnrbqvNjopL1GRQx+uULk gp8juoKfkwkcbgFKpMzZzWiCNw6HeOdfBhUzKfc6FTQBNNZKgEIBZKiPQV8d9BAmyCqM lklBgBNHHFmk8ZWxeIhhvY+DfoOykfRM52tpC97Fj9oXrqQh2wE0X7BnsD1SCuFIshhP cdjvSoMpK8KURCMgifIlrB3tEyWkqUiDa632SHvDZE26oSmLMbsL7ArjmcjSVRXNxWzB 6c93HZXaqOMiC5vmKGEP2rt2SRxCM2Z15XDHpdboEmLxikcktnjZnucfdFPPpJgkOZaR kNFw== X-Gm-Message-State: AODbwcACkpNimCyBOwDyLIcw9R138vtTqNTXzAFod1AhKkDGhm0yv7JL 0C66sAEE4nCxZP2R X-Received: by 10.84.167.168 with SMTP id d37mr33068870plb.125.1496915740649; Thu, 08 Jun 2017 02:55:40 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:39 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Greg Kroah-Hartman Subject: [PATCH 6/9] config: android-base: add CONFIG_MODULES option Date: Thu, 8 Jun 2017 15:25:09 +0530 Message-Id: <1496915712-14176-7-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman This adds CONFIG_MODULES, CONFIG_MODULE_UNLOAD, and CONFIG_MODVERSIONS which are required by the O release. Reviewed-at: https://android-review.googlesource.com/#/c/364554/ Signed-off-by: Greg Kroah-Hartman [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index e12cfec25758..62cb392fc34b 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -3,7 +3,6 @@ # CONFIG_DEVMEM is not set # CONFIG_FHANDLE is not set # CONFIG_INET_LRO is not set -# CONFIG_MODULES is not set # CONFIG_OABI_COMPAT is not set # CONFIG_SYSVIPC is not set # CONFIG_USELIB is not set @@ -64,6 +63,9 @@ CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_TARGET_NETMAP=y CONFIG_IP_NF_TARGET_REDIRECT=y CONFIG_IP_NF_TARGET_REJECT=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y CONFIG_NET=y CONFIG_NETDEVICES=y CONFIG_NETFILTER=y From patchwork Thu Jun 8 09:55:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103360 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356689qgd; Thu, 8 Jun 2017 02:55:54 -0700 (PDT) X-Received: by 10.84.224.5 with SMTP id r5mr34150226plj.267.1496915754697; Thu, 08 Jun 2017 02:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915754; cv=none; d=google.com; s=arc-20160816; b=NNk5qPxz2lxqu3Aiz5pNa0bX38p9rq3a3swjUGXkOeXon6dcJaioza+0w+A/zlY2BW MIddgpnKxAnL9n5yqq8MDQLllC7k2cwvo4Z3OIqkkbh3O6gauTwA2kCJrO4ezo3p5qax ZwtUIuC2qI8MaB/jQyOPP4ek4yzzo+IP+uKjjXnCT/GsHtiokfnoFPeHajwhIEhsL1TO lPGc4BgN2PNNISk68yOWiQNDDAibzIuaKz1cZrNVOwUDpAtQ1IAlMfgHzzipLzIWQVtH NKdSCP0fs6SNnwwnkeaS8faBDuPE5TnACj9c6SZ023JHdqkcxsTp3epCG5UmmNpSj+l7 5uJQ== 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=vcYD6UdINa4pNLFgmMor+sEyi8ucv+EAsfgDLcmuemE=; b=mBHGZiTFjCulTSvjBSnDGGPqcFprUSrjzk1+G8DkaEZftniIK6FgTp+gfmdU+zp0L2 htC+BVCAu2l9roYJ0IIG25mf83Ny01A6CE7fA9ciNnF7maegjB7ZsUfRBnG3fumsJs+v AK4EmomwQdqZnAKr+3p2fpc8nfSq35/3zoTT3X17Y69wh25d9ylRaFp+CjVR75eost/w Q0KlmilwzQv6fzX7Lh4QB4A094srSxhafD/NFvd2IYiu2MHRz+aVcc06PekleZjuQRHD QrPVYeoVb2O+Jf6wjSBQzaq+bHbXWjtYL1FAW9tM/Bcku5N4m2y75doqFVV5Lqp9B2wU lUyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y77si4023483pfk.142.2017.06.08.02.55.54; Thu, 08 Jun 2017 02:55:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751628AbdFHJzq (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:46 -0400 Received: from mail-pg0-f45.google.com ([74.125.83.45]:34475 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602AbdFHJzo (ORCPT ); Thu, 8 Jun 2017 05:55:44 -0400 Received: by mail-pg0-f45.google.com with SMTP id v18so14501486pgb.1 for ; Thu, 08 Jun 2017 02:55:44 -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=vcYD6UdINa4pNLFgmMor+sEyi8ucv+EAsfgDLcmuemE=; b=PoE6npajuZQsMgM8rYuH0G3Q26FE/pHENhYX2abInP1dh69WaK5myrH5FNvLFLNnfl mRjOvRDowZxPqcgxRUYm6YBvyitVK/bEB6/KsiaLOlH7je2nNBCLhlfhd8+zVfZ0XrIv Bkh9JDsKeTx2y1LdG6j5BMjnDfUHQhvWh1qwY= 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=vcYD6UdINa4pNLFgmMor+sEyi8ucv+EAsfgDLcmuemE=; b=rfGLupSDhXqVufVzkWcUec5Ma5Aee/ZoUTjfnTxI3SUEWH0L+Agsox3pgz8ix/ltPy 0CpII9jVsb3J43OGWizoxVWfJzE46qJh6kREvs+DBG1PsOu8wSiwhCDaDfnVUYQur0it HnYXlTL+co74GcN78p33DTX4iUyFeiQBfNLcaHaN7dQrETOhtVWCKz76xPF/pvPkq4UQ NRZFDXnQylW/bnEDgffVyvO1TwX5CFKpLyMqFQJM8h5kKXlCrvW846LuSOR8w8olC6Zk SUcdSytkQMA+8F2wX8f6b1/G/V3DsyMwB06D3tlnIStbBkksBgHl9fwcaA6bWjDT4wgY Hm9A== X-Gm-Message-State: AODbwcAejNO5vo6PP/XiFSvbNNXKv2B7tYdjyvVE3oIh8qL2EbHZ48++ aaY71h9MeTWg8DQl X-Received: by 10.84.179.193 with SMTP id b59mr32948618plc.3.1496915744013; Thu, 08 Jun 2017 02:55:44 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:42 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Lorenzo Colitti Subject: [PATCH 7/9] config: android-base: enable CONFIG_INET_DIAG_DESTROY Date: Thu, 8 Jun 2017 15:25:10 +0530 Message-Id: <1496915712-14176-8-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lorenzo Colitti As of Android N, this is required to close sockets when a network disconnects. Reviewed-at: https://android-review.googlesource.com/#/c/322674/ [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 62cb392fc34b..5ecedaaf7c2e 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -27,6 +27,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_INET6_AH=y +CONFIG_INET6_DIAG_DESTROY=y CONFIG_INET6_ESP=y CONFIG_INET6_IPCOMP=y CONFIG_INET=y From patchwork Thu Jun 8 09:55:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103361 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356695qgd; Thu, 8 Jun 2017 02:55:56 -0700 (PDT) X-Received: by 10.98.87.211 with SMTP id i80mr36542326pfj.231.1496915756295; Thu, 08 Jun 2017 02:55:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915756; cv=none; d=google.com; s=arc-20160816; b=0K4MucfkdxKuNn6Cmuu/w54gW4R6kRGDYLx8+jH2FOsnwH5qh56cpNsfkiVyZ+Q0ci hCHo3q8iyyMuUh6mjKy/ORLffAw2MFNnl6gEZViVZ6hVTrV9d8/tbh7L8RTMfGSWwbTz zClHLwGwTeUbhhdJqQpul4MkJ1yZtou7JCrAasCTPlsACRb5e0U501AMj1LHZuxdJ9u2 j3zwj4RRd8ploCwCVcqKt44e/squ36jrTtDW10/6jD42HLrFOJY9OZL4KiEvWG7DcQol ijKJjs2Q/FU216EKRQtTkV7jED2Z0/HMZ3MbsqhguIg+mFmd36gPK7ydDKOjimQ0pbFC DAtg== 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=JRwQC2glTF/zQpO3dK66B1JMdEuz/rXKxEnjoSsXmYE=; b=mNsTjuqkKTfpOJGmg9EHlYpB2D+NYqnUGiWIc+pU4IBful7H/05/GSPC4bXTq5mvrY 6QvKug27DSkMynVwo76sZUZVGHiFC+0kLl2Rn/PD+lCmsF9SclKEf4BVP7BFOufA309n Gk6tnqtkbkUZIES9BFy19HJLSK/ZuklF/YYOJAmGRNkMbXE7Dmw4uNKoya03WpSH1b7r bNT0zgTdhSRWFrGn6vjld7v6GTseQdY4Kyqudjbaw6GJR+mu7NdB86VamvaVggPgepaS GgEIbOYIlraNz7F172FIEFXXzFZ9DRV84Zlye6YR7/hPp3jMToMQtHCtRJy3AvfSgyba O1dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l27si4015231pfa.92.2017.06.08.02.55.56; Thu, 08 Jun 2017 02:55:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751662AbdFHJzv (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:51 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:35395 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbdFHJzs (ORCPT ); Thu, 8 Jun 2017 05:55:48 -0400 Received: by mail-pg0-f50.google.com with SMTP id k71so14500728pgd.2 for ; Thu, 08 Jun 2017 02:55:48 -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=JRwQC2glTF/zQpO3dK66B1JMdEuz/rXKxEnjoSsXmYE=; b=cOP6aM6pV18qAfxR68eVQ/m6kNGqXo6wvd1EK7tgk0uA5e81SjCxLxIjS8GEcKcZvk kCq6VopJlXohavNpyUKpFdkf1aF+Qz7Ao1yu2g2o9/iYM9DoJbV0E9xTog9flF1vMQ4m vOu+N7trMaYTKDS5ivV8tllWQVOicdy5ZFkgY= 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=JRwQC2glTF/zQpO3dK66B1JMdEuz/rXKxEnjoSsXmYE=; b=qkCnHsIsJrI1xcGp/ARsSsX9WnAX6vU7AOmcx6rkJbFWmOp7t6N8YSRPyVfAeQn13G aq37sl27rnea7Oh9XbV1HSy5C4amHGnlc2EqTzIB3b9Kg/0fBSe05YOCpIGqGVRzFA6l WgL/RyjC5QdGZm0xfvA71gk29nlnNJA8ODc4TZBnHLS3Ab7MsRj9TFYCUkiCOmJEvDiQ W3hzZY36qhqKhVc+do1H+BB/1XfkwDcpFyXXYDrz1Q4Y0x/NHxe7F/hTtc1wRQQiayp2 yiMk9ArlKc9AJVu3hIDL9rGbLuXWpu2f/PqCDtpJlkd+wmy3/kbgN1OfiLt/Fdt6ga7v /ffA== X-Gm-Message-State: AODbwcAs7bRREY1TPFpDlTz4+XP/UbobUWRvHWAacht4Kfd+HUtW/nsh rsO92oZEJ5/P5dqu X-Received: by 10.101.75.201 with SMTP id p9mr36236036pgr.174.1496915747534; Thu, 08 Jun 2017 02:55:47 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:46 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Chenbo Feng Subject: [PATCH 8/9] config: android-base: add CGROUP_BPF Date: Thu, 8 Jun 2017 15:25:11 +0530 Message-Id: <1496915712-14176-9-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chenbo Feng Add CONFIG_CGROUP_BPF as a default configuration in android base config since it is used to replace XT_QTAGUID in future. Reviewed-at: https://android-review.googlesource.com/#/c/400374/ Signed-off-by: Chenbo Feng [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 5ecedaaf7c2e..01b186c5ef18 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -14,6 +14,7 @@ CONFIG_ASHMEM=y CONFIG_AUDIT=y CONFIG_BLK_DEV_INITRD=y CONFIG_CGROUPS=y +CONFIG_CGROUP_BPF=y CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_FREEZER=y From patchwork Thu Jun 8 09:55:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103362 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356739qgd; Thu, 8 Jun 2017 02:56:07 -0700 (PDT) X-Received: by 10.84.175.3 with SMTP id s3mr32928151plb.105.1496915766966; Thu, 08 Jun 2017 02:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915766; cv=none; d=google.com; s=arc-20160816; b=B1IIeIygYHL6O1N1wcKB11onCquyfD4r11MjQbylS/Yz1nkjJnwotBOgf5KxlRN1Ab JAcD/Om6QWE135EJFjZLVCUahtb0lStqv4gQ8k2Z2M1RDmDVN3+lO1Kkj8N8iNhUMM2Y 1hsiYSDoJHj9PZmh43glg3J4A6eStCVjCH/Bh5LhBZTV/OvBazUy0r6QjDFAP392Jte8 Y7qNcIeh/8PUrUiRP8IHKdYqzkcgXkucUrpa0begY54uaBHxZCSXbxNtx1B7gFJqbzeF WQuInoijVETl7TPcQ/OGPvldKg8raXTtgFJyCWmmVytG5+s66D1U/Ki3joEIGIOGkOFp sBbg== 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=TvcGnLF9dFhj9at6iWdCOVb6DgcaMD+oeX4jk6PFrq8=; b=rsX2Xo2Rhbp/684HuHaf7FP58Yj/Z0DcMQJVKC91TVLI3cW65yRP37W0aqc6mIOYf+ fz5ocgdS6dg42ewMiw7e8nf5+sxxrobdzjG9C1e/bUoKZdP5hM/wHXRp9RpjW+XgPIbd PGp1LrH1E4o8JwaLFV7cUoS5sxURCU+teydNBZ+63ERDucj4RueHN3YLZ+WU0Z85FlEc ZjMAt0xws0uaArB04YCocJQbibQQZbMmYYsLSrY/XZZDMC9albmYrAD486koHc+b8O9P 9rBz8v6FUOGv9yrIrcR4sSxMcVpGIY4/quXwQsdWF7MrguTYOwKefKS+hFZxDGpUuu8P IQnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si4074751pgj.312.2017.06.08.02.56.06; Thu, 08 Jun 2017 02:56:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751686AbdFHJzy (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:54 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:36560 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbdFHJzw (ORCPT ); Thu, 8 Jun 2017 05:55:52 -0400 Received: by mail-pg0-f43.google.com with SMTP id a70so14480768pge.3 for ; Thu, 08 Jun 2017 02:55:51 -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=TvcGnLF9dFhj9at6iWdCOVb6DgcaMD+oeX4jk6PFrq8=; b=UkIpXMDOrh4Pf65ti3LVqY/oQr48cbcyaIN27jIBbuViwYmx3Q1GYLM//9H1aLLMVR i02f4HXnhCCm5mW5/3Xeah24wu9XH+tjbvOC+NR2ZGFwDUGnPp+fN+M9MIXV25hAGBgW eYpw9F0n5IHIiomdkZecrKPph8WYEB0njfvAg= 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=TvcGnLF9dFhj9at6iWdCOVb6DgcaMD+oeX4jk6PFrq8=; b=Ysh8qS3gVSm/rd11ta3teGiVsgk4EEjJLaSEYaZ2350OaJAMcnTZWsOA4sEpuU9w5t NGw7uZILEqmFD4y2FmHIVj9bEruSnsaiRlgfvH6mjdKpi/2dxXuv9BiQjH12U5MiEUhn yRggaG4t+3/QHhPavn2HiiGuQHBFjoO2UtUw7v2ikjrXAvY8tWml5nopp821zKQYedVR FfMi/+ImIOaT341uevqKZjzfyb8EaknH+I/9Trkl2K4IdwuvhbXBgShIhlAfTyP8EroS AxVEzsq7Nlrnu1TungWmqShuWun0U2D9PgQsaEqCwtrrZY7j4PoXbXuK6snU20lrrIfD DdDA== X-Gm-Message-State: AODbwcC4ibQVcC/mBwhqOCP2XYMaXYhmAQobur0GQNKXoUcQf/GnRzrG Bawa8BdalVUG2sKh X-Received: by 10.84.228.194 with SMTP id y2mr33310080pli.13.1496915751369; Thu, 08 Jun 2017 02:55:51 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:50 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Roberto Pereira Subject: [PATCH 9/9] config: android-base: disable CONFIG_NFSD and CONFIG_NFS_FS Date: Thu, 8 Jun 2017 15:25:12 +0530 Message-Id: <1496915712-14176-10-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roberto Pereira Disable Network file system support. Reviewed-at: https://android-review.googlesource.com/#/c/409559/ Signed-off-by: Roberto Pereira [AmitP: cherry-picked this change from Android common kernel and updated commit message] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 01b186c5ef18..dadb830413a3 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -3,6 +3,8 @@ # CONFIG_DEVMEM is not set # CONFIG_FHANDLE is not set # CONFIG_INET_LRO is not set +# CONFIG_NFSD is not set +# CONFIG_NFS_FS is not set # CONFIG_OABI_COMPAT is not set # CONFIG_SYSVIPC is not set # CONFIG_USELIB is not set