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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1v7tev949.fsf@ca-mkp.ca.oracle.com>
Date: Wed, 12 Feb 2025 22:04:21 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Kees Cook <kees@...nel.org>
Cc: Andy Shevchenko <andy@...nel.org>,
        Sathya Prakash
 <sathya.prakash@...adcom.com>,
        Sreekanth Reddy
 <sreekanth.reddy@...adcom.com>,
        Suganath Prabu Subramani
 <suganath-prabu.subramani@...adcom.com>,
        Kashyap Desai
 <kashyap.desai@...adcom.com>,
        Sumit Saxena <sumit.saxena@...adcom.com>,
        "James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
        "Martin
 K. Petersen" <martin.petersen@...cle.com>,
        Nilesh Javali
 <njavali@...vell.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Dave Hansen
 <dave.hansen@...ux.intel.com>,
        Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
        Borislav Petkov <bp@...en8.de>, "H.
 Peter Anvin" <hpa@...or.com>,
        Alexey Dobriyan <adobriyan@...il.com>,
        Sven Eckelmann <sven@...fation.org>,
        Tadeusz Struk
 <tadeusz.struk@...aro.org>,
        kernel test robot <lkp@...el.com>,
        Erick
 Archer <erick.archer@...look.com>,
        Dmitry Antipov <dmantipov@...dex.ru>,
        Ryusuke Konishi <konishi.ryusuke@...il.com>,
        Luc Van Oostenryck
 <luc.vanoostenryck@...il.com>,
        linux-kernel@...r.kernel.org, MPT-FusionLinux.pdl@...adcom.com,
        linux-scsi@...r.kernel.org, mpi3mr-linuxdrv.pdl@...adcom.com,
        GR-QLogic-Storage-Upstream@...vell.com,
        linux-hardening@...r.kernel.org, x86@...nel.org,
        linux-coco@...ts.linux.dev, linux-nilfs@...r.kernel.org
Subject: Re: [PATCH 00/10] Annotate arguments of memtostr/strtomem with
 __nonstring


Kees,

> The memtostr*() and strtomem*() helpers are designed to move between C
> strings (NUL-terminated) and byte arrays (that may just be zero padded
> and may not be NUL-terminated). The "nonstring" attribute is used to
> annotated these kinds of byte arrays, and we can validate the
> annotation on the arguments of the helpers. Add the the infrastructure
> to do this, and then update all the places where these annotations are
> currently missing.

Reviewed-by: Martin K. Petersen <martin.petersen@...cle.com> # SCSI

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ