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 8D49EA0519; Thu, 2 Jul 2020 23:13:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF1941D8F4; Thu, 2 Jul 2020 23:13:08 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 00C8B1D8F3 for ; Thu, 2 Jul 2020 23:13:06 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 43F685C014B; Thu, 2 Jul 2020 17:13:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 02 Jul 2020 17:13:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= EJjxNbj3kTxxi8+LVMRZTblXQh2B3x3UJeX1Rjb3Kf8=; b=UYIRJMf/UmUCB1hN wDGybhG45VN6fzayS/BJfrOGsttfRDqKpYCSWYg6MjKC5HW3bd9e5Ciu0I5QYcbn 7kAGPA39KfZHise7Hz8fSg/h+DJh+GZLdCArhuUh0XXH5cUbCt8elRBzgyWOEpqd yxEKRyeU4it7T7lnkuiY+eMvfbCci/uEaLmErSylYpELKNTT5Vc67qGkMiK96vVd l875L/WBJumaQIHDSbrz2wj8fqV4RZG4jDVqwNOia581c+7e+/OCF1kBZFnw+ntT Hz0AuZPcgmsMJHBdHPZePI8F67xTOkhimvfokmKtG13IHCCQhtTsGJ85bfKR/sJG a6GGVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=EJjxNbj3kTxxi8+LVMRZTblXQh2B3x3UJeX1Rjb3K f8=; b=mgNEcju+nh3Nu1N8Xyz+Jt6CzfYUAb0sjzAGjKLHkm/eVmY4/AA/PgyQj 1y0wJlslFqXvsXi4r+HqtTbzPo83n9x+QtzDZs0VBlIlXIlgzdX6sbuKKliET3ti wyS8Kt0mkRCMKkmGXPccZ36gp6CFCrwPspiYMwajrKdvmXRJiI9EU+sQopjElLIm o1XUgc/4yqTrKupirej2QcL2RzGFdlqI8p9yAy54cbghgblwl/4+XGoTckokkxdp Vi++LZdAu70DYlh/f6eYPNqG2ODwe4fuXAp0fy9yq5+2o2RiBN9hYH4MWqzYXtjX 5pofxmM3rg33ZbtN77lsVSVyz7fmQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtdeggdduheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1827F328005D; Thu, 2 Jul 2020 17:13:04 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, david.marchand@redhat.com Date: Thu, 02 Jul 2020 23:13:02 +0200 Message-ID: <3999296.XklStIvXRF@thomas> In-Reply-To: <20200622143337.562637-1-bruce.richardson@intel.com> References: <20200618135049.489773-1-bruce.richardson@intel.com> <20200622143337.562637-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 0/4] improve runtime loading of shared drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/06/2020 16:33, Bruce Richardson: > This set includes a number of small improvements for handling the loading > of drivers at runtime using the EAL -d flag. > > It limits the loading of files to only those files which end in .so, which > means that one can pass in the whole "drivers/" subfolder from a meson > build and not get an error when DPDK trys to load a .a file. > > It also puts in some basic permission checking to ensure that no drivers > are loaded from a world-writable location on the filesystem, which would be > a potential security hole on a mis-configured system. > > v2: rebased to fix errors on apply > fixed one checkpatch issue. > > Bruce Richardson (4): > eal: remove unnecessary null-termination > eal: only load shared libs from driver plugin directory > eal: don't load drivers from insecure paths > eal: cache last directory permissions checked There is an error when running devtools/test-null.sh: EAL: Error with realpath, No such file or directory EAL: FATAL: Cannot init plugins