lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 26 Jan 2022 20:12:22 +0200 From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com> To: Nick Desaulniers <ndesaulniers@...gle.com> Cc: Kees Cook <keescook@...omium.org>, Francis Laniel <laniel_francis@...vacyrequired.com>, Petr Mladek <pmladek@...e.com>, linux-kernel@...r.kernel.org, Andy Shevchenko <andy@...nel.org>, Steven Rostedt <rostedt@...dmis.org>, Sergey Senozhatsky <senozhatsky@...omium.org>, Rasmus Villemoes <linux@...musvillemoes.dk>, kernel test robot <lkp@...el.com>, Nathan Chancellor <natechancellor@...il.com> Subject: Re: [PATCH v3 1/3] string: Make stpcpy() possible to use On Wed, Jan 26, 2022 at 09:49:38AM -0800, Nick Desaulniers wrote: > On Wed, Jan 26, 2022 at 6:19 AM Andy Shevchenko > <andriy.shevchenko@...ux.intel.com> wrote: > > > > It is a good rule to avoid submitting code without users. > > Currently the stpcpy() is unusable due to missed declaration. > > Any attempts to use it will bring something like: > > > > error: implicit declaration of function ‘stpcpy’ [-Werror=implicit-function-declaration] > > > > Move declaration to the header and guard it as other string functions. ... > Recall the discussion from Kees: > https://lore.kernel.org/lkml/CAK7LNAQXo5-5W6hvNMEVPBPf3tRWaf-pQdSR-0OHyi4RCGhjsQ@mail.gmail.com/ > and > https://lore.kernel.org/lkml/202008150921.B70721A359@keescook/ For the record :-) https://lore.kernel.org/lkml/CAHp75VfniSw3AFTyyDk2OoAChGx7S6wF7sZKpJXNHmk97BoRXA@mail.gmail.com/ -- With Best Regards, Andy Shevchenko
Powered by blists - more mailing lists