Re: [PATCH v6 1/5] string.h: detect intra-object overflow in fortified string functions

2020-11-20 Thread Francis Laniel
Le vendredi 20 novembre 2020, 02:38:22 CET Andrew Morton a écrit : > On Thu, 19 Nov 2020 17:49:11 +0100 laniel_fran...@privacyrequired.com wrote: > > From: Daniel Axtens > > > > ... > > > > Cc: Daniel Micay > > Cc: Kees Cook > > Reviewed-by: Kees Cook > > Signed-off-by: Daniel Axtens > > Th

Re: [PATCH v6 1/5] string.h: detect intra-object overflow in fortified string functions

2020-11-19 Thread Andrew Morton
On Thu, 19 Nov 2020 17:49:11 +0100 laniel_fran...@privacyrequired.com wrote: > From: Daniel Axtens > > ... > > Cc: Daniel Micay > Cc: Kees Cook > Reviewed-by: Kees Cook > Signed-off-by: Daniel Axtens This patch should have your signoff as well, as per Documentation/process/submitting-patch

[PATCH v6 1/5] string.h: detect intra-object overflow in fortified string functions

2020-11-19 Thread laniel_francis
From: Daniel Axtens When the fortify feature was first introduced in commit 6974f0c4555e ("include/linux/string.h: add the option of fortified string.h functions"), Daniel Micay observed: * It should be possible to optionally use __builtin_object_size(x, 1) for some functions (C strings) t