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=-3.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, URIBL_BLOCKED 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 CAA45C433ED for ; Wed, 19 May 2021 15:18:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A2EF8610CD for ; Wed, 19 May 2021 15:18:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354324AbhESPUQ (ORCPT ); Wed, 19 May 2021 11:20:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354376AbhESPUJ (ORCPT ); Wed, 19 May 2021 11:20:09 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12376C06175F for ; Wed, 19 May 2021 08:18:48 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id i13so15801225edb.9 for ; Wed, 19 May 2021 08:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2+/4m4rfJ/qusBu6xKLeqSfoq/WhFXeBjZFbets1dms=; b=L1dTZ/cejTl+mgSkbTA6g3xoBK1uVV3OJBQYenHp/RsDHmtHbJH61VtRY/tS2t9i2v 6rG/tuZPjwK1A36hZ+ZFrO02elZzCn0m6ck3ZEXouML3ey2StNCu3+0X7DXjif36uQGj 1D0bU8X/8Sx9Y+dqTtv51adgzo5SWy1LVnKIN2qg6D6Tc/OTHkw3sQQiyOLnPp+hWGMc CH2HLX/oWClPhnOEH0OiBAtPOukmLfjLyQIR2fApxy0sqctGF0OUvNi3xBcJX4lAXdIG OB3zli27dx9nzBvlk936qedg9Y//j1IiyOMJWaCzkvGJplG6k3DLinY5tU5hP8CldXVc b/nQ== 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=2+/4m4rfJ/qusBu6xKLeqSfoq/WhFXeBjZFbets1dms=; b=WaLULTpxYmQiF0ylfNTgbfuAaZjAd7Qkj5FPB04+KsvjHEuv5yIxYIlx8L96Z3wMrk ZZ+J6KOIRHCyouDSPFNEV7Gy0NVN5gSqX5cfy9MoFZ4FO7Zk65Xmbyti0489d1FVY+vk t6Pul0D5QrORlxrBh6FNtzLuJEPOtz3bApFKVklFc3mjJPok+OqhuoUCCdrkQLE5BObu mxEvrpxQ6FKJND8+lKtkf5osPQG4b/SMZhCbcocXrkBJ7IV/iAGmagQOZPEfLIbMlm17 Mb6uVvkehuVjwS2sHkVkpTd6diVGAnMjrnVwRdJweyX6OeandM3lS1Pcr23Sr0hEjdSv zPcQ== X-Gm-Message-State: AOAM532awI2gZeoLvI2BA6MNnLjpYWctfnp4WMfpHpz1W66MbryiNZZJ kQ/id20HSNpUGxgm5Vde3ZgnogcMqeHdwCdx4o/u X-Google-Smtp-Source: ABdhPJweTp1Zx0DSC45lRP2AIkDyyygfjOr7HW1yUjrFHA4wGjuIWy4HGyTLZRX5S/SFeMSmMrf9Vm79x2hCKHCyc3E= X-Received: by 2002:aa7:c349:: with SMTP id j9mr15031390edr.135.1621437526510; Wed, 19 May 2021 08:18:46 -0700 (PDT) MIME-Version: 1.0 References: <20210519113058.1979817-1-memxor@gmail.com> In-Reply-To: <20210519113058.1979817-1-memxor@gmail.com> From: Paul Moore Date: Wed, 19 May 2021 11:18:35 -0400 Message-ID: Subject: Re: [PATCH 0/2] Create io_uring fd with ephemeral inode To: Kumar Kartikeya Dwivedi Cc: io-uring@vger.kernel.org, Pavel Emelyanov , Alexander Viro , Jens Axboe , Pavel Begunkov , Daniel Colascione , Eric Biggers , Lokesh Gidra , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Wed, May 19, 2021 at 7:37 AM Kumar Kartikeya Dwivedi wrote: > > This set converts io_uring to use secure anon_inodes (with a newly allocated > non-S_PRIVATE inode) for each individual instance. In addition to allowing LSM > modules to enforce policy using the inode context, it also enables > checkpoint/restore usecases by allowing mapping the VMA to the open fd in a > task. Offset is already available to determine rings mapped per region, so this > was the only missing piece in establishing region <-> io_uring instance mapping. > > LSM tie up has been left out of this set for now. This brings to light something I have been trying to resolve for a little while now, but I have been finding it difficult to find the necessary time due to competing priorities at work and in my personal time. While the patches in this patchset are a necessary dependency, there are other issues which remain unresolved but which are now public (although the problems were not buried very far in the first place). Further complicating things on my end is that the system with my current work-in-progress patchset was taken offline two days ago and my office is under renovations :/ Give me a day or two to get the patches off that system and I'll post them here and we can start the process of kicking around solutions that work for everyone. -- paul moore www.paul-moore.com