mbox series

[GIT,PULL] Misc hardening changes for 5.19-rc1

Message ID 20220524222701.GA7784@embeddedor (mailing list archive)
State Mainlined
Commit 62e5873ec96bc2cfe809a1bc123af8101989ef5f
Headers show
Series [GIT,PULL] Misc hardening changes for 5.19-rc1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/size_t-saturating-helpers-5.19-rc1

Message

Gustavo A. R. Silva May 24, 2022, 10:27 p.m. UTC
The following changes since commit ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e:

  Linux 5.18-rc2 (2022-04-10 14:21:36 -1000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/size_t-saturating-helpers-5.19-rc1

for you to fetch changes up to 746f1b0ac5bf6ecfb71674af210ae476aa714f46:

  virt: acrn: Prefer array_size and struct_size over open coded arithmetic (2022-04-26 10:20:10 -0500)

----------------------------------------------------------------
Misc hardening changes for 5.19-rc1

Hi Linus,

Please, pull the following hardening changes that I've been collecting
in my tree during the last development cycle. All of them have been
baking in linux-next.

Replace open-coded instances with size_t saturating arithmetic helpers:

- virt: acrn: Prefer array_size and struct_size over open coded arithmetic (Len Baker)
- afs: Prefer struct_size over open coded arithmetic (Len Baker)

Thanks
--
Gustavo

----------------------------------------------------------------
Len Baker (2):
      afs: Prefer struct_size over open coded arithmetic
      virt: acrn: Prefer array_size and struct_size over open coded arithmetic

 drivers/virt/acrn/acrn_drv.h | 10 ++++++----
 drivers/virt/acrn/mm.c       |  9 ++++-----
 fs/afs/security.c            |  3 +--
 3 files changed, 11 insertions(+), 11 deletions(-)

Comments

pr-tracker-bot@kernel.org May 26, 2022, 12:09 a.m. UTC | #1
The pull request you sent on Tue, 24 May 2022 17:27:01 -0500:

> git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/size_t-saturating-helpers-5.19-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/62e5873ec96bc2cfe809a1bc123af8101989ef5f

Thank you!