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=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 47AF6C47082 for ; Wed, 26 May 2021 19:06:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F738610A5 for ; Wed, 26 May 2021 19:06:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232363AbhEZTIG (ORCPT ); Wed, 26 May 2021 15:08:06 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:21646 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235459AbhEZTHz (ORCPT ); Wed, 26 May 2021 15:07:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622055983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BZqUwqjGW3WLLcAH5VB99cHVcOFBx82D59nWRgjzEto=; b=AYgDt2wKTjzJCC7CFdgrOrxs7W9sS+yjCa2kGVurcubAhwHQmwwQEydBNlyJRzY14ubBiU e4JZUeXuKjY8nhhxVldO2/wklDB/MtL/Kma16iiBMS37PCTxWsX88ZiLBkg5WqH9L3CwRU MsZ4cnrkZG71+eg1HHdcMdXLeibe2nY= 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-494-AA6dRXc0NXCsONS8bFLB5A-1; Wed, 26 May 2021 15:06:21 -0400 X-MC-Unique: AA6dRXc0NXCsONS8bFLB5A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B285B19251A2; Wed, 26 May 2021 19:06:19 +0000 (UTC) Received: from segfault.boston.devel.redhat.com (segfault.boston.devel.redhat.com [10.19.60.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 86FCE5C238; Wed, 26 May 2021 19:06:15 +0000 (UTC) From: Jeff Moyer To: Paul Moore 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 Subject: Re: [RFC PATCH 0/9] Add LSM access controls and auditing to io_uring References: <162163367115.8379.8459012634106035341.stgit@sifl> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 Date: Wed, 26 May 2021 15:07:09 -0400 In-Reply-To: (Paul Moore's message of "Wed, 26 May 2021 14:49:07 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Paul Moore writes: > 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? Yes. At the very least, this one: test/across-fork.c -Jeff