Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp900725ybn; Wed, 2 Oct 2019 07:57:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqznXn8JP4H8f1WuDxewptwdIuCE5A09OIPMWiZmi8OmAuB10CsfHBg0IDcCs6cSqBFEJ6qQ X-Received: by 2002:a17:906:6c8:: with SMTP id v8mr3492540ejb.40.1570028268593; Wed, 02 Oct 2019 07:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570028268; cv=none; d=google.com; s=arc-20160816; b=whM1aHwVv4uQiLD/IKEXaeLBZ/mUWNmdOchWHh7P25I2FAnAv2/o5EmDZd8HakW0sp eZDVSM6+FegBXuoZJKYyKA3r+jy0SJSHB6bOXLGpPXFH4EfKL4RcCgSAOtzYHIGzXrNL rRR9ibNzKz62bz7QprL2eBJgPF3wC1s9LIIbocrhcDFR/w99GijNuPUBvgj5NqIfSEgL X8aeECCo8nNowiS6LZWuQvpobrZPnMeuG40l/tYLPjxj1SBRrVkyYeXVpfqvU4bskO1s FadV7RIyy931kdMMoXGMgtLuM3JAkNoGwrb/ZVNsYLH9QbgX3sZly7fEkLFjyd2WLjkr ZeTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from; bh=CYAA7KVJjlfgIZB824dA5DsyY0wQE+8ctVxe8BtkPUM=; b=HJOBfuAhQyQ/N70RNWz3pF+iRHAvLcNVbUqFJY4NsHjAH2axcvh73SXH0zIBJ4aPM9 EuHHbtIz6poflmuPBU4DPZskygC6sI5ekW2z3LQPjpkxAFXHCrYXjFyVH4Y2O6dsWV9j SzMv/yOT1upuNP4zgY7QuRuZ+FkvsoLLeqFQKT521IRFwplGoDEYF9H2a0BDAGyzTC3D 6/UVwcFnQawKygGntdYljYyUp1+CseKU25HDPV3W28stAACTb0MPNcV9HvdsPwXRhnTB UtDCBjMZLJx8ptbkPzaVxSCPR4OEyeD05sAAktjLw1ubkoWxfhOIlTKpr5rGiW+YLpP/ 7r+A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j14si10884308edt.298.2019.10.02.07.57.24; Wed, 02 Oct 2019 07:57:48 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728330AbfJBOlu (ORCPT + 99 others); Wed, 2 Oct 2019 10:41:50 -0400 Received: from out01.mta.xmission.com ([166.70.13.231]:53200 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728316AbfJBOlt (ORCPT ); Wed, 2 Oct 2019 10:41:49 -0400 Received: from in01.mta.xmission.com ([166.70.13.51]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1iFfoy-0000co-LJ; Wed, 02 Oct 2019 08:41:40 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95] helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1iFfox-0000M4-PV; Wed, 02 Oct 2019 08:41:40 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Arnd Bergmann Cc: Kees Cook , "linux-kernel\@vger.kernel.org" , linux-arch , Linux API , Linus Torvalds , Andi Kleen , Andi Kleen , Cong Wang , Luis Chamberlain , Apelete Seketeli , Chee Nouk Phoon , Chris Zankel , Christian Ruppert , Greg Ungerer , Helge Deller , Hongliang Tao , Huacai Chen , Jonas Jensen , Josh Boyer , Jun Nie , Lars-Peter Clausen , Ley Foon Tan , Linus Walleij , Max Filippov , Olof Johansson , Paul Burton , Phil Edworthy , Pierrick Hascoet , Ralf Baechle , Roland Stigge , Vineet Gupta References: <8736gcjosv.fsf@x220.int.ebiederm.org> <201910011140.EA0181F13@keescook> <87imp8hyc8.fsf@x220.int.ebiederm.org> Date: Wed, 02 Oct 2019 09:41:00 -0500 In-Reply-To: (Arnd Bergmann's message of "Wed, 2 Oct 2019 09:31:01 +0200") Message-ID: <87a7aji51f.fsf@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1iFfox-0000M4-PV;;;mid=<87a7aji51f.fsf@x220.int.ebiederm.org>;;;hst=in01.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19IHDVGlAbdPU8dF8uFaTBUUrSZFrNIEnY= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa01.xmission.com X-Spam-Level: * X-Spam-Status: No, score=1.3 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TR_Symld_Words,T_TM2_M_HEADER_IN_MSG autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4966] * 1.5 TR_Symld_Words too many words that have symbols inside * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa01 1397; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: XMission; sa01 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;Arnd Bergmann X-Spam-Relay-Country: X-Spam-Timing: total 422 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 2.5 (0.6%), b_tie_ro: 1.79 (0.4%), parse: 0.65 (0.2%), extract_message_metadata: 16 (3.8%), get_uri_detail_list: 1.31 (0.3%), tests_pri_-1000: 15 (3.6%), tests_pri_-950: 1.03 (0.2%), tests_pri_-900: 0.96 (0.2%), tests_pri_-90: 30 (7.2%), check_bayes: 29 (6.9%), b_tokenize: 8 (2.0%), b_tok_get_all: 11 (2.7%), b_comp_prob: 2.1 (0.5%), b_tok_touch_all: 4.3 (1.0%), b_finish: 0.61 (0.1%), tests_pri_0: 240 (56.7%), check_dkim_signature: 0.53 (0.1%), check_dkim_adsp: 10 (2.3%), poll_dns_idle: 100 (23.6%), tests_pri_10: 1.63 (0.4%), tests_pri_500: 112 (26.6%), rewrite_mail: 0.00 (0.0%) Subject: Re: [RFC][PATCH] sysctl: Remove the sysctl system call X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > On Wed, Oct 2, 2019 at 12:54 AM Eric W. Biederman wrote: >> Kees Cook writes: >> > On Tue, Oct 01, 2019 at 01:36:32PM -0500, Eric W. Biederman wrote: >> > >> > I think you can actually take this further and remove (or at least >> > empty) the uapi/linux/sysctl.h file too. >> >> I copied everyone who had put this into a defconfig and I will wait a >> little more to see if anyone screams. I think it is a safe guess that >> several of the affected configurations are dead (or at least >> unmaintained) as I received 17 bounces when copying everyone. > > Looking at the arm defconfigs: > >> arch/arm/configs/axm55xx_defconfig:CONFIG_SYSCTL_SYSCALL=y > > No notable work on this platform since it got sold to Intel in 2014. > I think they still use it but not with mainline kernels that lack support > for most drivers and the later chips. > >> arch/arm/configs/keystone_defconfig:CONFIG_SYSCTL_SYSCALL=y > > Not that old either, but this hardware is mostly obsoleted by newer variants > that we support with the arm64 defconfig. > >> arch/arm/configs/lpc32xx_defconfig:CONFIG_SYSCTL_SYSCALL=y >> arch/arm/configs/moxart_defconfig:CONFIG_SYSCTL_SYSCALL=y > > Ancient hardware, but still in active use. These tend to have very little > RAM, but they both enable CONFIG_PROC_FS. > >> arch/arm/configs/qcom_defconfig:CONFIG_SYSCTL_SYSCALL=y >> arch/arm/configs/zx_defconfig:CONFIG_SYSCTL_SYSCALL=y > > These are for older Qualcomm and LG chips that tend to be used > with Android rather than the defconfig here. Maybe double-check > if the official android-common tree enables SYSCTL_SYSCALL. I just looked quickly at: https://android.googlesource.com/kernel/configs/ I don't see the string SYSCTL mentioned anywhere. Much less SYSCTL_SYSCALL. Eric