Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp722481ybg; Wed, 10 Jun 2020 11:56:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzk6iZsk2JqIXNPbNUvtvhY0nfy7Njt/PX60ckV4PCv71KLjSiOeWqdzLPUALLGwvs60S1h X-Received: by 2002:a50:9b13:: with SMTP id o19mr3650940edi.143.1591815373104; Wed, 10 Jun 2020 11:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591815373; cv=none; d=google.com; s=arc-20160816; b=npBJ8bxY93uKh5E0XI8AcWSRNLqedMVolU0q7Ud3WCj1BdBIFyE6C7wkFZZjnLz9Na M5bbirayENvjjcYAt/Lyv+r2wUQxlz0jE/CVqgINnhbm5h40C3kTI0Y0wy5Sw3gEDUWy aNVA8HSz6qlHjFFoeOdcH0NbNJ+XrPZr7HSZ/UEBDArQ6GahijILYMUWR1cwMxBtFMU7 IWnai42fj7qGlffmho4Z+V/bchphItW01be76XTQ+5K00IfXUtBektW7xu9FmWXWMWdR gz6hU6j/7bCJHKo7drlZi3orlQ0E9iKbXtzxA2Ef+uDSLaCXyiyhz6eOOQMyEAl4BPnk viZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=6nqvk4kt/CbqXG5Zsi2WA8INcG41T64UySYrQ2FhQnY=; b=w9OTCWMA5kjFEWwu5EMty5Bshzy+GBN3XcsthsOrfnl/l9OuhbGVL+iPf3v2fgCO/A 86mxuamfG7EfktelaQo6Hfi136px+1Tnjbd3kQxiQL58cxGSeZmI1dPB+JYy8LOwzL1K dgW9Zd3J8gNlyekuZmZcTAkJpJ0VM4LdrWsQ9YldjM6kz/gH3wGjiBKz/RYTEN31KfJO HrcsvfE4QsDdixxHpYX54TkSLjpychOTmY4WX3Eo9bccQsJIaEAPmHrs9RP8YkRsbWNx YumzgLaBjXjAIpWwiR987yAQHKngOzAlFl7cO4WH1txuo0F3OrUgRetJy8ayHG6VwFK0 T8Dg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si280729edr.214.2020.06.10.11.55.49; Wed, 10 Jun 2020 11:56:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbgFJOTg (ORCPT + 99 others); Wed, 10 Jun 2020 10:19:36 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5803 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726157AbgFJOTg (ORCPT ); Wed, 10 Jun 2020 10:19:36 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0F8C5F29553EBFAD2C53; Wed, 10 Jun 2020 22:19:35 +0800 (CST) Received: from [127.0.0.1] (10.67.102.197) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Wed, 10 Jun 2020 22:19:26 +0800 Subject: Re: [PATCH] sysctl: Delete the code of sys_sysctl To: "Eric W. Biederman" CC: , , , , References: <1591683605-8585-1-git-send-email-nixiaoming@huawei.com> <87a71c59my.fsf@x220.int.ebiederm.org> From: Xiaoming Ni Message-ID: <84286450-295b-b61b-f400-f08e7eafbe7c@huawei.com> Date: Wed, 10 Jun 2020 22:19:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <87a71c59my.fsf@x220.int.ebiederm.org> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.197] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/6/10 3:20, Eric W. Biederman wrote: > Xiaoming Ni writes: > >> Since the commit 61a47c1ad3a4dc ("sysctl: Remove the sysctl system call"), >> sys_sysctl has lost its actual role: any input can only return an error. > > The remaining code does have a role. It reports programs that attempt > to use the removed sysctl. > > It would help if your change description had a reason why we don't want > to warn people that a program has used a removed system call. > > Probably something like: > > We have been warning about people using the sysctl system call for years > and believe there are no more users. Even if there are users of this > interface if they have not complained or fixed their code by now they > probably are not going to, so there is no point in warning them any > longer. > > With a change like that made to the patch description. > > Acked-by: "Eric W. Biederman" > Thanks for your guidance I will add it in the v2 version Thanks Xiaoming Ni