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
| ||
|
Message-ID: <a65e9a7a-b5f1-4397-a953-cafb79a10fba@infradead.org> Date: Thu, 14 Dec 2023 16:25:01 -0800 From: Randy Dunlap <rdunlap@...radead.org> To: Kees Cook <keescook@...omium.org>, Jonathan Corbet <corbet@....net> Cc: kernel test robot <lkp@...el.com>, "Gustavo A. R. Silva" <gustavoars@...nel.org>, linux-doc@...r.kernel.org, linux-hardening@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] docs: conf.py: Ignore __counted_by attribute On 12/14/23 16:13, Kees Cook wrote: > It seems that Sphinx is confused by the __counted_by attribute on struct > members. Add it to the list of known attributes. > > Reported-by: kernel test robot <lkp@...el.com> > Closes: https://lore.kernel.org/oe-kbuild-all/202312150614.kOx8xUkr-lkp@intel.com/ > Cc: Jonathan Corbet <corbet@....net> > Cc: "Gustavo A. R. Silva" <gustavoars@...nel.org> > Cc: linux-doc@...r.kernel.org > Cc: linux-hardening@...r.kernel.org > Signed-off-by: Kees Cook <keescook@...omium.org> > --- > Documentation/conf.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/conf.py b/Documentation/conf.py > index d4fdf6a3875a..5898c74b96fb 100644 > --- a/Documentation/conf.py > +++ b/Documentation/conf.py > @@ -106,6 +106,7 @@ if major >= 3: > "__weak", > "noinline", > "__fix_address", > + "__counted_by", > > # include/linux/memblock.h: > "__init_memblock", If Sphinx needs to know about that, then fine. OTOH, for scripts/kernel-doc, a similar change could have been made to dump_struct(), along with these others: # strip attributes $members =~ s/\s*$attribute/ /gi; $members =~ s/\s*__aligned\s*\([^;]*\)/ /gos; $members =~ s/\s*__packed\s*/ /gos; $members =~ s/\s*CRYPTO_MINALIGN_ATTR/ /gos; $members =~ s/\s*____cacheline_aligned_in_smp/ /gos; $members =~ s/\s*____cacheline_aligned/ /gos; -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html
Powered by blists - more mailing lists