Re: [PATCH net-next] macvlan: Replace strncpy() by strscpy()

2019-05-29 Thread David Miller
From: "Gustavo A. R. Silva" Date: Mon, 27 May 2019 13:38:55 -0500 > The strncpy() function is being deprecated. Replace it by the safer > strscpy() and fix the following Coverity warning: > > "Calling strncpy with a maximum size argument of 16 bytes on destination > array ifrr.ifr_ifrn.ifrn_name

Re: [PATCH net-next] macvlan: Replace strncpy() by strscpy()

2019-05-29 Thread David Miller
From: "Gustavo A. R. Silva" Date: Mon, 27 May 2019 13:38:55 -0500 > The strncpy() function is being deprecated. Replace it by the safer > strscpy() and fix the following Coverity warning: > > "Calling strncpy with a maximum size argument of 16 bytes on destination > array ifrr.ifr_ifrn.ifrn_name

Re: [PATCH net-next] macvlan: Replace strncpy() by strscpy()

2019-05-27 Thread Stephen Hemminger
On Mon, 27 May 2019 16:28:05 -0500 "Gustavo A. R. Silva" wrote: > On 5/27/19 4:20 PM, Stephen Hemminger wrote: > > On Mon, 27 May 2019 13:38:55 -0500 > > "Gustavo A. R. Silva" wrote: > > > >> The strncpy() function is being deprecated. Replace it by the safer > >> strscpy() and fix the follow

Re: [PATCH net-next] macvlan: Replace strncpy() by strscpy()

2019-05-27 Thread Gustavo A. R. Silva
On 5/27/19 4:20 PM, Stephen Hemminger wrote: > On Mon, 27 May 2019 13:38:55 -0500 > "Gustavo A. R. Silva" wrote: > >> The strncpy() function is being deprecated. Replace it by the safer >> strscpy() and fix the following Coverity warning: >> >> "Calling strncpy with a maximum size argument of

Re: [PATCH net-next] macvlan: Replace strncpy() by strscpy()

2019-05-27 Thread Stephen Hemminger
On Mon, 27 May 2019 13:38:55 -0500 "Gustavo A. R. Silva" wrote: > The strncpy() function is being deprecated. Replace it by the safer > strscpy() and fix the following Coverity warning: > > "Calling strncpy with a maximum size argument of 16 bytes on destination > array ifrr.ifr_ifrn.ifrn_name o