* [GIT PULL] overflow helper addition for v5.8-rc2
@ 2020-06-19 2:42 Kees Cook
2020-06-19 19:30 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2020-06-19 2:42 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, Gustavo A. R. Silva
Hi Linus,
Please pull this tiny overflow helper addition for v5.8-rc2. During the
treewide clean-ups of zero-length "flexible arrays", the struct_size()
helper was heavily used, but it was noticed that many times it would
have been nice to have an additional helper to get the size of just the
flexible array itself. This need appears to be even more common when
cleaning up the 1-byte array "flexible arrays", so Gustavo implemented
it. I'd love to get this landed before -rc2 so it can be used during
the v5.9 dev cycle to ease the 1-byte array cleanups.
Thanks!
-Kees
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:
Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/overflow-v5.8-rc2
for you to fetch changes up to b19d57d0f3cc6f1022edf94daf1d70506a09e3c2:
overflow.h: Add flex_array_size() helper (2020-06-16 20:45:08 -0700)
----------------------------------------------------------------
Add flex-array size helper
----------------------------------------------------------------
Gustavo A. R. Silva (1):
overflow.h: Add flex_array_size() helper
include/linux/overflow.h | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
--
Kees Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] overflow helper addition for v5.8-rc2
2020-06-19 2:42 [GIT PULL] overflow helper addition for v5.8-rc2 Kees Cook
@ 2020-06-19 19:30 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2020-06-19 19:30 UTC (permalink / raw)
To: Kees Cook; +Cc: Linus Torvalds, linux-kernel, Gustavo A. R. Silva
The pull request you sent on Thu, 18 Jun 2020 19:42:12 -0700:
> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/overflow-v5.8-rc2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/98b769942c698e43117334332ebfed852dfa6ff9
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-19 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-19 2:42 [GIT PULL] overflow helper addition for v5.8-rc2 Kees Cook
2020-06-19 19:30 ` 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