Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7784179ybi; Mon, 22 Jul 2019 20:43:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZ7aXHNiOZNgdrtBGDwX0pON/ZcR6HGyj3T7qmj7TX1nEaa+of8c3t5EGNF8id8gDth/IL X-Received: by 2002:a17:90a:ba94:: with SMTP id t20mr30565422pjr.116.1563853388983; Mon, 22 Jul 2019 20:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563853388; cv=none; d=google.com; s=arc-20160816; b=FhFxP+rZpvXL6CQM3YUNbPLWaeQKXnw9XXLfX94k1QFrMDTNR+pvqqWorzQLWszPsr UT+Zy8xN/LrR82hQfPpbzSgIZonFBaanMxu/lPYq6outm8OpNkIuZCU65FkCYvADQasZ TBgOrHaeX9sSwObhaHDLEItxPAZc1ziSfyM/tOhBqBMb2VI6QYLbod5vhqOWsrrvK9Kq 7u4LVuJdiuJ75ouYLI9thD1U7ObzRhS/BNmlqh6n5gBOZI3UI4ctnbEIZVZhRwEajFR3 uHqCGIpp5JM/3/Q9RRgMzgpviIW2Duaiq4lv8vb0upTFY3fWk3f4FWl59HtUFZVnxzAp gIgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=FftZ7vO8ZfNyGwfYMrYyLPPCBOBuq0ZIXGW76sqRLEk=; b=BFcLKGMJKvuViNaaNuHi9gZm4P63s+P+KJJB4zFPMwGxlHRWI1LHMrTcC7pRd01ruC QL9UTwmfWT5HA61d2cZgaTHnmBEDfGOTyc0WawUITMnYphpxZ/FPbU2YLIebXY0VYq9w olfOfls0uIrX1nI1kaeZwhP6IxRtKrrZFkVk8bLLe86nxF7pRT7DG4OD4cP5prjYpfEY qlwmGTrVMs7sJANzr9rj5DrwvH9+pzGhLcrPsNKg/U5eCbcykQKlcI/JkPKrXvUp9HoN zhpaVHtJsBnHBPTYH3Mz1YwDjpwOOCEO1UY5J8FKtUuSMbL/fswHYy4ldkX/sTjCTHn0 DmtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si10681378plo.384.2019.07.22.20.42.52; Mon, 22 Jul 2019 20:43:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731478AbfGVVuO (ORCPT + 99 others); Mon, 22 Jul 2019 17:50:14 -0400 Received: from smtprelay0177.hostedemail.com ([216.40.44.177]:54912 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728303AbfGVVuN (ORCPT ); Mon, 22 Jul 2019 17:50:13 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id C6E5F181D3377; Mon, 22 Jul 2019 21:50:12 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:599:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1568:1593:1594:1711:1714:1730:1747:1777:1792:2393:2507:2559:2562:2693:2828:3138:3139:3140:3141:3142:3622:3865:3867:3868:3870:3872:3873:4321:5007:10004:10400:10848:11232:11658:11914:12297:12740:12760:12895:13019:13069:13311:13357:13439:14659:14721:21080:21627:30054:30070:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.8.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: net82_1eb9f15d55954 X-Filterd-Recvd-Size: 1676 Received: from XPS-9350.home (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA; Mon, 22 Jul 2019 21:50:11 +0000 (UTC) Message-ID: Subject: Re: [PATCH] checkpatch: Added warnings in favor of strscpy(). From: Joe Perches To: Stephen Kitt Cc: Kees Cook , Nitin Gote , jannh@google.com, kernel-hardening@lists.openwall.com, corbet@lwn.net, linux-kernel@vger.kernel.org, Rasmus Villemoes Date: Mon, 22 Jul 2019 14:50:09 -0700 In-Reply-To: <20190722230102.442137dc@heffalump.sk2.org> References: <1561722948-28289-1-git-send-email-nitin.r.gote@intel.com> <20190629181537.7d524f7d@sk2.org> <201907021024.D1C8E7B2D@keescook> <20190706144204.15652de7@heffalump.sk2.org> <201907221047.4895D35B30@keescook> <15f2be3cde69321f4f3a48d60645b303d66a600b.camel@perches.com> <20190722230102.442137dc@heffalump.sk2.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.5-0ubuntu0.18.10.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-07-22 at 23:01 +0200, Stephen Kitt wrote: > How about you submit your current patch set, and I follow up with the above > adapted to stracpy? OK, I will shortly after I figure out how to add kernel-doc for stracpy/stracpy_pad to lib/string.c. It doesn't seem appropriate to add the kernel-doc to string.h as it would be separated from the others in string.c Anyone got a clue here? Jonathan?