From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D232BA04C0 for ; Thu, 17 Sep 2020 16:47:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B265B1C11E; Thu, 17 Sep 2020 16:47:52 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 0E2AB1C11E for ; Thu, 17 Sep 2020 16:47:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600354070; 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=m5oA/lTizMSag2TTKMrNDtUi5xiWtpcDHYIVKlbdEYg=; b=KhVpVKMnuxqQgvWfpsfKvRJ5px8ytAykkPCFR8oPWBzNtLhhzqWVCNWuXdQ+Tptedmpo/h ODggucYAwUV8N0nmw5qNJoz/l6yMnxs8riecoXmHpjZ4SqFeZntj9QDyFzqYvnqs90Q2xF SV8LabdsN6RrVbcXSG29hs8SivEiYuc= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-305-O2VbbcIfPGSs2jpnXNLFew-1; Thu, 17 Sep 2020 10:47:48 -0400 X-MC-Unique: O2VbbcIfPGSs2jpnXNLFew-1 Received: by mail-vk1-f200.google.com with SMTP id l24so584776vkk.2 for ; Thu, 17 Sep 2020 07:47:48 -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=m5oA/lTizMSag2TTKMrNDtUi5xiWtpcDHYIVKlbdEYg=; b=kap59HIvTJtFDOOqUUv0sK+H6SXz4yZiFptMH/TVBxdbRg/EwPysE/YOf1ESdSKNv+ cnUmm8WIeKxP9IQjIfS+v5DePLeOtJXIPxKnl94R0poV8xgm6Az6LxOO4onVv8F81mM/ oHJ9DUMSGPW/XCssQO1DHYAXuKVTz8Jic2tH138paU8cJql4ZQsIdqg4sXY0TXmVQGAa 9SQHENiuIX2GFgWRtC/TQsoPgoMBtZhw+MS6VxTuiNZYRFOk5tYM+PXYXsoXGBZ4rAes qdFuqZ84jP05FHxnuqxMawFnfE0Xe4QJVtIq6tVafkKYfWDsON3NuqeDKGG+jimSxkhT 6Bvw== X-Gm-Message-State: AOAM530JU/wVCjHyPTS7ByK481XEtWig67rrPa5d0HVKOeHii+8lmVl6 jRPqSoyVqAu4HZXOB69GIWD5u+SwxxVaKrpgab5wsmm2wRXqGA/rAGocnTlH/cHVdhbRk8N/RLO QSYGLoZ2zUWkfKCta88nUPLQ= X-Received: by 2002:a05:6102:20e:: with SMTP id z14mr17319421vsp.17.1600354068419; Thu, 17 Sep 2020 07:47:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUEGh41eYA+9gkt14r6AXeXzkNXYMGr887HoguOB+bBw1OueSEjgrsMudrQoPzJv7GXGk1JPGDWGmLZYC8R3Q= X-Received: by 2002:a05:6102:20e:: with SMTP id z14mr17319401vsp.17.1600354068179; Thu, 17 Sep 2020 07:47:48 -0700 (PDT) MIME-Version: 1.0 References: <20200910162407.12669-1-david.marchand@redhat.com> <41283b3a-5591-da2b-dea3-f069248d3265@intel.com> In-Reply-To: <41283b3a-5591-da2b-dea3-f069248d3265@intel.com> From: David Marchand Date: Thu, 17 Sep 2020 16:47:37 +0200 Message-ID: To: "Burakov, Anatoly" Cc: dev , Maxime Coquelin , Sebastian Scheinkman , dpdk stable , Aaron Conole Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH] eal/linux: fix memory allocations in containers+SELinux X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, Sep 17, 2020 at 4:17 PM Burakov, Anatoly wrote: > Anonymous hugepages shouldn't matter, yes, but single-file segments mode > does fallocate() and remove - you have the remove part covered, but i'm > just curious if fallocate() would also cause any issues with SELinux. I found no hook in the kernel for fallocate + selinux... Looked into fallocate itself and it ends up validating lsm write access on the file. I don't have the full setup atm but since I could truncate and write to it, I'd say we are good. -- David Marchand