Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp821574ybk; Wed, 20 May 2020 12:54:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyd2VtwQO/+HnKNngLjzh/Lxf2sU140mBDylZOYltZOjYLmz5AOYUlpnoxzRG0CDmx2+xJw X-Received: by 2002:a17:906:1443:: with SMTP id q3mr611746ejc.325.1590004442284; Wed, 20 May 2020 12:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590004442; cv=none; d=google.com; s=arc-20160816; b=QoXtJerPIugz9dl4Tzk7PFbPdEUc5b0oKipVX1vby88LUxtvEthYOz+ZwyszI5cxbx 5UDkApVGqCd7U1WkXDN5tuLRjPcWDcMdPG4uy8kWDtJErN+i56hT47tpnHRMr80uH9dJ 2tGdu3+y6ZOGnD0Ei1Dff79hE+gN4LbJxKeSqE5a9qqRQ4Ngxz1c1DKEf0ROwsZIeGtz QfsxlcAPs/IZVsTCJuoWkd1DbqmJz/Z+q+C3vrq+wjNi4/zt8ceeBp7e3NcZFI5NsGEe NBhkjAg6L06n/8yDG7fcAcRjYftDwMy9C0PphEfY4MF06Gt1duddgVjtrv4n4ZbXL8Xb oUhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DGqT6N2646F6LGP9Mud3H6z1mtxuCvYr0HabA03YMfs=; b=xNXI+efpLaC+ul7OgHkR7tn57nr+PJrnphRMftE13xXp1uXhMjKIVgmxDqOp6xSFBM /vETDwJfsnuqJNGt+Fg7yX4YQOdu0R2m5N6s9643RmZCmnLicwuh9kIwlfTNJBfYItrL 1wW0IOyi9gOlXJ36uQCWgRkP0ofUALfpG9UZYfn32ldg4SRqaP3E/5YwR45d/IWYbKqW dnTmiih983VBx5e4sK5gjYDJsebKn0WG1iwGs6tCEXQ2SFwGd04YnnQDFjdLRvDNgoBO +qvH5iD00C3GwQFXWVmWPsIQvMDVqBnztqkKmPvWyP11PDYS75co39//TZNEeApOT4d1 qJZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ceTVpBXz; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc26si1946153edb.219.2020.05.20.12.53.39; Wed, 20 May 2020 12:54:02 -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=@redhat.com header.s=mimecast20190719 header.b=ceTVpBXz; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727037AbgETTvr (ORCPT + 99 others); Wed, 20 May 2020 15:51:47 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:40132 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726818AbgETTvq (ORCPT ); Wed, 20 May 2020 15:51:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590004305; 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=ceTVpBXzbcIRbq2N6tNVulZ/ixHjIyJ6gQDULw2L4NIpApL+SFZNmn477VR1C3iJmBmlKy dOa5aJEflUE6TXypuAv9ua9NidFkSM2CIFQcDJ8smEp5E3BpqU/vjVhAg50mYj/iXWI7Em eddsvmr8WfgV4OVQPsKvVnu0zADDO80= 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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