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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 DAA82C433DB for ; Sun, 3 Jan 2021 14:27:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A1A1F2076C for ; Sun, 3 Jan 2021 14:27:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726693AbhACO1e (ORCPT ); Sun, 3 Jan 2021 09:27:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbhACO1d (ORCPT ); Sun, 3 Jan 2021 09:27:33 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51457C0613C1 for ; Sun, 3 Jan 2021 06:26:53 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id c133so14829278wme.4 for ; Sun, 03 Jan 2021 06:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daurnimator.com; s=daurnimator; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cdyQdxurFTWyieFqx40CmBAoJaRWHmu1pRJJqDh4s5U=; b=JHNprKCEMlJgPWrm5Lf8OKHrWDbu4cEkVI6wyETQU0N7Fi8v5Ypp/+nkY/AH2GR/xs 03HCcW+FEV5VDByHaCH5AKFMjTu24gF7Gq4q8kPosYWDGBO0gm97o3VYffDbTGaInjOZ Sa8FL0FLEOy5wkVQ2SJe2vxdz1vPL9rcg8DYE= 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=cdyQdxurFTWyieFqx40CmBAoJaRWHmu1pRJJqDh4s5U=; b=cj+woPDW/5SAVer6zpsLSF10HDA+cdy1OyzaAB0haDii2QlgRvqgHUTpj2IEBq+VI5 saePV4EVjyqT9zDR3lk7eZHduEc1g/t1mYU5A2IjQHKgrcRcGuhMmVf0fLy/DDo+1mrc GXo7FsauJe4VN8uXPwg9mA4Xn6oCg7B/zp58/QKFkPlRFWCtBuumuN7mrVEeu+H0JGoM 2h6JoVXP9itSXDpeydvOC6oeUC+6PBygpXxMbyDLHwI4ISgDYYpOIHW7iQkepBXJ6o0E YraWrBFCEEBz8eG/YsB2BmNctGH8sgz1yGWKcjR5FYqhiNVNbcV6ERND5TMq1MLG6sTW FmsQ== X-Gm-Message-State: AOAM533Pr4YWdtvF73gSQc2EFhaTlsULXYsgvIRJccKvZ6uSuJW7TlDc ks54+8AzljWv81CziyjZjvufKgN30+LXEAJzTVZxmg== X-Google-Smtp-Source: ABdhPJwFlghKT98/Z0lh6E4GwRePMZJ+jb52otf0aNEGyGaXkWUSRiOfpQxV7ZsIBGH2niNmnsTYvIahv/eJODbOWn0= X-Received: by 2002:a7b:c8da:: with SMTP id f26mr23264936wml.50.1609684012066; Sun, 03 Jan 2021 06:26:52 -0800 (PST) MIME-Version: 1.0 References: <20200827145831.95189-1-sgarzare@redhat.com> <20200827145831.95189-3-sgarzare@redhat.com> In-Reply-To: <20200827145831.95189-3-sgarzare@redhat.com> From: Daurnimator Date: Mon, 4 Jan 2021 01:26:41 +1100 Message-ID: Subject: Re: [PATCH v6 2/3] io_uring: add IOURING_REGISTER_RESTRICTIONS opcode To: Stefano Garzarella Cc: Jens Axboe , Kernel Hardening , Christian Brauner , io-uring , Alexander Viro , Stefan Hajnoczi , Jann Horn , Jeff Moyer , Aleksa Sarai , Sargun Dhillon , linux-kernel@vger.kernel.org, Kees Cook Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Fri, 28 Aug 2020 at 00:59, Stefano Garzarella wrote: > + __u8 register_op; /* IORING_RESTRICTION_REGISTER_OP */ Can you confirm that this intentionally limited the future range of IORING_REGISTER opcodes to 0-255?