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=-7.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, 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 AEACEC433DF for ; Wed, 26 Aug 2020 16:47:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8A3132078B for ; Wed, 26 Aug 2020 16:47:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="zSSLNQs+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbgHZQrq (ORCPT ); Wed, 26 Aug 2020 12:47:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728213AbgHZQrk (ORCPT ); Wed, 26 Aug 2020 12:47:40 -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 03D14C061757 for ; Wed, 26 Aug 2020 09:47:39 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id g13so2801069ioo.9 for ; Wed, 26 Aug 2020 09:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=knubijAt0jlcEgyfGnp3DjNef2Zkl9PnsPdwfFoIfEE=; b=zSSLNQs+V1I4LENOdushsj3nmnFYyqaQdhtY5oY/Xt286k3qGUQkI26czvfppN49LX o3Tp4yTmeV5j/D62zFr+TZuZSAvYv005z7/th9LrEbutQHP1CwTihB/xVI7k6JoZyaHp lWDxEUGFmqx3gxPUDHBKylXtpbMwlh+un+m7DU0q3tJFNZofLUWtXKiZ9GZET0F5tVTY fYDAShfuEIZPjMnRUBcpC8JYIDOljcBdpY5bi4kGbq9JOcHt1TSgVWnjjmPKuQXIJMXe PSBxzsnrt7YBgW5E6P92+1x5UVOk2AELav7ofZ3IFlYkZ/pTRhRCbbBFCZOLrK7oMuDQ TdMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=knubijAt0jlcEgyfGnp3DjNef2Zkl9PnsPdwfFoIfEE=; b=NlfILtaVBVJDg1Y7QAlOmUb3/ggGWZK+sHgPM0rJ1BBgZO/oeoaz5AQEW8NSstjCTe fq+B5ocEuEYRbpoTUDyBKrJpzmPToyv2xmwURf8Ty7IV4q1cn2CxOi+Da0DbPrOtb9nN BKxCJGj6D5NyayrDmhzA/W8aeek3vwJ2wFtxTLrQZwNWNCFaHKxQGNLeHZtBY2Zml5Li ddcuTjdXgc8lZlpSZ8KrWqyKfad6HWzzDTQHfJVsFz3n5UY1RclOa/Mqwz3d8/pPEnE0 FJ0Jl82X9wFjQlSS6j6WCcJ2UkvFFqS30nKWqjJ4llIoESa0vD87GUyHdnzroLX5zGww jWVQ== X-Gm-Message-State: AOAM533Nmb5cEhUuwpy1YqwD3ay1SKDj9nc1x7kZzc7qwsYzE2DOzhNO M4l7k92HOi/LIV+EBA72QG+2yLId/MLsdcns X-Google-Smtp-Source: ABdhPJw6tqipY5aYgIN5ObL9GNtF7hYUHQ1OYqLEU+5VRRsLKuPz0AHe/fnvaAJIPrska52FeW4ZcQ== X-Received: by 2002:a05:6638:248e:: with SMTP id x14mr15661824jat.135.1598460458830; Wed, 26 Aug 2020 09:47:38 -0700 (PDT) Received: from [192.168.1.58] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id o2sm1688208ili.83.2020.08.26.09.47.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Aug 2020 09:47:38 -0700 (PDT) Subject: Re: [PATCH v4 0/3] io_uring: add restrictions to support untrusted applications and guests To: Stefano Garzarella Cc: Christian Brauner , Jann Horn , Jeff Moyer , Linux FS Devel , Sargun Dhillon , Kees Cook , Alexander Viro , Kernel Hardening , Stefan Hajnoczi , kernel list , Aleksa Sarai , io-uring References: <20200813153254.93731-1-sgarzare@redhat.com> From: Jens Axboe Message-ID: <82061082-42c8-1e1c-1f36-6f42e7dd10cb@kernel.dk> Date: Wed, 26 Aug 2020 10:47:36 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 8/25/20 9:20 AM, Stefano Garzarella wrote: > Hi Jens, > this is a gentle ping. > > I'll respin, using memdup_user() for restriction registration. > I'd like to get some feedback to see if I should change anything else. > > Do you think it's in good shape? As far as I'm concerned, this is fine. But I want to make sure that Kees is happy with it, as he's the one that's been making noise on this front. -- Jens Axboe