RE: [PATCH v4] Added warnings in checkpatch.pl script to :

2019-07-10 Thread Gote, Nitin R
er.kernel.org; kernel-harden...@lists.openwall.com > Subject: Re: [PATCH v4] Added warnings in checkpatch.pl script to : > > On Tue, 2019-07-09 at 21:18 +0530, NitinGote wrote: > > From: Nitin Gote > > > > 1. Deprecate strcpy() in favor of strscpy(). > > 2. Depre

Re: [PATCH v4] Added warnings in checkpatch.pl script to :

2019-07-09 Thread Joe Perches
On Tue, 2019-07-09 at 21:18 +0530, NitinGote wrote: > From: Nitin Gote > > 1. Deprecate strcpy() in favor of strscpy(). > 2. Deprecate strlcpy() in favor of strscpy(). > 3. Deprecate strncpy() in favor of strscpy() or strscpy_pad(). > > Updated strncpy() section in Documentation/process/deprecat

Re: [PATCH v4] Added warnings in checkpatch.pl script to :

2019-07-09 Thread Jonathan Corbet
On Tue, 9 Jul 2019 21:18:06 +0530 NitinGote wrote: > From: Nitin Gote > > 1. Deprecate strcpy() in favor of strscpy(). > 2. Deprecate strlcpy() in favor of strscpy(). > 3. Deprecate strncpy() in favor of strscpy() or strscpy_pad(). > > Updated strncpy() section in Documentation/process/deprec

[PATCH v4] Added warnings in checkpatch.pl script to :

2019-07-09 Thread NitinGote
From: Nitin Gote 1. Deprecate strcpy() in favor of strscpy(). 2. Deprecate strlcpy() in favor of strscpy(). 3. Deprecate strncpy() in favor of strscpy() or strscpy_pad(). Updated strncpy() section in Documentation/process/deprecated.rst to cover strscpy_pad() case. Signed-off-by: Nitin Gote --