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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 27047C4708B for ; Wed, 26 May 2021 18:49:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 114D3613BE for ; Wed, 26 May 2021 18:49:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234215AbhEZSvI (ORCPT ); Wed, 26 May 2021 14:51:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235747AbhEZSuy (ORCPT ); Wed, 26 May 2021 14:50:54 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B90E2C06138E for ; Wed, 26 May 2021 11:49:20 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id i13so2733245edb.9 for ; Wed, 26 May 2021 11:49:20 -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=eUw5EWsm6YpLZJa7t+q5jtkegb7JzdC7cLbi2HaDaSY=; b=Qa4+2I8bj+Rl4uorvYi/14nmt2vKj6hYAl7zSFojW6Kt3Nt8daf6Gpm4ZJJgyUNFWI xkCMAKH5NW4fxSZHUxXVEUeZGqV3qAKmIt2X/M0TvaEJyVLwexIv0T21EVajyvyO6nub PUaOy9tS3C89//WbcyVRpE6YWPS+N7CBNALIqPZJa7o3+FX7M8Hu2Ysql1iwx/TdO6E+ WNikm8vzY9a+WHq+pwjhS03/CounnEJ3vgkX1e9x2Njpf9ls33p53q9xTOmQDxxF2901 TEpQTn2TGh9aaLRKw0gbUCJR8ualRB1k8OmjD8DD5IRGpzz6W0AAUVJhXX3DTE7R0ivF u5+A== 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=eUw5EWsm6YpLZJa7t+q5jtkegb7JzdC7cLbi2HaDaSY=; b=KSIqANGev3Q1Qx8gpTK10A0dyUSh3OC/iInlQpH5VK3nu0EEnPOqy6RHN/3cNMd58p 7I7pm2EM3U9374ewT36onqPBbF9ZhEc8jxmdwDu5LRtsBCEb0cAtudG4ZU3lfvI0nPnl yLFfRSooqU2cWGofAcWq6tGdjx32uCMYqTsRttYQN6YqZVUb03k+1xMGOjG2fktYJubS ZVsUqLQZG87jGUEWIXEBmNrGwKWODb8bIv0zeVNnG+1uhZ8zbNtsHRAU04Q2EIOVeY52 FQq4l2mb1emkff3Z555bEG5uLArLF6wUDGzoXW8kD18vnLLkT6cknK0shYzRumB0PdfU LSXw== X-Gm-Message-State: AOAM530CNAe/JvfhaccL7kYsihqeM9w1kAn337xDZO8X3ZC4HXS9J84D r7n9fW6NlTVtQEAB0WtOGdIPAJ10UmalIElMTsvC X-Google-Smtp-Source: ABdhPJwv0Uq8DQfJkDvdzA4OniOiI+rWA9eT/CLl2cGg/DPPNpGOFUfGKO6SZKb3UqHq3VqSm/joAe+wfqQshG0/qkY= X-Received: by 2002:aa7:cb48:: with SMTP id w8mr39405253edt.12.1622054959225; Wed, 26 May 2021 11:49:19 -0700 (PDT) MIME-Version: 1.0 References: <162163367115.8379.8459012634106035341.stgit@sifl> In-Reply-To: From: Paul Moore Date: Wed, 26 May 2021 14:49:07 -0400 Message-ID: Subject: Re: [RFC PATCH 0/9] Add LSM access controls and auditing to io_uring To: Jeff Moyer Cc: linux-security-module@vger.kernel.org, selinux@vger.kernel.org, linux-audit@redhat.com, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, Kumar Kartikeya Dwivedi , Jens Axboe , Alexander Viro Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, May 26, 2021 at 10:59 AM Jeff Moyer wrote: > Paul Moore writes: > > > Also, any pointers to easy-to-run io_uring tests would be helpful. I > > am particularly interested in tests which make use of the personality > > option, share urings across process boundaries, and make use of the > > sqpoll functionality. > > liburing contains a test suite: > https://git.kernel.dk/cgit/liburing/ > > You can run it via 'make runtests'. Thanks Jeff, I'll take a look. Quick question as I start sifting through the tests, are there any tests in here which share a single ring across process boundaries? -- paul moore www.paul-moore.com 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.8 required=3.0 tests=BAYES_00, 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 4305CC47082 for ; Wed, 26 May 2021 18:49:35 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 90B31613BE for ; Wed, 26 May 2021 18:49:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 90B31613BE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=paul-moore.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=linux-audit-bounces@redhat.com 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-173-ZiuZZYMdOjeganGhLjQ1TQ-1; Wed, 26 May 2021 14:49:31 -0400 X-MC-Unique: ZiuZZYMdOjeganGhLjQ1TQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 37A081007477; Wed, 26 May 2021 18:49:28 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D74525D6D3; Wed, 26 May 2021 18:49:27 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 9D380180B463; Wed, 26 May 2021 18:49:27 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14QInQ4Y029316 for ; Wed, 26 May 2021 14:49:26 -0400 Received: by smtp.corp.redhat.com (Postfix) id DB67A109950; Wed, 26 May 2021 18:49:25 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D7218108463 for ; Wed, 26 May 2021 18:49:23 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 27441101A55F for ; Wed, 26 May 2021 18:49:23 +0000 (UTC) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-586-3WArskFdNNy7OK8mBcRWwQ-1; Wed, 26 May 2021 14:49:20 -0400 X-MC-Unique: 3WArskFdNNy7OK8mBcRWwQ-1 Received: by mail-ed1-f44.google.com with SMTP id i13so2733246edb.9 for ; Wed, 26 May 2021 11:49:20 -0700 (PDT) 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=eUw5EWsm6YpLZJa7t+q5jtkegb7JzdC7cLbi2HaDaSY=; b=mQQNxsrirE+p5p2AAiriXAhjJM6SER6oZxE3RuBNN7VP+Xk3WcA69J1+qD1gJfH4Ig 0P1wUkC+IZnrfOQxxNlO8VQgFrI6nUefZV2hRUWxO6mCvWNfHpoNwNfFGGNJ2Lt0Ktc5 fU786mBEOPYpp2OZrz2AbLusYBkelRcyN7H+UHcrjPN9pO1U5F5Io+22rUQBQHLjzOlr t0Y3VCE5F/6uqEaaj/uyG6dRzBs6hBMio5lrLl744bRLDSbnzwb02S7KrG981FzfrkGE fR4gmSkgf+yYno1B6fqC0hbBc++ahKMMqApy83JdLc0pphja+MZ8c5EqQLJ4CnRYXAld KE5g== X-Gm-Message-State: AOAM532LDc6w4LYRo8jSogRXlugxmFlcoOMrOoM4slbABM1WX49fdyDy P1Q1/0sC8H0K4ox/mEupZtToQDrci0gBkqO6vd5R X-Google-Smtp-Source: ABdhPJwv0Uq8DQfJkDvdzA4OniOiI+rWA9eT/CLl2cGg/DPPNpGOFUfGKO6SZKb3UqHq3VqSm/joAe+wfqQshG0/qkY= X-Received: by 2002:aa7:cb48:: with SMTP id w8mr39405253edt.12.1622054959225; Wed, 26 May 2021 11:49:19 -0700 (PDT) MIME-Version: 1.0 References: <162163367115.8379.8459012634106035341.stgit@sifl> In-Reply-To: From: Paul Moore Date: Wed, 26 May 2021 14:49:07 -0400 Message-ID: Subject: Re: [RFC PATCH 0/9] Add LSM access controls and auditing to io_uring To: Jeff Moyer X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: linux-audit@redhat.com Cc: Jens Axboe , selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-audit@redhat.com, Kumar Kartikeya Dwivedi , linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, Alexander Viro X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, May 26, 2021 at 10:59 AM Jeff Moyer wrote: > Paul Moore writes: > > > Also, any pointers to easy-to-run io_uring tests would be helpful. I > > am particularly interested in tests which make use of the personality > > option, share urings across process boundaries, and make use of the > > sqpoll functionality. > > liburing contains a test suite: > https://git.kernel.dk/cgit/liburing/ > > You can run it via 'make runtests'. Thanks Jeff, I'll take a look. Quick question as I start sifting through the tests, are there any tests in here which share a single ring across process boundaries? -- paul moore www.paul-moore.com -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit