summaryrefslogtreecommitdiff
path: root/lib/check_signature.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-10-20 04:35:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:31:55 +0100
commitc46547b4686e9099dbad1f6f8e29f65a0b2c461c (patch)
treecfb63c821d2fe49b3a326de863efd2d4a775327f /lib/check_signature.c
parent1ec141d8f51b21a22e05ecd3bd1bf52e10fe00a1 (diff)
downloadlinux-c46547b4686e9099dbad1f6f8e29f65a0b2c461c.tar.gz
linux-c46547b4686e9099dbad1f6f8e29f65a0b2c461c.tar.bz2
linux-c46547b4686e9099dbad1f6f8e29f65a0b2c461c.zip
tracing: Move readpos from seq_buf to trace_seq
[ Upstream commit d0ed46b60396cfa7e0056f55e1ce0b43c7db57b6 ] To make seq_buf more lightweight as a string buf, move the readpos member from seq_buf to its container, trace_seq. That puts the responsibility of maintaining the readpos entirely in the tracing code. If some future users want to package up the readpos with a seq_buf, we can define a new struct then. Link: https://lore.kernel.org/linux-trace-kernel/20231020033545.2587554-2-willy@infradead.org Cc: Kees Cook <keescook@chromium.org> Cc: Justin Stitt <justinstitt@google.com> Cc: Kent Overstreet <kent.overstreet@linux.dev> Cc: Petr Mladek <pmladek@suse.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Stable-dep-of: afd2627f727b ("tracing: Check "%s" dereference via the field and not the TP_printk format") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/check_signature.c')
0 files changed, 0 insertions, 0 deletions