Re: [RESEND,net-next,PATCH v5 0/3] Fix inefficiences and rename nla_strlcpy

2020-11-16 Thread Francis Laniel
Le lundi 16 novembre 2020, 18:22:47 CET Jakub Kicinski a écrit : > On Sun, 15 Nov 2020 18:08:03 +0100 laniel_fran...@privacyrequired.com > > wrote: > > This patch set answers to first three issues listed in: > > https://github.com/KSPP/linux/issues/110 > > > > To sum up, the patch contributions a

Re: [PATCH v5 0/3] Fix inefficiences and rename nla_strlcpy

2020-11-16 Thread Francis Laniel
Le lundi 16 novembre 2020, 18:32:43 CET Jakub Kicinski a écrit : > On Mon, 16 Nov 2020 18:06:33 +0100 Francis Laniel wrote: > > Le lundi 16 novembre 2020, 17:06:52 CET Jakub Kicinski a écrit : > > > On Sun, 15 Nov 2020 18:05:39 +0100 Francis Laniel wrote: > > > > Le

Re: [PATCH v5 0/3] Fix inefficiences and rename nla_strlcpy

2020-11-16 Thread Francis Laniel
Le lundi 16 novembre 2020, 17:06:52 CET Jakub Kicinski a écrit : > On Sun, 15 Nov 2020 18:05:39 +0100 Francis Laniel wrote: > > Le dimanche 15 novembre 2020, 01:18:37 CET Jakub Kicinski a écrit : > > > On Fri, 13 Nov 2020 10:56:26 -0800 Kees Cook wrote: > > > >

Re: [PATCH v5 0/3] Fix inefficiences and rename nla_strlcpy

2020-11-15 Thread Francis Laniel
Le dimanche 15 novembre 2020, 01:18:37 CET Jakub Kicinski a écrit : > On Fri, 13 Nov 2020 10:56:26 -0800 Kees Cook wrote: > > Thanks! This looks good to me. > > > > Jakub, does this look ready to you? > > Yup, looks good, sorry! > > But it didn't get into patchwork cleanly :/ > > One more resen

Re: [PATCH v4 2/3] Modify return value of nla_strlcpy to match that of strscpy.

2020-11-13 Thread Francis Laniel
Le vendredi 30 octobre 2020, 20:25:38 CET Kees Cook a écrit : > On Fri, Oct 30, 2020 at 04:36:46PM +0100, laniel_fran...@privacyrequired.com wrote: > > diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c > > index 2a76a2f5ed88..f9b053b30a7b 100644 > > --- a/net/sched/sch_api.c > > +++ b/net/sch

Re: [RFC][PATCH v3 3/3] Rename nla_strlcpy to nla_strscpy.

2020-10-24 Thread Francis Laniel
Le jeudi 22 octobre 2020, 22:04:32 CEST Kees Cook a écrit : > On Thu, Oct 22, 2020 at 11:41:31AM +0200, Francis Laniel wrote: > > Le jeudi 22 octobre 2020, 01:49:59 CEST Kees Cook a écrit : > > > On Tue, Oct 20, 2020 at 06:47:07PM +0200, > > > laniel_fran...@priv

Re: [RFC][PATCH v3 3/3] Rename nla_strlcpy to nla_strscpy.

2020-10-23 Thread Francis Laniel
Le vendredi 23 octobre 2020, 01:05:51 CEST Jakub Kicinski a écrit : > On Thu, 22 Oct 2020 13:04:32 -0700 Kees Cook wrote: > > > > > From: Francis Laniel > > > > > > > > > > Calls to nla_strlcpy are now replaced by calls to nla_strscpy which >

Re: [RFC][PATCH v3 3/3] Rename nla_strlcpy to nla_strscpy.

2020-10-23 Thread Francis Laniel
Le vendredi 23 octobre 2020, 10:07:44 CEST David Laight a écrit : > From: Jakub Kicinski > > > Sent: 23 October 2020 00:06 > > > > On Thu, 22 Oct 2020 13:04:32 -0700 Kees Cook wrote: > > > > > > From: Francis Laniel > > > > > > &

Re: [RFC][PATCH v3 2/3] Modify return value of nla_strlcpy to match that of strscpy.

2020-10-22 Thread Francis Laniel
Le jeudi 22 octobre 2020, 01:48:37 CEST Kees Cook a écrit : > On Tue, Oct 20, 2020 at 06:47:06PM +0200, laniel_fran...@privacyrequired.com wrote: > > From: Francis Laniel > > > > nla_strlcpy now returns -E2BIG if src was truncated when written to dst. > > It also

Re: [RFC][PATCH v3 3/3] Rename nla_strlcpy to nla_strscpy.

2020-10-22 Thread Francis Laniel
Le jeudi 22 octobre 2020, 01:49:59 CEST Kees Cook a écrit : > On Tue, Oct 20, 2020 at 06:47:07PM +0200, laniel_fran...@privacyrequired.com wrote: > > From: Francis Laniel > > > > Calls to nla_strlcpy are now replaced by calls to nla_strscpy which is the > >