Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp512120ybn; Wed, 2 Oct 2019 01:36:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwswM1d3nWfvoleGc5C8B/iTvN895btwFxDuz1JePKKnchSzE4hIMWNbHDAXoUXY/78b4qm X-Received: by 2002:a17:906:f4a:: with SMTP id h10mr1935312ejj.158.1570005379704; Wed, 02 Oct 2019 01:36:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570005379; cv=none; d=google.com; s=arc-20160816; b=hH36T6Xqh1xFxhj4VfzGNmBeEs8q1VZ/hn7AwxSsYgYeiRBQ+q/8aqOCksOrtfHVDc fVwRf27AvpK0Ci1KQMv9Q0EP6zBwq/xdMZroFNLxdaYuBwf4fbuvvkvd8RsnW/L8bh59 tOomq2V20W7zVwOr5zNY3kBfnJcscjFfVRL3AIpmHRt+FeCuDiNX4O7PU2pTdf250Ein V6Yu7h1p8op7IYMwaAQyQxXK/Mp26Ix1ljg2jRr1j8SLdq2B34M5yC6ruCYjO1wtmvhV +kDbOS4xYLv4QiGTKLuQh7ooLYQaboZN3euR/MQCBL/5R6/313ZFse1FUnLHnV8UVflG VbbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=5WGNRsjSRmemddwGXPWsCXOzzSeiEp7JkL4q/D6jMrQ=; b=psRYdypETyKxzrCzkikRhCt1r7pTjWi/ILuAsSiE7KzwzQtUoSlkq197m512QptHdb 7IXrTE7h+DK9XcC300FffU00/pwIRO1ZkXP/9Ep5Ah0lyFwtRM9yUxtxZmW1rPgYnE4G kdumdcBSGKza+vM5FWYKE28NmOJzOdjOodjq80M3v0JX+dXXFPmaaOibSmtSxk+gkEz6 8VZYzBNMwtPmLAkPMNKhDMmAX8eHLEmSILu2SEizv7+hr6wz48SEKkMvypLl6f26eOGV 8lWvS+XCSMyfcqLzU3k7sJqQ18Yj6a9vSjA5rS86CzStFg8l0I3yPM2LBYVFI0DErpxt Ax7g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si10035324eje.338.2019.10.02.01.35.17; Wed, 02 Oct 2019 01:36:19 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726605AbfJBHbU (ORCPT + 99 others); Wed, 2 Oct 2019 03:31:20 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:39494 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbfJBHbU (ORCPT ); Wed, 2 Oct 2019 03:31:20 -0400 Received: by mail-qt1-f194.google.com with SMTP id n7so25116161qtb.6; Wed, 02 Oct 2019 00:31:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5WGNRsjSRmemddwGXPWsCXOzzSeiEp7JkL4q/D6jMrQ=; b=bDRSgC/RwoK9Sx1p7XWfDK3G6BjVc3qNe0DSL4DAQzXM7dYbQ09JzvHLi2SJNYTEV9 ahVNv7ulviEphH3Jzlj/4H9G6RQXa2lBgQkKfqU0p6tnoRgkofJ/wQn4eIIKV7p6N7pi HioUsZ0x2bOQl/hUGL02sO6O80IcUZBIDUEZBi8uEnzlwL7HYzZ3KvXcgn+PlAFu/l8z vFhERPgkljkUozlhVEdNgihC/05bEvGOsP3I8Gs6F5sLoQPbyP+jIfN4FYT32Oi208TI Sv0gVJlWN2QpGPAJT7o8FoX2j1RoDRM7V054Yg8eucD21zaweISZhOUZmq/Zewb0jfDD 3TUA== X-Gm-Message-State: APjAAAU7WTI3Pfr8xG7F1u+kLWes52QE0Q/0bcE8Tpnjlb1mo7oUkthd 0Rc5hDd3tD7ReBSDKmzLgRlgJ+K3IW4t/ejawxg= X-Received: by 2002:ac8:4a01:: with SMTP id x1mr2634596qtq.304.1570001477755; Wed, 02 Oct 2019 00:31:17 -0700 (PDT) MIME-Version: 1.0 References: <8736gcjosv.fsf@x220.int.ebiederm.org> <201910011140.EA0181F13@keescook> <87imp8hyc8.fsf@x220.int.ebiederm.org> In-Reply-To: <87imp8hyc8.fsf@x220.int.ebiederm.org> From: Arnd Bergmann Date: Wed, 2 Oct 2019 09:31:01 +0200 Message-ID: Subject: Re: [RFC][PATCH] sysctl: Remove the sysctl system call To: "Eric W. Biederman" 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Arnd