generic string library · Supported
Maintainers
- M Kees Cook <kees@kernel.org>
- R Andy Shevchenko <andy@kernel.org>
Paths
- F
include/linux/string.h - F
include/linux/string_choices.h - F
include/linux/string_helpers.h - F
lib/string.c - F
lib/string_helpers.c - F
lib/tests/string_helpers_kunit.c - F
lib/tests/string_kunit.c - F
scripts/coccinelle/api/string_choices.cocci
Last 30 days
Recent patches
Most-recent 30 patches in this subsystem on netdev (capped at 30), ordered by date desc.
-
COLD38d
Re: [PATCH net-next] net/devlink: Use strscpy() to copy strings into arrays
2026-06-10 · Kees Cook <kees@kernel.org> -
STALE455d
REVIEWED: 14 (14M) [PATCH v2 12/14] lib: Allow modules to use strnchrnul
2025-04-09 · Ivan Vecera <ivecera@redhat.com> -
STALE460d
REVIEWED: 1 (0M) [PATCH 10/28] lib: Allow modules to use strnchrnul
2025-04-07 · Ivan Vecera <ivecera@redhat.com> -
STALE682d
[PATCH -next 1/4] lib/string_choices: Introduce several opposite string choice helpers
2024-08-31 · Hongbo Li <lihongbo22@huawei.com> -
STALE673d
Re: [PATCH v8 1/8] Get rid of __get_task_comm()
2024-08-28 · Yafang Shao <hidden> -
STALE767d
[PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()
2024-06-03 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE1243d
[PATCH net-next v1 1/2] string: Make memscan() to take const
2023-02-16 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE1254d
LANDED: 1 (0M) [PATCH net-next v3 1/3] string_helpers: Move string_is_valid() to the header
2023-02-08 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE1256d
REVIEWED: 1 (0M) [PATCH net-next v2 1/3] string_helpers: Move string_is_valid() to the header
2023-02-06 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE1260d
[PATCH v1 1/3] string_helpers: Move string_is_valid() to the header
2023-02-03 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE1528d
LANDED [PATCH] fortify: Provide a memcpy trap door for sharp corners
2022-05-11 · Kees Cook <hidden> -
STALE1523d
[PATCH 02/32] Introduce flexible array struct memcpy() helpers
2022-05-04 · Kees Cook <hidden> -
STALE1628d
REVIEWED: 3 (0M) [PATCH v2 01/11] lib/string_helpers: Consolidate string helpers implementation
2022-01-26 · Lucas De Marchi <hidden> -
STALE1634d
[PATCH 2/3] lib/string_helpers: Add helpers for enable[d]/disable[d]
2022-01-19 · Lucas De Marchi <hidden> -
STALE1634d
[PATCH 1/3] lib/string_helpers: Consolidate yesno() implementation
2022-01-19 · Lucas De Marchi <hidden> -
STALE1682d
[PATCH -next 1/2] string.h: Introduce memset_range() for wiping members
2021-12-08 · Xiu Jianfeng <xiujianfeng@huawei.com> -
STALE1697d
[PATCH v2 27/63] fortify: Move remaining fortify helpers into fortify-string.h
2021-08-18 · Kees Cook <hidden> -
STALE1697d
[PATCH v2 26/63] lib/string: Move helper functions out of string.c
2021-08-18 · Kees Cook <hidden> -
STALE1697d
[PATCH v2 37/63] string.h: Introduce memset_after() for wiping trailing members/padding
2021-08-18 · Kees Cook <hidden> -
STALE1697d
[PATCH v2 34/63] fortify: Detect struct member overflows in memcpy() at compile-time
2021-08-18 · Kees Cook <hidden> -
STALE1800d
[PATCH 37/64] string.h: Introduce memset_after() for wiping trailing members/padding
2021-07-27 · Kees Cook <hidden> -
STALE1800d
[PATCH 34/64] fortify: Detect struct member overflows in memcpy() at compile-time
2021-07-27 · Kees Cook <hidden> -
STALE1800d
[PATCH 29/64] lib/string: Move helper functions out of string.c
2021-07-27 · Kees Cook <hidden> -
STALE1800d
[PATCH 30/64] fortify: Move remaining fortify helpers into fortify-string.h
2021-07-27 · Kees Cook <hidden> -
STALE1706d
[PATCH v1 3/3] string: Move enableddisabled() helper under string.h hood
2021-02-15 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE1706d
[PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood
2021-02-15 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE1706d
[PATCH v1 2/3] string: Move onoff() helper under string.h hood
2021-02-15 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE2155d
[PATCH v2 1/2] mm: add GFP mask param to strndup_user
2020-08-22 · Pascal Bouchareine <hidden> -
STALE2155d
[PATCH 1/2] mm: add GFP mask param to strndup_user
2020-08-15 · Pascal Bouchareine <hidden> -
STALE2607d
[PATCH 3/3][V2] lib: re-introduce new match_string() helper/macro
2019-05-28 · Alexandru Ardelean <hidden>
Quiet for 30+ days
Patches with no review trailers and no replies. Either the author is heads-down elsewhere or these slipped through. Oldest first.
-
COLD38d
Re: [PATCH net-next] net/devlink: Use strscpy() to copy strings into arrays
2026-06-10 · Kees Cook <kees@kernel.org>