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 8D42AA00C3; Wed, 7 Dec 2022 15:29:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 363AD40F17; Wed, 7 Dec 2022 15:29:08 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2084.outbound.protection.outlook.com [40.107.93.84]) by mails.dpdk.org (Postfix) with ESMTP id 8FF5640156 for ; Wed, 7 Dec 2022 15:29:06 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CA6tmaDmZYGvIq3hgwdYK2O++tO6l0ilWUxWx6/01/J5EmFh3Y6furPUYuteT3BTEQU+n3ipJbSLTuOcaFnuMsuLRaojcw4Jeul4TzqtUUpnORCFkx4k6rsyq3YTnohWiDJn2/dVfoFNYzpx6hOinsLxAIig6l1gre2Htx4gfgzmwq9fsA4hFOHs/0M4qbiaqVr7F4zUKM3J5689YTYG4w9EFqbJ0SHMj+EOrNKuaKBGrGMu5ccTTH114SFwaUtgvlCttB7yOwj0AYMOfg5wKK0WfMaeavPKW6rx8/g2HlyJwaOfuWp8Jz/o7ar5o2OWT13pyLpH2aSnzOpJMRfhIA== 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=1nqBHQt2JAN0yJEiAXplukjtG94D5EGokBGwchSXnN8=; b=FRyqIZR9SeyCj4rhmGfALbHA7jpe50QFr/knJM53Pt3uvFihb3f0AttT/KH+ofB3PXNAf7EEdIUdWn8NjCFmAz663LDCv8e1U6yqdh4+eRrBZs3BEl1C7pXjEtcNZNoyBiOs4ITk6U1i+kpEcskUULr8O3AiofLU9h/xx1jeEImoe2m9VbEsS9w+EaoE5LhdCQjXDxid9AnsibLVKz3cyf8I5xHHw82dNNMmGnBMr1umEJ9daJR7PUr+pdH1t0jW4LsHaK9MTP8KZRLWvhbJoQePJ8eZ1n4A0L3SFEnPD8uOu85LgtMKRFypwak7yypPw736ssGAhcas70Qr7CC6QQ== 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=1nqBHQt2JAN0yJEiAXplukjtG94D5EGokBGwchSXnN8=; b=y4qG7u1gFMZuOKyixr0Ce1QEfIqkSysptQ2nFSEo/lpl2NoMVjg2VvFGBuCXsIHzV/v30LkbMH2+x3XbM4LKY9YSNVGvxkjqNZSs0GhevbVcDA0C1fKW3ii5SGvXUh1cwfGY3vDF50NU9lkzcllr3pWSoMzAkIoQHGrHAIbxNrM= 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 MN2PR12MB4095.namprd12.prod.outlook.com (2603:10b6:208:1d1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Wed, 7 Dec 2022 14:29:04 +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; Wed, 7 Dec 2022 14:29:04 +0000 Message-ID: Date: Wed, 7 Dec 2022 14:28:59 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] net/memif: change socket listener owner uid/gid Content-Language: en-US To: Junxiao Shi References: Cc: dev@dpdk.org From: Ferruh Yigit In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0191.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a::35) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MN2PR12MB4095:EE_ X-MS-Office365-Filtering-Correlation-Id: e68276c3-81fa-4612-0bf4-08dad85f644a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g1Tj33ES2zTV3YkwL7c3yhHfezSa6qOr05swdw1ZF3aPquQ8UPvSi4Lw2fxi+EWtM5P7wbdoHDynCvXseHW/svIROhLktT/GzsGPwQfXeRhTLD9EsfFiPb6kplTn1q/Pn5F7jd1jCtrzGx5rrty8KbEMD1rNJXv6mNMrTVd/qPaiHGeOkvRKy5TdX1OKdkEzfUNs9vYLGnIBPAoMOWflA1vovGVe65KS8TBUrC3rdTFolHeJxKm9yrq5dC+vKNImAukqsVo+B0X8E5QDTehc2jlTMbNfRDcUtutYhUaNxATMrdrv2gE9ZAff2yHpdkIyOvwlFmr2oqH7pWUJVmfFX/qJiTDtgF8ZdbS2Fz1lMrL4MdmgEf0L0TmWUDVYw93NeE6i36KuQb3EIkwYSpSMMtKhOvbAiZdU6/9hmdl4wJggUU7pnTWbVbCa40AnzQXpGsYGXzDEapwTCRsn7tFm1R6ku5IQRsOs2bxx1R2RvPBs+U4DWKp7xNc8zH8iKO6RrNcAwe7w0NzqaQFaCUCLhxh4Y/EUu/2t739qBuDVGvqv+MBCa5J1yj4e1kRls0ouGlFRBy38ru3vK/1D3LsQsrvRnLMx1yboB2n6t+kEWoCl2NWIFXL0K+FdvA6OYxwLuxW/l/d4rrcx/p6WSCBCrtkN4tKLyvWk0HZc/79lixFW4rFOZoc8yhNAy3rsR8QHb3Z87JvgcMr+dSBOc0ArH+g4/HaVfmNmUICcIR0DJFgxY9xAEZHQr1R7xK+TIEgR 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)(396003)(136003)(376002)(366004)(346002)(39860400002)(451199015)(41300700001)(31686004)(966005)(6486002)(86362001)(478600001)(31696002)(6666004)(2616005)(38100700002)(6916009)(316002)(4326008)(6506007)(8676002)(186003)(8936002)(36756003)(53546011)(2906002)(26005)(4744005)(6512007)(5660300002)(44832011)(66946007)(66556008)(66476007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N0VuV2tiVzhxbmVsNVhaR0lIWHZ5OWhpUkdJZlVUczV4YW51UDdOQVk0SVFL?= =?utf-8?B?eEJxRVhpMnI0S1FsNmlLVVh1Q1cxM1l5Tm5aY1ZTRjFkcEk2L2xPTndRT2th?= =?utf-8?B?TWpyTXhkYW15ZlhhemIzZm5WdC8rMC9wRGZNNm1RVEdGQ3lGMzVFZlZYcDk5?= =?utf-8?B?UWlISS9Udy9XeCtKMDdGOXJPTHhQanRzUVV2T1BuS0F5aVRLZktSWVhWN01S?= =?utf-8?B?NW5kbDY5Z1NESTFqdDlpZ3IrQlNSaUhrcm0rbEFPbWhLZDJxclNEMEJUc3Fj?= =?utf-8?B?MlIwTnV3Y250a2RtaTNmSFJBRE9sMUNxN1VEbDI1MUczdjJoK2VTS05aQk8z?= =?utf-8?B?OStIMUxvTlo1R0h0cWxoWEkxblNzaDBpSnhI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ad85f644a X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2022 14:29:04.5381 (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: f6KOBm0Yso6v63+FAMwcwcN01gX/4UK8kJiKMjx3DbexONcfHSI7BK0feVB/MtdV X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4095 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 11/16/2022 5:14 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 Hi Junxiao, I put some comments to RFC v3, missing this version, can you please check comments there: https://patches.dpdk.org/project/dpdk/patch/c079afbbff6669ab@cs.arizona.edu/