From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66B57A056E; Wed, 16 Nov 2022 18:52:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 553AD40E03; Wed, 16 Nov 2022 18:52:54 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 4232B40DFB for ; Wed, 16 Nov 2022 18:52:53 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id b1-20020a17090a7ac100b00213fde52d49so3123435pjl.3 for ; Wed, 16 Nov 2022 09:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Qg5/Oo6+sQtAyjmBEsu+d4R8/By8rgVA/9l5DxnR8M8=; b=g1u5YNmd55LDa4uhIT+RXh+uPJhZiuMZ9XoUzjgMg7OUajQ8pxMGhSQ2Bpp1Sw3mzn gtWnEyEncNdXoNGFT79LW/wwCFbVqDfwhCLoEdISJOjlmNo0/fh+UFqQxuWKDmtD+Hec K1eLf9cX1LRaVHK00aTYxKApkkjrBx/2nQRh2a/UL0EyohakUlrZ/jYpYDNkqoUyfgD/ ocprzhcazNudYhn13I3gQp8j3ZihG8dHAaGufW6op+Ai79jjiPD2nhO+/mb1oDoe+hHt 1mPHFiKnLsi9JgkH2DEy5SbzwGPE2+as9sWfuCeYT7IJRAFFNVb/8v5ZBP9JJPBplo8j rusg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qg5/Oo6+sQtAyjmBEsu+d4R8/By8rgVA/9l5DxnR8M8=; b=DlhKSrH45mRBtZ7Iu/a5XBML7i/xoj42mgJjK1dUJs2DR0JQGxdLSdJXfDpFlwzqHN srsiJH1gUOSnmwgWqF0hS9XpIDSHlTvGAxkj22UGgXhgk7V/fh9jL1G3VYjBTZphQIo2 XocssDPE8EMEXnAPIu5ik91vb0hurvWchCxWnJzn8NIBfNMUh23Q0lntbflvPjdgH9Hr XOEH94sRPlnegUZx6vzwLOIZr+yx4UmuR8HyZZaeqMrmgebrQnFyBcioujI+J6EX0gbR OavVSatYml0nYYRnEQdlE43DJ94sCnAundzv4TACz6eXQlTtIoncn/pKDw8dq/V5RG4j R1FA== X-Gm-Message-State: ANoB5pldMhp/2aVjmNYU7EcCfUyfHrbqi1ZV+PJre8VZwy6N8kOoXWcv 4rOGL425z89WuYttBt4sPQPsf4way7bR/Q== X-Google-Smtp-Source: AA0mqf77Tqrr77vBB07yIsIZn02tMdV/LLsqvAxwoFKKWeha+iDlrPLCr6xHRRKV0aEPynF7RkcNbg== X-Received: by 2002:a17:902:c94f:b0:188:712f:dfa5 with SMTP id i15-20020a170902c94f00b00188712fdfa5mr9619040pla.140.1668621172475; Wed, 16 Nov 2022 09:52:52 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id m2-20020a170902768200b00172b87d9770sm12549640pll.81.2022.11.16.09.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 09:52:52 -0800 (PST) Date: Wed, 16 Nov 2022 09:52:50 -0800 From: Stephen Hemminger To: Junxiao Shi Cc: dev@dpdk.org Subject: Re: [RFC PATCH v3] net/memif: change socket listener owner uid/gid Message-ID: <20221116095250.552b7cda@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 16 Nov 2022 17:14:13 +0000 Junxiao Shi wrote: > This allows a DPDK application running with root privilege to create a > memif socket listener with non-root owner uid and gid, which can be > connected from client applications running without root privilege. > > Signed-off-by: Junxiao Shi Looks good, hope you tested this with the example. Acked-by: Stephen Hemminger