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 139C5A00C2; Thu, 8 Dec 2022 17:26:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F336640E28; Thu, 8 Dec 2022 17:26:06 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2047.outbound.protection.outlook.com [40.107.96.47]) by mails.dpdk.org (Postfix) with ESMTP id 3EEE440A7E for ; Thu, 8 Dec 2022 17:26:05 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W0GeaGt4Ffq3W+DsaOyu4N15uCz1t5tbqUMkKzMIV9fsN51KmRNE8uj4OijHRszV8zq26o78cokNYnpzYlYq8v+YQkLiIFS3JkjXIkwpLu3JH10eKkQL4vWlTqUMd7XBuljOmuXuuZwgtDEUmtcCRsIABkngdCJm3WWqdMt8k6z3tZ3JXXRTsxadwrjjEFFxYiDkq32fHIS3+sD+r4ZAg9fN006mJ2es6NVG333EYFWhA4fzYNvHXZf5ff1p3fkNpcjfqJNCb5ecMOXz5LFRoQYsLtCN3iv7mOrk2HbRZwtDWbt56Y63BqwNUoD/L+ccG95UQmjS/1ERhnkZKpsY+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FlUnTjawValYJKQgPGStCiECOdmv82ia2CAPfuDuQCA=; b=XbLHNdyTL3ZFi0IHGOzAODVYxL0Ekftc6jLHy0MK9bkPo4E9t7EWSURR2I/htmA2MwL3QV/Eh5Rf3slvqraxIJC3MapFpg0k5aXDPYDrFjiOf8WST7Jg7s0ul8XrGd8HBmlt9QgKMkmYWTIbBm4AVb/RVI+sx5xnJpHpKaxZrUIYlNDLxYZDuJsxAtZUK+ElIr1euXpmA51YGf8UUpr10ID8WLyVz7WBEoW7Tfo7ZqvVgO2XLGTpjjC8yTWifufdURFdIg1PKO86Hi0jq75QDnjRzE8OLQlwuTzgGcnSACshqMoLR9RcO+YHMkdJ/YLbEXAuOWnvUNtAaR+okcY+qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FlUnTjawValYJKQgPGStCiECOdmv82ia2CAPfuDuQCA=; b=mH5YMyrj3NsM0BwYgiR1b0akkl5frKCsansJpsHxH1MC5lEu5+E/7jZiydA+Tbt8DUUvxrDJaLw5pDQelV5xcy+mEtTIKm7XVOXuysYjqPogqWXSFK/WdevTAw4h+4egs+VowtKu+yvzKoarumAjZnYwxqi38uX2Rtt2DVVC6TQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DS0PR12MB8344.namprd12.prod.outlook.com (2603:10b6:8:fe::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Thu, 8 Dec 2022 16:26:02 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::b482:d5bd:c7d0:3842]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::b482:d5bd:c7d0:3842%8]) with mapi id 15.20.5880.014; Thu, 8 Dec 2022 16:26:02 +0000 Message-ID: <10ebf754-f656-8eae-21b0-538e071799dd@amd.com> Date: Thu, 8 Dec 2022 16:25:55 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v3] net/memif: change socket listener owner uid/gid Content-Language: en-US To: Junxiao Shi References: From: Ferruh Yigit Cc: dev@dpdk.org, Stephen Hemminger In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0210.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:33a::13) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS0PR12MB8344:EE_ X-MS-Office365-Filtering-Correlation-Id: 107afc51-b2c4-4521-9604-08dad938e576 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AajXNZdAoyws8w5MWXVIFT3Wcp4k4DNgKPnpjKPfvz9qQDDDwncYMfu3WkvL8qCvhv4m8EYVDVioGkY9ecf6R3/r6mzQeITVNPaafjg1jHYpupisITLOL+kwrznlESL0XJcm6Y78gQd5Xg55lvarctw/yQC2x7P/P08nVFu7t+T3GT19wlIk8dKhvE3XYEf2p6ZiUgKn/PLls8bdPjzBYVEtdnUUrLkzgKi3leB+G8nmuwkUGyhccTCkvEPEDQQXPqodPOid/uyq9Kyox7SduAJoDOjIyuhsOmYEtUczTRGqQjvT6rKg6rEzf5d/ticy38Cde4sopXASzzXzToenR7tL8oTjO+ow8ouXYNFTMsiF2Y8DVAOW7PrteJ/SUEe3oWmzKOdChsRelivFO+7Sm6bIDq8WUREVwHcGTHDHUXj/5gjcTTLgtQ2KjmUz35maU+JWWbkDclbd/MPDHCmAYuVy6lzcg4T36vspZmqK6s9EJzI4bI4z86AP0HBCgzvyljoTxY6q5JDMWbpda+Rw8o4ERgb40pK4WTxybkY4VxryM4VyDCMWc3c0AFzmyIQ838VxPoDtif0xbFo+MiyHTFfAWRHA5C/prK96SeezqkSX+KpHm7XmsvtdOGx6xsLRRTZ91YQikrfE9TXjbbcvlyJL1Rh/q5dxmaC3Aniao0BMJ+FyO6fKt0oK8EjzU0LYmWcikOeqzuroAJTlShlBchyAD7aDwGt+E4RuUNIGqUU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(376002)(396003)(136003)(366004)(346002)(451199015)(8676002)(6486002)(66556008)(4326008)(38100700002)(31696002)(5660300002)(66476007)(2906002)(44832011)(4744005)(41300700001)(86362001)(8936002)(6512007)(6506007)(6666004)(186003)(26005)(53546011)(316002)(2616005)(66946007)(6916009)(478600001)(31686004)(36756003)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dFcxb0FCQWVsWnVCT0xDV3libGRkWFB6QUFtVEZ1cDZWUXl5Z2VzQmRnUUYv?= =?utf-8?B?cEpvMC9tVDVGMS9YdzlPb0dDN3JEQ01LWnkzRCtRcEtUVHJZSGwyRDlxbEJS?= =?utf-8?B?U3E0MW02dzliOXE4cWFZeGZ6ckpnTHFyVktLdWhLRlRCU2hkOXFGV3VvMzg3?= =?utf-8?B?eVZYVkc4ZnlQU2FhMFl4aG9XVFdZVEd0RnpLZGVPOS9kK2lyUGh3ejd2am1q?= =?utf-8?B?UUkzbVZJRFF2R1dMdlBNVHFwOG5Bb0xsc3pCWFJFMjd0T1dta2VHazhpc0Rn?= =?utf-8?B?WFozRmgzYUVmajBVUzRxcFBjTUVhcllVNDBKTnBkTWlRMitDSWo1UTFVY1ds?= =?utf-8?B?OVZ3LzNibjdjUDd0bW1wLzRnV0IvZVY2aDBRZUR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: 107afc51-b2c4-4521-9604-08dad938e576 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2022 16:26:02.0152 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FHJzbSe2ZPcv2oRJIgG7ZIs3SXEy3C5100EghJHhjjaZM4eni3UUwOCOQvMIi7Pw X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8344 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 12/7/2022 3:53 PM, 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 (moving from older version) Acked-by: Stephen Hemminger Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.