Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3261624ybv; Mon, 24 Feb 2020 21:45:18 -0800 (PST) X-Google-Smtp-Source: APXvYqwnpWIklHZHsgUj/GPReLt3QOebFyzCkH9qwgmdMVf+XxsG9LQo1ZohHwR6f1/rm3MYYawN X-Received: by 2002:aca:5f87:: with SMTP id t129mr2265389oib.36.1582609518229; Mon, 24 Feb 2020 21:45:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582609518; cv=none; d=google.com; s=arc-20160816; b=FVhZ2CNIOcBLN6zFjCj4wrxWSy68AXX+ZV/7Oj5s8ZxiAXmZNMLLH7rob8vfNHzsxf QWT58c4S2tJJ149jbAD9sPfg7e9lkfd7yCZCx7EZfVODFtSew6gaDjlOTsGwr/02tdIP X/fPvVsMIEJJmSC5t4K0tLkS3BB9mGBsOH6xZd2zyi/CRY/ESoMOaLefpAT7sh1DeaIL RB3EJH8TW9yealBPvlPffabUhRh6JfGRRYkpTD/EYbE+4AMefZj0zWk2KwCWt+BvXEuK 5MKoowE2BXKc1jjZ/E8pZHo50BcCDZJYnCR+V2Wj2JbwFp9MydtC5F8Yqwy8xq7MbweY E8Pw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=p5/5vEBubNjmt22m/UMeJDFdXk5YFn70ecwWdjPyPE8=; b=TWGYHKGFlk4UWHkWCzN3FgzBvYSMCE/kq5+JYZ50Gpsy6zwx3sHrhInai+2KsofJw7 5nI9YkNrttvMoI41D4YZgV8IzDl9YcHGvxKnyls4/dRNbQM3CA6OPW12AqRsRbU8DMoF VBVzrqnPAhby4bnoq/9080iqILp3kY5GfhS65DdLr1WXjSmjqhtsHK25fwgtRFy+kEM7 asyv5yPSYc4B3EUEYGvsXOjJenw+a676iBAeZzHbcC7fmv5s/T3I3iJGCDVPQ5Jqd/WA 6x/rTS+74qJBexWlzn0Mo4g/QWUrmatzryoHlvyRzx+FncX2SDQ4btK7aKeuplVqlDSF nHug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GdNQZQrA; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f141si6257729oib.125.2020.02.24.21.45.03; Mon, 24 Feb 2020 21:45:18 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=GdNQZQrA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727005AbgBYFns (ORCPT + 99 others); Tue, 25 Feb 2020 00:43:48 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33912 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbgBYFnr (ORCPT ); Tue, 25 Feb 2020 00:43:47 -0500 Received: by mail-lf1-f67.google.com with SMTP id l18so8748808lfc.1; Mon, 24 Feb 2020 21:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=p5/5vEBubNjmt22m/UMeJDFdXk5YFn70ecwWdjPyPE8=; b=GdNQZQrARMDie/sTWPxRiOwmun0GRWKpBmT1CnCPcTs7WcNLJae8K6mPa6eFJo/n7U nyFXy5GBFeey2tSZjlCb3bkAwuRVqfJsBiwH2pKxufIMo4crV00Fxkg24dIm/7y+kQCz 2oDJEPKBDsWe+ITLLhuZOOTOXZAZbEJ0jzx+r7oARptjNvD4owwRhpEydDUqtQQ9gXZ9 lthmfGtiv2GxmHanh0COZMw9FGVC3hUQnzo6YoKC/DAToVqme/MtaVtiQS/YnyiarSk2 2TvuzXpdq5D4yGUFPDK5Z+vHhKiluOLZAP2NJnxFRDWSLKCkloIcT2AxekjPrl/8zCPU wCig== 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:content-transfer-encoding; bh=p5/5vEBubNjmt22m/UMeJDFdXk5YFn70ecwWdjPyPE8=; b=hRohDoOX0WPqKkXDN1iB7SYHriKcEYsGnpGS8Vii1IBBtQIMCSZU03k+emigQkTjnb j/9tDaZD8WK1F8x3HE29tuTeg+FhQRltNLmys31fe9dB8y2CPPyE5+BQLlTAVKZri4x6 65sHxk8P2e3tkHnAKknO1kfNdfxKIy08x4OzfH1ygRPCecp9qMfcO78jKKF1vGEjRUsS AZZrVPKgB1bQSH/lrnXJajlSIdkqjF5M2ogzrcxh6oam8LfPukVYQNjbcnltYTJsg70z WxS/vJp/nRePHZvZfrcF+xse5H5U61sEPUIo9DAxLF6O9kP22ae1OSt20viTd+hgAjpo H1Iw== X-Gm-Message-State: APjAAAWSj42LWa2uz9FGDakboHeNOucIqjbZrBPIsZ81v7AVgWujaOoA 56Rg3SOqt7XH1fONLxT4nve7jS14CkovBGiiYq4= X-Received: by 2002:a05:6512:304d:: with SMTP id b13mr3576611lfb.134.1582609425105; Mon, 24 Feb 2020 21:43:45 -0800 (PST) MIME-Version: 1.0 References: <20200221165801.32687-1-steve@sk2.org> <20200224205028.0f283991@heffalump.sk2.org> In-Reply-To: <20200224205028.0f283991@heffalump.sk2.org> From: Alexei Starovoitov Date: Mon, 24 Feb 2020 21:43:33 -0800 Message-ID: Subject: Re: [PATCH] docs: sysctl/kernel: document BPF entries To: Stephen Kitt Cc: Jonathan Corbet , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , bpf , "open list:DOCUMENTATION" , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 24, 2020 at 11:50 AM Stephen Kitt wrote: > > On Sun, 23 Feb 2020 14:44:31 -0800, Alexei Starovoitov > wrote: > > On Fri, Feb 21, 2020 at 10:18 AM Stephen Kitt wrote: > > > @@ -1152,6 +1166,16 @@ NMI switch that most IA32 servers have fires > > > unknown NMI up, for example. If a system hangs up, try pressing the = NMI > > > switch. > > > > > > > > > +unprivileged_bpf_disabled > > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > > > + > > > +Writing 1 to this entry will disabled unprivileged calls to ``bpf()`= `; > > > > 'will disable' ? > > Indeed, thanks. > > > It doesn't apply to bpf-next with: > > error: sha1 information is lacking or useless > > (Documentation/admin-guide/sysctl/kernel.rst). > > error: could not build fake ancestor > > Patch failed at 0001 docs: sysctl/kernel: Document BPF entries > > Sorry, I forgot to include the base commit information; this is against > 8f21f54b8a95 in docs-next. > > I=E2=80=99ll wait for that to make it to Linus=E2=80=99 tree and re-submi= t the patch (with > the fix above). Please use bpf-next tree as a base for your patch.