Skip to content

Add __counted_by_ptr attribute to struct stack_trace

Bill Wendling linux-hardening linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2stacktrace: Add __counted_by_ptr attribute to struct stack_traceinclude/linux/stacktrace.h+1 -11 reply
2/2lib/tests: Add KUnit test for struct stack_trace __counted_by_ptr attributelib/Kconfig.debug lib/kunit/.kunitconfig lib/tests/Makefile +1 more+63 -06 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGustavo A. R. Silva
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add __counted_by_ptr attribute to struct stack_trace

Bill Wendling (2):
stacktrace: Add __counted_by_ptr attribute to struct stack_trace lib/tests: Add KUnit test for struct stack_trace __counted_by_ptr attribute

 include/linux/stacktrace.h   |  2 +-
 lib/Kconfig.debug            | 10 +++++++
 lib/kunit/.kunitconfig       |  1 +
 lib/tests/Makefile           |  1 +
 lib/tests/stacktrace_kunit.c | 51 ++++++++++++++++++++++++++++++++++++
 5 files changed, 64 insertions(+), 1 deletion(-)
 create mode 100644 lib/tests/stacktrace_kunit.c
Signature · 1 line
2.55.0.860.g4b6b3295ed-goog