Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp839270ybk; Wed, 20 May 2020 13:21:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjkp7KgOg5DcLQb28BA8dF6gFQzAZXByUo/VKGtOJx+j/QFzJL5FXeLkC6v97Lmrm6BS3i X-Received: by 2002:a17:906:2f90:: with SMTP id w16mr775417eji.252.1590006080800; Wed, 20 May 2020 13:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590006080; cv=none; d=google.com; s=arc-20160816; b=rdgAoh4TFp4u/pNYl9waRzsdl0C6m6a85UJaHrcbTQ3NVYudih5bazbNAMvS6XM8J8 sZtxJPYF032T92NCz5Rglrp9bW2e11KeGlrPc+MsBJXOFjXc7qZbgQPSaCxjnOIRRD13 yy65PLItMMz1mAjBbdG+AKVV40i3qw7jGQI0XO5nj3wPA5MD3WRO1OBwNnx1TllqZxg2 4bbXMgpwsnADr5ZJ1DxDfsUCXMgOdxVnXI6yMHT/7WeNTegnEhLGpImmwS22w+5GbUMs 6qatOUTJCkOKma9fva2Fl1ophrZ7rFBktUawnRAUlqGe4LCaKIXf2XETaMssLf44fnbi noSw== 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:dkim-signature; bh=VyaSYeCN7SlfNpIcnaBLrvnj4Za8Y5YWee7k0M093LM=; b=IiqcFoUhArD/JDk1fppiwkILZKn5n4s5mNJJZ7Y4Veve3uj878x2VpdO26E8rlPDVK dk/sumNoAgmYWcQ8dKo1MehC0ZHMGT8nkqTW1rGjBIxhSB1OzDGaJow/rxxKos8V5RGK 53IZEzgC3TfbfsnEpPTIocW/TjmUXptFF2S+aAUdq2MxduhLM6I77GIwBQRm1Wp3aQsp trRlgr9YAwq3/7gvNkH9RdPvcOCL+lxEG4kPC4rROsFL8b7xjycd7HupDr4hZJxh5zUl coQkmZle0imSk3A/7Tf9LZBQuefHV50DO8044GIt/2xBfXSH95RzQqYNkgsqoPvPZXl4 GIKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=EfnCZypm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y3si2221541ejm.140.2020.05.20.13.20.57; Wed, 20 May 2020 13:21:20 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=EfnCZypm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727839AbgETURd (ORCPT + 99 others); Wed, 20 May 2020 16:17:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727009AbgETURd (ORCPT ); Wed, 20 May 2020 16:17:33 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D65BCC05BD43 for ; Wed, 20 May 2020 13:17:32 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id j8so4722152iog.13 for ; Wed, 20 May 2020 13:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VyaSYeCN7SlfNpIcnaBLrvnj4Za8Y5YWee7k0M093LM=; b=EfnCZypmdGa8VpCH0ge9lM32x0XwnmHj2izqsNgRTS3I07JG3e/hF4lLCo5kXYO4/g GtxgCniYtCnG++FB/8kG6zPSRmFLKhxRqmmq4IdVKeBaftKKpwV9wCZorD+0tHjfkdlf iKIaBkXsdUOcUzEbaSjKSZqabgCT3OCAuVYYojsL0oGeaGv8yix5Xa36HevdrmZQA1d3 oZiCFN22Zq85rpV1iC6H6WuqAmzoFZO6oguZ9pkB1ojjDMsp42z1ILZhpfs69Ar45MbZ DEZchCUERGXKZVtVhJ2ntdiyp4CuUJlSp/UEMGtBpuJcdmq5WBjbssYBuRlEU2sLgeuf ZmiA== 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=VyaSYeCN7SlfNpIcnaBLrvnj4Za8Y5YWee7k0M093LM=; b=P9FAy/vEJ1wStDw0G9V6SqvPi7Fz+AwwXfwet0G9U2C4LQc/YfuDfvsu78Lda7fEI8 XuxmYjh81DSKP1LHujOP/aBPk48gzGPDGWcKJNjxXfK4Z5Svyl3uo+Hiwy4F74ARMXlw uRED/jaSzqLkzLpCTAjrvjyVVpMUijhZe6HmJvl0iAlEPDa3soSM7ZfobvUEU8kebq3F WZTFnsDzXrz43QEd7aQfNhDtPp5u0cqa/1FFspk8gAVGD6Pn543UJm4FrUiUnymdKItR kmz/EXLEvwq/Sr2aL8CPKtKTSy1tcCNJSC6agWNsy2ZFOB6XyaRxJgrOhd3hy3zcbWYt olmQ== X-Gm-Message-State: AOAM533zOqpxqMlk1/JYP7AIeNbJIM9RAEPl/ryh1WNsvr5Trs8KUW0e eeXGBXXgz8QzPbAIJsqOSXr75klqv28mVO4coSObuQ== X-Received: by 2002:a5d:8a10:: with SMTP id w16mr4683295iod.95.1590005851709; Wed, 20 May 2020 13:17:31 -0700 (PDT) MIME-Version: 1.0 References: <20200423002632.224776-1-dancol@google.com> <20200423002632.224776-3-dancol@google.com> <20200508125054-mutt-send-email-mst@kernel.org> <20200508125314-mutt-send-email-mst@kernel.org> <20200520045938.GC26186@redhat.com> <202005200921.2BD5A0ADD@keescook> <20200520194804.GJ26186@redhat.com> <20200520195134.GK26186@redhat.com> In-Reply-To: <20200520195134.GK26186@redhat.com> From: Lokesh Gidra Date: Wed, 20 May 2020 13:17:20 -0700 Message-ID: Subject: Re: [PATCH 2/2] Add a new sysctl knob: unprivileged_userfaultfd_user_mode_only To: Andrea Arcangeli , Suren Baghdasaryan Cc: Kees Cook , "Michael S. Tsirkin" , Daniel Colascione , Jonathan Corbet , Alexander Viro , Luis Chamberlain , Iurii Zaikin , Mauro Carvalho Chehab , Andrew Morton , Andy Shevchenko , Vlastimil Babka , Mel Gorman , Sebastian Andrzej Siewior , Peter Xu , Mike Rapoport , Jerome Glisse , Shaohua Li , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Tim Murray , Minchan Kim , Sandeep Patil , kernel@android.com 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 Adding the Android kernel team in the discussion. On Wed, May 20, 2020 at 12:51 PM Andrea Arcangeli wrote: > > On Wed, May 20, 2020 at 03:48:04PM -0400, Andrea Arcangeli wrote: > > The sysctl /proc/sys/kernel/unprivileged_bpf_disabled is already there > > Oops I picked the wrong unprivileged_* :) of course I meant: > /proc/sys/vm/unprivileged_userfaultfd >