Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp851672rwp; Thu, 13 Jul 2023 02:00:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlHkBHr8ocVsU1SDWYKM6wJeO1heQT9xWOcNIt2/F0jL7A7QkGtdagSHLJ6jCbyiiIFgKXEA X-Received: by 2002:a17:906:10d9:b0:98e:2b01:ab97 with SMTP id v25-20020a17090610d900b0098e2b01ab97mr921530ejv.68.1689238844806; Thu, 13 Jul 2023 02:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689238844; cv=none; d=google.com; s=arc-20160816; b=qAmgzWtfFVe5wgFllb8ROyqlWtIYQpjJS3S0TqPGQ8waOFNT7EAjkHWHTK+0wpcw59 +PoDTi+Fe1OlYD75Ojpk0YojvjpPbWTVZhk3WKdMijjP0DufPXA3EKj6L/kRN4otM1LZ y3EWOW/apHE0CG+At1xNNlDxDe46SQxK8dCkgCc2ml9ovjI6oze0iFTjViS0F5avZMVk BPHgxHXl93kp1Jzv5A+MR9LkBfBKmJi8Hb9ewqDsZ1vYvIUIktGyUnhElJPCXTdG/Ej6 UHU2uzFXJhHgknPTfXHUxP8QhCFSYbzaPGOD5Iy+iaBtcV/C196xvi8F1VZdBHrb3qva PE+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=1aYSwipQvdjT4pO0r9zWbLpaARwLL2VRQ2T3beirPPg=; fh=8RWoPZ5JEdJv0S3xYaD2BaPBrOcP1To08X/ftr6+9ec=; b=Qw8+j87O2p7MZ/nXM+EKJh9u9q58sWVIOZ0Rd+lLfRM9A1a+UiXV3FWpCpf7EyzTAh GsalJMcY/A/gTAJxPb+zKdwQ0THrhHgkeGG8eDQhSPTSzYrxp7dQcDkwYTizBMAdXKPR 4dOh4vpG1XMIMyuSj8r5oXw1wSCneE6r9fmn0FPfdhoWxZd+V2ahoy6U16f1zmstkaU+ +ovq/4MVgdmuf4IRlmXggTeU9AUoNjU1R3yjkXhj3ZVPlPGvV4beY1A05kXLwG40tYsi 9K6YhCcD1C2KLeAf7OeN2RQeBH3t+QmszWM/2PG5Rk0wagJ7WSCOm69NSMsgqY5ct711 ZKhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg5-20020a170906f88500b0098e48ad11e8si8929818ejb.902.2023.07.13.02.00.18; Thu, 13 Jul 2023 02:00:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233787AbjGMIi0 (ORCPT + 99 others); Thu, 13 Jul 2023 04:38:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234327AbjGMIhx (ORCPT ); Thu, 13 Jul 2023 04:37:53 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09D3E4EF4 for ; Thu, 13 Jul 2023 01:32:04 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-201-C7sYW67KNPG6e6sJsnGWqw-1; Thu, 13 Jul 2023 09:18:47 +0100 X-MC-Unique: C7sYW67KNPG6e6sJsnGWqw-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 13 Jul 2023 09:18:45 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 13 Jul 2023 09:18:45 +0100 From: David Laight To: 'Kees Cook' CC: 'Azeem Shaikh' , Greg Kroah-Hartman , "linux-hardening@vger.kernel.org" , "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] kobject: Replace strlcpy with strscpy Thread-Topic: [PATCH] kobject: Replace strlcpy with strscpy Thread-Index: AQHZrdj8Qo2zsxXODk+YaMEZxqXK9K+zA4WggABClwCAAP0w0IACiCMAgACbHnA= Date: Thu, 13 Jul 2023 08:18:45 +0000 Message-ID: <24ccdb40832c4dc0a5376d76a9ea9ae2@AcuMS.aculab.com> References: <20230703180528.3709258-1-azeemshaikh38@gmail.com> <0aaa9355aa714e608091af2a5fca1373@AcuMS.aculab.com> <202307121651.04D1758@keescook> In-Reply-To: <202307121651.04D1758@keescook> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogS2VlcyBDb29rIDxrZWVzY29va0BjaHJvbWl1bS5vcmc+DQo+IFNlbnQ6IDEzIEp1bHkg MjAyMyAwMDo1Mw0KLi4uLg0KPiA+ID4gcHJfd2FybigiaW5pdF91ZXZlbnRfYXJndjogYnVmZmVy IHNpemUgb2YgJWQgdG9vIHNtYWxsIGZvciAlcywgbmVlZGVkDQo+ID4gPiAlZFxuIiwgYnVmZmVy X3NpemUsIHN1YnN5c3RlbSwgc3RybGVuKHN1YnN5c3RlbSkpOw0KPiA+ID4NCj4gPiA+IERvZXMg dGhhdCBzZWVtIGJldHRlcj8NCj4gDQo+IFllYWgsIHRoYXQnbGwgcmV0YWluIHRoZSBpbnRlbnRp b24gb2YgdGhlIHdhcm5pbmcuIEl0IHNob3VsZG4ndCByZWFsbHkNCj4gZXZlbiBiZSBwb3NzaWJs ZSB0byBoaXQgdGhhdCB3YXJuaW5nLCBzbyBJIGRvbid0IHRoaW5rIHdlIG5lZWQgdG8gd29ycnkN Cj4gYWJvdXQgdGhlICJleHRyYSIgY2FsbCB0byBzdHJsZW4oKS4NCj4gDQo+ID4gTm90IHdpdGgg dGhlIGp1c3RpZmljYXRpb24gZm9yIG5vdCB1c2luZyBzdHJsY3B5KCkgOi0pDQo+IA0KPiBXaGF0 Pw0KDQpUaGUgY29tbWl0IG1lc3NhZ2Ugc2F5cyB0aGF0IHN0cmxjcHkoKSBpc24ndCB1c2VkIGJl Y2F1c2UNCm9mIHBvc3NpYmxlICdyZWFkIGJleW9uZCBidWZmZXIgZW5kJyAoZXRjKSBpZiBpdCBp c24ndA0KJ1wwJyB0ZXJtaW5hdGVkLg0KDQpCdXQgaGVyZSBpZiAoZXh0cmVtZWx5IHVubGlrZWx5 KSB0aGUg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