From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0048.outbound.protection.outlook.com [104.47.2.48]) by dpdk.org (Postfix) with ESMTP id 0C2C14C90 for ; Tue, 11 Sep 2018 07:33:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coriant.onmicrosoft.com; s=selector1-coriant-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RmIjtMnKR6ZtqVAYg5YdojUbqiPORD7kEtaBCM8T2AI=; b=PZhPQj1Qer7/W1Wp/F5t1LEoKrjgtj2hTUCtglb5i44GSeuQxThMgZEes5J6i05GgwfRs8NIJNiMH8n+QuzDCei5FXWsWviHB6T2Lc+qZhvdOMd527kD0Fve3KnCu/MTHPhxA44/fvRopEE/QQKqlBxpTfT8HTPabiT7jj92OIg= Received: from VI1PR0402MB2925.eurprd04.prod.outlook.com (10.175.24.15) by VI1PR0402MB3631.eurprd04.prod.outlook.com (52.134.7.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.17; Tue, 11 Sep 2018 05:33:27 +0000 Received: from VI1PR0402MB2925.eurprd04.prod.outlook.com ([fe80::f048:5ab:3a7f:91c4]) by VI1PR0402MB2925.eurprd04.prod.outlook.com ([fe80::f048:5ab:3a7f:91c4%5]) with mapi id 15.20.1122.018; Tue, 11 Sep 2018 05:33:27 +0000 From: "Kuusisaari, Juhamatti (Coriant - FI/Espoo)" To: "dev@dpdk.org" Thread-Topic: strscpy() support to DPDK? Thread-Index: AdRJkNqDLZ3dLR45TWOMWan3KmBNlQ== Date: Tue, 11 Sep 2018 05:33:26 +0000 Message-ID: Accept-Language: fi-FI, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=juhamatti.kuusisaari@coriant.com; x-originating-ip: [138.111.134.175] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0402MB3631; 6:T3sG0dEz01810gENxpPENWE/UmCpLXJ8/dqCN5wyK197wqjbEA8a1Sqcty9sqk+Dv/f0aBRhhq8imR7QpGZ5MlxcYupnuuCmG88oDUv7wZgqs+uOaoNUD52BxT2oF1NSPx51NRvBn2T0IWNo/VEQmg4mQpRcg/+srD7GvCpfYmKtcFN7U1GXALVhPB+o5sXBmTo+wIr8RAj9teQ+mfnhk9NlnIInMfPmNeRqPLyKhPEvMN1V15c28UdODSoXvOnpJL0Rx0z3+YQ/qS/sAdOEZ8/FuPBfIwX1l8uRvmBZMMHOuYTifub0nmZJxu2RThmvdf6LbNavWBm5MjR3JaZZkmG1EfFMjJYjbMqMd9wq8MeMZ/WPH4ELh8VoVvD9q5dzVyuyYLI9Xbe6M5NeY9EXvAEX/9fl/0wsraMYOCRocoEfsjxhIScrCERaQrasgnC+W+lTWJ/GcUcK8DBw0Z7wnQ==; 5:2/zz3wptuSWXDFKJnN22gJE5ZqtFFP0upIsYVwAu3Ximgy9D0XglX6+j0Zx75JiQ6Ae8+n4sAudj0NokniWnfFINbobi1crLz9XV5wlrn28qnwGD/asZC4Fz6BeOxOQILFP1XvJ06LeGkpZ3N0VTZ/yi74441ynzrYM2ZAr176I=; 7:Fe7VL30TcYCPDEai+C4Z+xixtNtB916ASe7chBDmdrb2bSJEGQHGAMm0+eZLh/zyMes/Fqh4lmhQqw08FjjHBIC5BaMA+L28u+PjG8Xgwkpn1ZZBQ3PyVf64OH0B5fmvj77lnU3FKUWEJ+6swETFkbrxp0i8veYiqjyM4u0Tmyf0vX/Fpsz9shOCjRB1na9sttl6uSiL7Cc5VhSK+7OPMrB/PN62D4ikCWyfc62Be47LKRAcWFPO2zycjG7iA6oL x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 7fa937b7-26d3-4dbe-db88-08d617a819af x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3631; x-ms-traffictypediagnostic: VI1PR0402MB3631: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201708071742011)(7699050); SRVR:VI1PR0402MB3631; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3631; x-forefront-prvs: 0792DBEAD0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(136003)(346002)(39860400002)(199004)(189003)(476003)(99286004)(7736002)(5250100002)(26005)(74316002)(305945005)(6506007)(186003)(102836004)(33656002)(256004)(5640700003)(2501003)(66066001)(6306002)(9686003)(6436002)(55016002)(6916009)(2900100001)(6116002)(53936002)(966005)(3846002)(478600001)(5660300001)(97736004)(8676002)(8936002)(7696005)(81166006)(105586002)(68736007)(14454004)(1730700003)(81156014)(86362001)(558084003)(486006)(2906002)(106356001)(316002)(25786009)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3631; H:VI1PR0402MB2925.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: coriant.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: WV6Q6qkxiwv8/ypZIiDk98G+CfjDAhDMCpQLkJSsQWyqLLY/aIWhUl29IVdQhkzRIqFFKOVa2pNy37Ls+Cqg0fLdx8ihygmrY2/6MT6uQtDfSwZNJYE6Z6ihO2ZZRj76BUWNhmmvtJNWx7VyZruvXH6KTiA2R/Ns2xaUjrgGA/nmz6XkC0y9jAnHX5yH1L3FLxKqTUEMERjIu9/qaSwmMcAXr0u91hjTX5v0IuwXydgboc2OX4wg8whzNpB3rqNDZSF33lbGK/4G3/twm12VwD3gbAix3D4Wg1HatOeH7Ys9gNqRJx7kpzpwGwB7QTrdjc13BwBzqKxFOTtg2hElCZyIv8bhDgasSn0jWd1PhGU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: coriant.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7fa937b7-26d3-4dbe-db88-08d617a819af X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2018 05:33:27.1153 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 76595477-907e-4695-988b-a6b39087332d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3631 Subject: [dpdk-dev] strscpy() support to DPDK? 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: , X-List-Received-Date: Tue, 11 Sep 2018 05:33:29 -0000 Hello, There has been some discussion earlier about the downsides of strlcpy().=20 How about adding strscpy() support to DPDK as a better option? It seems tha= t it really resolves the API issues of strlcpy(). https://lwn.net/Articles/659214/ BR, -- Juhamatti