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 D36E5A00C2; Thu, 8 Dec 2022 17:25:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 788F240E28; Thu, 8 Dec 2022 17:25:23 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2041.outbound.protection.outlook.com [40.107.237.41]) by mails.dpdk.org (Postfix) with ESMTP id B0E1640E28 for ; Thu, 8 Dec 2022 17:25:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GaYdpxOps6kROQRHQy6k3bJzhvrat6WeBQ43BaqLdRQKVEv42b10+C/EFiHESFESPdOR73L1LsVLuInm9kCAnq7//23uXWzKengdHPbCu31SmaNa+Y3DAx8Qr3idpNuYDckhwpHSS1CNeWffX4ENfRgejANmyN1o3S+Bxy+3WS/fMz1QJLjIDYBBdokIyiHYDqh5y86637RZfw0USuOhtY7CVZBnb0mpJHmHVLtLIkGFhhMgzsSxmcpXGwe2Qj9Yag1kZAipU/x340/5ZPtDF/rKAazK9+UomdlCbVc+i3PFSDm2SzvUKArEbwaVzJg3Vnmpyl05PAVshPGa3T4cjw== 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=TPw+v1be4/EUm7w6iVcwmQi8syJsHAszS2vJxe4Ck1G21BQxaKyidrg2Dm13jl9py1p9BQ4jF8Phyq6pDC46Vl2PW7lK0ZLApR8x8JQNY6jWfIOcLpWTXHayLU6Ytt30dHDOpFuz2RHCVNHJBDhfiJzD9DvzRCR2m6I4HJtyj95bWuhK9pEqWoyVTIzVphIDo66X49cC2Lv9mXV2H6B00woQQoPUZT/Rz6dk9q5pAT8nwac3n6MYiw2Nla1RNZoWs6caLg4dik/2w37PJipmTe+TsNwq0uUXmKCrmxpu2pfshV58OYWk1Dj9F2wra9RGjvb2h5J+wY2UrGV2Ceny9Q== 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=B4mzjJYO4t9YiGK5hRtR9Ovhl5qo0hB71wdkWrPbaZi0kAW51peeDM0THQe+D9kdTudiVKONpasboASVBQzlhS++K5oIfPYyw7SzOn5wIksy/Yx5A50YYMC0/wkWtL83igOwlLDXPU0SLFOnuXc9LP1ZE5lhm6moEdMz+Td3mnU= 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 PH7PR12MB6420.namprd12.prod.outlook.com (2603:10b6:510:1fc::18) 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:25:19 +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:25:19 +0000 Message-ID: <4c4d1d34-8d34-9bcc-6ef8-2e47dc93363d@amd.com> Date: Thu, 8 Dec 2022 16:25:13 +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: LO2P123CA0088.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:138::21) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH7PR12MB6420:EE_ X-MS-Office365-Filtering-Correlation-Id: e52074b3-ba81-47dc-a06a-08dad938cb53 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ceTlyQw0GtmVnBeMk13baOepEbwWzwbLqtSGhacgsiVzIQnPv2wuDYSxmXzX6diNVwaxS7f3ooMs63KLENvabnYhXvbCZvVfvkCfqnQ0vyoik/p4FGmwizy+6tkWFUhr/7qM38EqzTeV5hrxKq/V7OK3j8n6bUsV3bmRZGpKjjiIeP/wLDZeL8+k7aZoK5kqs1xcwuzFWiRc/rxF7O99mU5SmneKpgvN2gbRIShbvIt/vCDB63aj41cdNWNlI+5Ho2x36cjKkraHQ5IMtu9bmy7UUjxVCZCoJZOxYCh7tm6uCdLLXJZdeQOLE3RODn+plltjDICiuCEfn8Eqw4JlQNEglGlM5FoWCikpWycxLxooPDW5QUAcgpJQkrcL9IqrGEDVfncRsMQW63kxWKPkI61Qp9DQvogjfIxnDbdlbCzieBoiMORHqjO/it/ZltTe9tSIGfFQtMug93LAOrT3T55CIQTJxiQmJOUrhkS6hi8m5fIzAyoeHE5Irab8D71kSmYQRrBE843hipLiUgBbYK4vhUcldpoFbobkztkiDaumI0q992Z5ppuH1cd4osi1bdh1HaPA72Vf2TUmYjpqavldW5KgU6dohDmTvSNzQwCs3ToYA1Z3C6mMBIKuGVnAkWMPHW2tJ7ay8FeCRTE5dpGgBOsTjMHr93ukQhH6TfbSCGFHEnKnSpdBzlRVnctZ3TYmpIV0MFo3XgrIyFubQ+Kf/aCYWCFcY2WPnIgfSJE= 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)(366004)(376002)(136003)(346002)(396003)(39860400002)(451199015)(41300700001)(478600001)(2616005)(8936002)(6666004)(31686004)(6486002)(26005)(6506007)(53546011)(38100700002)(44832011)(36756003)(6916009)(6512007)(186003)(316002)(66556008)(5660300002)(86362001)(66946007)(66476007)(2906002)(31696002)(4326008)(4744005)(8676002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NnVRVEJwUnZXQnJXMzZyM3V6U3pxdGNlK3RQa0V2WDEzZE5rbHJGS1pSbEZp?= =?utf-8?B?ckkwaGpUYjJvLzE3Q2h6MlRJYkJoQnNrVm95b3JMMExKMkFLOTAzcUVrcVpI?= =?utf-8?B?bllOQ2wrcloyWW1RZEsrUUhvODZNQnB5czRVZHZBN1p5akxhTnZMNit2Z1V2?= =?utf-8?B?L29YWHlBM21FK2FEMjc5bW1RU0VHY0prdUMyWnYwbkszME40OXJoR0VWU1Z5?= =?utf-8?B?VE5QS3Y2WDlUVUIyeVVncjVsamhRcnRSRU5PN3dxRDhwcGh5SlczdzlOcTUy?= =?utf-8?B?bkJIeXBTbmVZd0Y0am9KS1Z0QWFKeEUwWWNDVzc1c0FtRjkwWFM4VXB1RlBK?= =?utf-8?B?NXlOVzdGSFVMcWlsZDJ5U3Qya3lkdk9NV1lLeVFLa0hYYV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-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2022 16:25:19.5413 (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: aWaUlb15lQ7g3ZH21/eK6gn0rRG4Kzts8+qEBY+OUCOSqpWeIWf6BOetUMhOEEgB X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6420 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.