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,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 8E2FDC4320A for ; Thu, 26 Aug 2021 19:14:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A92161052 for ; Thu, 26 Aug 2021 19:14:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243426AbhHZTPD (ORCPT ); Thu, 26 Aug 2021 15:15:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243419AbhHZTPC (ORCPT ); Thu, 26 Aug 2021 15:15:02 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60997C061757 for ; Thu, 26 Aug 2021 12:14:14 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id n11so6188867edv.11 for ; Thu, 26 Aug 2021 12:14:14 -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=rx0FUZ0y/4cX/RB/wrUdWs+Xu2SixTxkAb51quz7jo8=; b=gnWwUt3JdlTv8VP9sot3kjTMSbk6xwqrxgCgHZylW8hKKqckrTGkz0muKu4CBOEHn7 wG6JLCceDpcYIpIo5EF/oBtz+SiHUfn/Qa909EqNs0kW2jo1foPRy+rCIamGkla+QT9S 6ZM1JxJVo1tT6oeX8u3OUOeJJ6zaEf9Q28JJhmMaDgCglfm2bOtEn5qjrgtqpVaucGdZ LI267o4R1RTs5O4tS2zWmwEQpTA9ZAmgRK5EU/B9I4xcBeINEDvGPQMGe0vPsT70C/HL OVy77vIjlo6NdxsB4/rJ5nTmgISGdu1vTD12Avv/kDgks2NHFxXy86bmK5+2Y3hrWB1F irSw== 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=rx0FUZ0y/4cX/RB/wrUdWs+Xu2SixTxkAb51quz7jo8=; b=CUKQES4G43n3BbS4fzMG1LJibg6W19ehAbm/7tdTZ94tG6w77xaoA22OyruaKd+vYQ oEzNPTy2SNukIj2Bi0KpsDHAWixXVmI5sIPDw/qRpdS13gV+Zw96hKVl4ep5rwKWOL3L rtFb6qawNQvUA9Gka66No1dFMGsdGR7kLZ2FsQIUBF9rhsnsPP2U4Ta02nI/izyRLC/d 0EBYL0HE1N88+6RBZfsIJuVemXh74NOMitClXsMerjySqdEykMn972abrgnqSNZXe3ZD /C4BTyI1MqS/fE90Fnykhc+5TnfwHeBVpMFHtkvIXHvKmqQoNRJjhMyoj0RbfgwgSrwF oPPA== X-Gm-Message-State: AOAM530XjRjK8Pp1jTt235Bv96nSKptQFC/da8Cg7rJdsI2/OzFvKXu2 Ue82Bc5JAoq4JWvv6GvRb9Js6y6oeMNTJx0snRr3 X-Google-Smtp-Source: ABdhPJwW5wBqVh+ZTgsyTSWJmX+Kmrj84VmvqS9Yc/10HktwgbbDnwLo41tBgtnkP5vc5wtH1HUiC5RxqSWTlGMKY1E= X-Received: by 2002:aa7:d9d2:: with SMTP id v18mr5927880eds.128.1630005252910; Thu, 26 Aug 2021 12:14:12 -0700 (PDT) MIME-Version: 1.0 References: <162871480969.63873.9434591871437326374.stgit@olly> <20210824205724.GB490529@madcap2.tricolour.ca> <20210826011639.GE490529@madcap2.tricolour.ca> <20210826163230.GF490529@madcap2.tricolour.ca> In-Reply-To: <20210826163230.GF490529@madcap2.tricolour.ca> From: Paul Moore Date: Thu, 26 Aug 2021 15:14:02 -0400 Message-ID: Subject: Re: [RFC PATCH v2 0/9] Add LSM access controls and auditing to io_uring To: Richard Guy Briggs 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 , Pavel Begunkov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Thu, Aug 26, 2021 at 12:32 PM Richard Guy Briggs wrote: > I'm getting: > # ./iouring.2 > Kernel thread io_uring-sq is not running. > Unable to setup io_uring: Permission denied > > # ./iouring.3s > >>> server started, pid = 2082 > >>> memfd created, fd = 3 > io_uring_queue_init: Permission denied > > I have CONFIG_IO_URING=y set, what else is needed? I'm not sure how you tried to run those tests, but try running as root and with SELinux in permissive mode. -- paul moore www.paul-moore.com