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-next>] [day] [month] [year] [list]
Message-Id: <20230929180305.work.590-kees@kernel.org>
Date:   Fri, 29 Sep 2023 11:04:23 -0700
From:   Kees Cook <keescook@...omium.org>
To:     Jason Gunthorpe <jgg@...pe.ca>
Cc:     Kees Cook <keescook@...omium.org>,
        Dennis Dalessandro <dennis.dalessandro@...nelisnetworks.com>,
        Leon Romanovsky <leon@...nel.org>,
        HÃ¥kon Bugge <haakon.bugge@...cle.com>,
        Avihai Horon <avihaih@...dia.com>,
        Anand Khoje <anand.a.khoje@...cle.com>,
        Mark Bloch <mbloch@...dia.com>,
        Christian Benvenuti <benve@...co.com>,
        Nelson Escobar <neescoba@...co.com>,
        Bernard Metzler <bmt@...ich.ibm.com>,
        Bart Van Assche <bvanassche@....org>,
        "Gustavo A. R. Silva" <gustavoars@...nel.org>,
        Nathan Chancellor <nathan@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        Tom Rix <trix@...hat.com>,
        Patrisious Haddad <phaddad@...dia.com>,
        Chuck Lever <chuck.lever@...cle.com>,
        Tom Talpey <tom@...pey.com>,
        wangjianli <wangjianli@...rlc.com>, linux-kernel@...r.kernel.org,
        linux-rdma@...r.kernel.org, linux-hardening@...r.kernel.org,
        llvm@...ts.linux.dev
Subject: [PATCH 0/7] RDMA: Annotate structs with __counted_by

Hi,

This annotates several structures with the coming __counted_by attribute
for bounds checking of flexible arrays at run-time. For more details, see
commit dd06e72e68bc ("Compiler Attributes: Add __counted_by macro").

Thanks!

-Kees

Kees Cook (7):
  RDMA: Annotate struct rdma_hw_stats with __counted_by
  RDMA/core: Annotate struct ib_pkey_cache with __counted_by
  RDMA/usnic: Annotate struct usnic_uiom_chunk with __counted_by
  RDMA/siw: Annotate struct siw_pbl with __counted_by
  IB/srp: Annotate struct srp_fr_pool with __counted_by
  IB/mthca: Annotate struct mthca_icm_table with __counted_by
  IB/hfi1: Annotate struct tid_rb_node with __counted_by

 drivers/infiniband/core/cache.c             | 2 +-
 drivers/infiniband/hw/hfi1/user_exp_rcv.h   | 2 +-
 drivers/infiniband/hw/mthca/mthca_memfree.h | 2 +-
 drivers/infiniband/hw/usnic/usnic_uiom.h    | 2 +-
 drivers/infiniband/sw/siw/siw.h             | 2 +-
 drivers/infiniband/ulp/srp/ib_srp.h         | 2 +-
 include/rdma/ib_verbs.h                     | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ