From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44934C433DF for ; Wed, 20 May 2020 19:51:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1EE3D207D8 for ; Wed, 20 May 2020 19:51:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ErpO1UYI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbgETTvt (ORCPT ); Wed, 20 May 2020 15:51:49 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:47825 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727044AbgETTvs (ORCPT ); Wed, 20 May 2020 15:51:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590004307; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DGqT6N2646F6LGP9Mud3H6z1mtxuCvYr0HabA03YMfs=; b=ErpO1UYICPGan7xj2EApeJTvzVhnBaXZ6WznerCL4MG4f1AI2bKtWW03Ex2sl2M6JXvfyd 9HnobsrlZYUOjjmEUBfozHdJ6pTmnjMXKRRUmha5xW/v9MbBkBgRLJYoRQqB7bPFHlgiSO RnkFChxezvWhxXJqXIEZqjeJ9nxsNCg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-21-u9D7PshUPEW-i_Xv7M-7qA-1; Wed, 20 May 2020 15:51:43 -0400 X-MC-Unique: u9D7PshUPEW-i_Xv7M-7qA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C601D107ACCA; Wed, 20 May 2020 19:51:40 +0000 (UTC) Received: from mail (ovpn-112-106.rdu2.redhat.com [10.10.112.106]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2D2634739F; Wed, 20 May 2020 19:51:35 +0000 (UTC) Date: Wed, 20 May 2020 15:51:34 -0400 From: Andrea Arcangeli To: Kees Cook Cc: "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, timmurray@google.com, minchan@google.com, sspatil@google.com, lokeshgidra@google.com Subject: Re: [PATCH 2/2] Add a new sysctl knob: unprivileged_userfaultfd_user_mode_only Message-ID: <20200520195134.GK26186@redhat.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200520194804.GJ26186@redhat.com> User-Agent: Mutt/1.14.0 (2020-05-02) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org 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