diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-10-21 13:46:55 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-22 18:50:19 +0200 |
| commit | e4ada0bf878ad3d1f348e2fe544ffad25ed8be2b (patch) | |
| tree | 44b8f764eecdccacd804a7223aafc2a01dd94236 /tools/lib/python/kdoc/python_version.py | |
| parent | 11eef75006819f4e71d04ca2b9a1fb1580854a55 (diff) | |
selftests/filesystems: check short buffers for statmount() strings
Request strings that end up empty with buffers that aren't larger than
the fixed part of struct statmount and check that:
- every request fails with EOVERFLOW
- nothing is written past the end of the buffer, a guard page right
behind it catches that
The buffer sizes run from zero up to sizeof(struct statmount) and the
requests cover STATMOUNT_FS_TYPE, STATMOUNT_FS_SUBTYPE and
STATMOUNT_MNT_UIDMAP.
Link: https://patch.msgid.link/20261021-work-mount-statmount_listns_fixes-v1-2-8917a4c1bd14@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
