[PATCH 0/2] Add __counted_by_ptr attribute to struct uid_gid_map

Bill Wendling posted 2 patches 1 month ago
include/linux/user_namespace.h |  4 +-
init/Kconfig                   | 10 ++++
kernel/.kunitconfig            |  3 ++
kernel/user_namespace.c        | 12 +++--
kernel/user_namespace_kunit.c  | 87 ++++++++++++++++++++++++++++++++++
5 files changed, 110 insertions(+), 6 deletions(-)
create mode 100644 kernel/.kunitconfig
create mode 100644 kernel/user_namespace_kunit.c
[PATCH 0/2] Add __counted_by_ptr attribute to struct uid_gid_map
Posted by Bill Wendling 1 month ago
Bill Wendling (2):
  userns: Add __counted_by_ptr attribute to struct uid_gid_map
  userns: Add KUnit test suite for uid_gid_map

 include/linux/user_namespace.h |  4 +-
 init/Kconfig                   | 10 ++++
 kernel/.kunitconfig            |  3 ++
 kernel/user_namespace.c        | 12 +++--
 kernel/user_namespace_kunit.c  | 87 ++++++++++++++++++++++++++++++++++
 5 files changed, 110 insertions(+), 6 deletions(-)
 create mode 100644 kernel/.kunitconfig
 create mode 100644 kernel/user_namespace_kunit.c

-- 
2.55.0.860.g4b6b3295ed-goog