From: Daniel Thompson <daniel.thompson@linaro.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jason Wessel <jason.wessel@windriver.com>,
linux-kernel@vger.kernel.org,
Douglas Anderson <dianders@chromium.org>,
Thorsten Blum <thorsten.blum@toblux.com>,
Justin Stitt <justinstitt@google.com>, Liuye <liu.yeC@h3c.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [GIT PULL] kgdb changes for v6.10
Date: Sat, 18 May 2024 16:26:55 +0100 [thread overview]
Message-ID: <20240518152655.GA5820@aspen.lan> (raw)
Hi Linus
The following changes since commit 0bbac3facb5d6cc0171c45c9873a2dc96bea9680:
Linux 6.9-rc4 (2024-04-14 13:38:39 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-6.10-rc1
for you to fetch changes up to b2aba15ad6f908d1a620fd97f6af5620c3639742:
serial: kgdboc: Fix NMI-safety problems from keyboard reset code (2024-04-26 17:14:10 +0100)
----------------------------------------------------------------
kgdb patches for 6.10
Nine patches this cycle and they split into just three topics:
1. Adopt coccinelle's recommendation to adopt str_plural().
2. A set of seven patches to refactor kdb_read() to improve both code clarity
and it's discipline with respect to fixed size buffers. This isn't just a
refactor. Between them these also fix a cursor movement redraw problem and
two buffer overflows (one latent and one real, albeit difficult to
tickle).
3. Fix an NMI-safety problem when enqueuing kdb's keyboard reset code.
I wrote eight of the nine patches in this collection so many thanks to Doug
Anderson for the reviews. The changes that affects drivers/tty/serial is
acked by Greg KH.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
----------------------------------------------------------------
Daniel Thompson (8):
kdb: Fix buffer overflow during tab-complete
kdb: Use format-strings rather than '\0' injection in kdb_read()
kdb: Fix console handling when editing and tab-completing commands
kdb: Merge identical case statements in kdb_read()
kdb: Use format-specifiers rather than memset() for padding in kdb_read()
kdb: Replace double memcpy() with memmove() in kdb_read()
kdb: Simplify management of tmpbuffer in kdb_read()
serial: kgdboc: Fix NMI-safety problems from keyboard reset code
Thorsten Blum (1):
kdb: Use str_plural() to fix Coccinelle warning
drivers/tty/serial/kgdboc.c | 30 ++++++++-
kernel/debug/kdb/kdb_io.c | 153 ++++++++++++++++++++++----------------------
kernel/debug/kdb/kdb_main.c | 2 +-
3 files changed, 108 insertions(+), 77 deletions(-)
next reply other threads:[~2024-05-18 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-18 15:26 Daniel Thompson [this message]
2024-05-19 19:36 ` [GIT PULL] kgdb changes for v6.10 pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240518152655.GA5820@aspen.lan \
--to=daniel.thompson@linaro.org \
--cc=dianders@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=jason.wessel@windriver.com \
--cc=justinstitt@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liu.yeC@h3c.com \
--cc=thorsten.blum@toblux.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.