diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2023-10-20 04:35:45 +0100 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-10-20 12:16:10 -0400 |
commit | d0ed46b60396cfa7e0056f55e1ce0b43c7db57b6 (patch) | |
tree | 5665eb52c4a46446cc2aa24e01004a1db09d5c2b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 64bf2f685c795e75dd855761c75a193ee5998731 (diff) |
tracing: Move readpos from seq_buf to trace_seq
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/[email protected]
Cc: Kees Cook <[email protected]>
Cc: Justin Stitt <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions