linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] overflow updates for v5.18-rc1
@ 2022-03-21 15:26 Kees Cook
  2022-03-22  3:06 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2022-03-21 15:26 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Anton Ivanov, Arnd Bergmann, Daniel Latypov,
	David Gow, Gustavo A. R. Silva, Jason Gunthorpe, Jeff Dike,
	Kees Cook, Keith Busch, Len Baker, Leon Romanovsky, linux-kbuild,
	Masahiro Yamada, Nathan Chancellor, Nick Desaulniers,
	Rasmus Villemoes, Richard Weinberger, Vitor Massaru Iha

Hi Linus,

Please pull these overflow updates for v5.18-rc1. These changes come in
roughly two halves: support of Gustavo A. R. Silva's struct_size()
work via additional helpers for catching overflow allocation size
calculations, and conversions of selftests to KUnit (which includes
some tweaks for UML + Clang).

Thanks!

-Kees

The following changes since commit dfd42facf1e4ada021b939b4e19c935dcdd55566:

  Linux 5.17-rc3 (2022-02-06 12:20:50 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/overflow-v5.18-rc1

for you to fetch changes up to 02788ebcf521fe78c24eb221fd1ed7f86792c330:

  lib: stackinit: Convert to KUnit (2022-03-21 08:13:04 -0700)

----------------------------------------------------------------
overflow updates for v5.18-rc1

- Convert overflow selftest to KUnit
- Convert stackinit selftest to KUnit
- Implement size_t saturating arithmetic helpers
- Allow struct_size() to be used in initializers

----------------------------------------------------------------
Kees Cook (6):
      test_overflow: Regularize test reporting output
      overflow: Implement size_t saturating arithmetic helpers
      overflow: Provide constant expression struct_size
      lib: overflow: Convert to Kunit
      um: Allow builds with Clang
      lib: stackinit: Convert to KUnit

 Documentation/process/deprecated.rst        |  20 +-
 arch/um/os-Linux/execvp.c                   |   1 +
 arch/x86/um/user-offsets.c                  |   9 +-
 include/linux/overflow.h                    | 114 +++---
 lib/Kconfig.debug                           |  38 +-
 lib/Makefile                                |   6 +-
 lib/{test_overflow.c => overflow_kunit.c}   | 518 +++++++++++++++-------------
 lib/{test_stackinit.c => stackinit_kunit.c} | 269 ++++++---------
 scripts/Makefile.clang                      |   1 +
 9 files changed, 518 insertions(+), 458 deletions(-)
 rename lib/{test_overflow.c => overflow_kunit.c} (54%)
 rename lib/{test_stackinit.c => stackinit_kunit.c} (66%)

-- 
Kees Cook

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] overflow updates for v5.18-rc1
  2022-03-21 15:26 [GIT PULL] overflow updates for v5.18-rc1 Kees Cook
@ 2022-03-22  3:06 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2022-03-22  3:06 UTC (permalink / raw)
  To: Kees Cook
  Cc: Linus Torvalds, linux-kernel, Anton Ivanov, Arnd Bergmann,
	Daniel Latypov, David Gow, Gustavo A. R. Silva, Jason Gunthorpe,
	Jeff Dike, Kees Cook, Keith Busch, Len Baker, Leon Romanovsky,
	linux-kbuild, Masahiro Yamada, Nathan Chancellor,
	Nick Desaulniers, Rasmus Villemoes, Richard Weinberger,
	Vitor Massaru Iha

The pull request you sent on Mon, 21 Mar 2022 08:26:31 -0700:

> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/overflow-v5.18-rc1

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

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-22  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 15:26 [GIT PULL] overflow updates for v5.18-rc1 Kees Cook
2022-03-22  3:06 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).