Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4863129imu; Tue, 29 Jan 2019 08:45:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN5wRi+BMLMTVfmY8Pic1l1rl5C0UsPgENTpvKjqZ+csGC6E+BXqVqzDAoFrUcoAie2fsQnq X-Received: by 2002:a63:ab08:: with SMTP id p8mr23877203pgf.87.1548780314173; Tue, 29 Jan 2019 08:45:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548780314; cv=none; d=google.com; s=arc-20160816; b=DcjAtjBzeIvq2TsPX4suaLnn2xK3ypGiFt5lRgcm/3wZaiClfkTLnZmf6ya3Yjt/U/ fxAgOPcnf1zwhidlnNiNk0uJAbkL5CvyDC2Ido6ehNRtCHqB+rxpqmLDKXkTujh4xwN1 9nJ890F+NXTFHZW5LOfoiqWNosMddfPspT/5DQClYYLoVipzUwVjyf1Ise5jkZSt7DKl FCncbR5yBhITErUOa7dxbHYILu6H6NZkWYCRhh1IvjuGTYfURiQN1jjt7itWMorR0135 jDes3MMhw0FSSA2KjE2lMetFjm7R0StBQuG1D9UGXKeMLVqI71fiPVkrWuQW+AucvE1O R/Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=3sYl/7gEMvShHwWIg2qEK89zeqoWynQRLaplUQrrcS4=; b=xQjCEFdIeDo2zxDvhu1V/uw3hMQ0e8FhYITTO/K1CyR1w62mp4CLd68yelsI+lHiMK 2KPPrAdYeFBy2Ps6Zl6jMFc8MGci6kXc5RYHD7xRLgrQ5+McAfa3R61B10+YzMZU221M heSz/wObG1WTFJ83p+NMXIzxShCYV+Os49vgvsT/MHKU0iRV6LtouaGY0Ggj/3W0uwXA CtCKvaoigaOLUKXZDbm9X5tomGdHqxVey19ZP2ZDo170AfLXWeaGkadjfwxgpPed60P8 Uywhzf2c0e73vg1KcFLpL+dUWsqapejeWmDpz2O5YKHI/mv+uxG0ODJUZ/6ATSgdNtNH 70Bg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q140si8632619pfc.20.2019.01.29.08.44.58; Tue, 29 Jan 2019 08:45:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728029AbfA2Qoq (ORCPT + 99 others); Tue, 29 Jan 2019 11:44:46 -0500 Received: from opengridcomputing.com ([72.48.214.68]:34958 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbfA2Qoq (ORCPT ); Tue, 29 Jan 2019 11:44:46 -0500 Received: from [10.10.0.239] (cody.ogc.int [10.10.0.239]) by smtp.opengridcomputing.com (Postfix) with ESMTPSA id B9D0122666; Tue, 29 Jan 2019 10:44:45 -0600 (CST) Subject: Re: [PATCH 0/5] RDMA: reg_remote_mr To: Joel Nider , Jason Gunthorpe Cc: Leon Romanovsky , Doug Ledford , Mike Rapoport , linux-mm@kvack.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org References: <1548768386-28289-1-git-send-email-joeln@il.ibm.com> From: Steve Wise Message-ID: <8cdb77b6-c160-81d0-62be-5bbf84a98d69@opengridcomputing.com> Date: Tue, 29 Jan 2019 10:44:48 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1548768386-28289-1-git-send-email-joeln@il.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/29/2019 7:26 AM, Joel Nider wrote: > As discussed at LPC'18, there is a need to be able to register a memory > region (MR) on behalf of another process. One example is the case of > post-copy container migration, in which CRIU is responsible for setting > up the migration, but the contents of the memory are from the migrating > process. In this case, we want all RDMA READ requests to be served by > the address space of the migration process directly (not by CRIU). This > patchset implements a new uverbs command which allows an application to > register a memory region in the address space of another process. Hey Joel, Dumb question: Doesn't this open a security hole by allowing any process to register memory in any other process? Steve.