[PATCH v2 3/3] kasan: delete CONFIG_KASAN_MODULE_TEST

2024-10-13 Thread Sabyrzhan Tasbolatov
Since we've migrated all tests to the KUnit framework, we can delete CONFIG_KASAN_MODULE_TEST and mentioning of it in the documentation as well. I've used the online translator to modify the non-English documentation. Signed-off-by: Sabyrzhan Tasbolatov --- Documentation/dev-tools

[PATCH v2 2/3] kasan: migrate copy_user_test to kunit

2024-10-13 Thread Sabyrzhan Tasbolatov
Migrate the copy_user_test to the KUnit framework to verify out-of-bound detection via KASAN reports in copy_from_user(), copy_to_user() and their static functions. This is the last migrated test in kasan_test_module.c, therefore delete the file. Signed-off-by: Sabyrzhan Tasbolatov --- mm

[PATCH v2 1/3] kasan: move checks to do_strncpy_from_user

2024-10-13 Thread Sabyrzhan Tasbolatov
4077 ("x86: support user address masking instead of non-speculative conditional") Signed-off-by: Sabyrzhan Tasbolatov --- lib/strncpy_from_user.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/strncpy_from_user.c b/lib/strncpy_from_user.c index 989a12a6787..f36a

[PATCH v2 0/3] kasan: migrate the last module test to kunit

2024-10-13 Thread Sabyrzhan Tasbolatov
deleted CONFIG_KASAN_MODULE_TEST at all with the documentation in separate commit. - added Documentation maintainers in CC. Sabyrzhan Tasbolatov (3): kasan: move checks to do_strncpy_from_user kasan: migrate copy_user_test to kunit kasan: delete CONFIG_KASAN_MODULE_TEST Documentation/dev-tools/k

[PATCH v3 3/3] kasan: delete CONFIG_KASAN_MODULE_TEST

2024-10-13 Thread Sabyrzhan Tasbolatov
Since we've migrated all tests to the KUnit framework, we can delete CONFIG_KASAN_MODULE_TEST and mentioning of it in the documentation as well. I've used the online translator to modify the non-English documentation. Signed-off-by: Sabyrzhan Tasbolatov --- Changes v2 -> v3: - app

[PATCH v3 2/3] kasan: migrate copy_user_test to kunit

2024-10-13 Thread Sabyrzhan Tasbolatov
Migrate the copy_user_test to the KUnit framework to verify out-of-bound detection via KASAN reports in copy_from_user(), copy_to_user() and their static functions. This is the last migrated test in kasan_test_module.c, therefore delete the file. Signed-off-by: Sabyrzhan Tasbolatov --- Changes

[PATCH RESEND v3 0/3] kasan: migrate the last module test to kunit

2024-10-13 Thread Sabyrzhan Tasbolatov
aintainers in CC. Sabyrzhan Tasbolatov (3): kasan: move checks to do_strncpy_from_user kasan: migrate copy_user_test to kunit kasan: delete CONFIG_KASAN_MODULE_TEST Documentation/dev-tools/kasan.rst | 9 +-- .../translations/zh_CN/dev-tools/kasan.rst| 6 +- .../translations

[PATCH RESEND v3 3/3] kasan: delete CONFIG_KASAN_MODULE_TEST

2024-10-13 Thread Sabyrzhan Tasbolatov
Since we've migrated all tests to the KUnit framework, we can delete CONFIG_KASAN_MODULE_TEST and mentioning of it in the documentation as well. I've used the online translator to modify the non-English documentation. Reviewed-by: Andrey Konovalov Signed-off-by: Sabyrzhan

[PATCH RESEND v3 2/3] kasan: migrate copy_user_test to kunit

2024-10-13 Thread Sabyrzhan Tasbolatov
: Sabyrzhan Tasbolatov --- Changes v2 -> v3: - added a long string in usermem for strncpy_from_user. Suggested by Andrey. --- mm/kasan/Makefile| 2 - mm/kasan/kasan_test_c.c | 47 + mm/kasan/kasan_test_module.c | 81 3 fi

[PATCH RESEND v3 1/3] kasan: move checks to do_strncpy_from_user

2024-10-13 Thread Sabyrzhan Tasbolatov
4077 ("x86: support user address masking instead of non-speculative conditional") Reviewed-by: Andrey Konovalov Signed-off-by: Sabyrzhan Tasbolatov --- lib/strncpy_from_user.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/strncpy_from_user.c b/lib/strnc

Re: [PATCH RESEND v3 2/3] kasan: migrate copy_user_test to kunit

2024-10-15 Thread Sabyrzhan Tasbolatov
On Tue, Oct 15, 2024 at 6:18 AM Andrey Konovalov wrote: > > On Tue, Oct 15, 2024 at 1:10 AM Andrew Morton > wrote: > > > > On Mon, 14 Oct 2024 07:57:00 +0500 Sabyrzhan Tasbolatov > > wrote: > > > > > Migrate the copy_user_test to the KUnit framework

[PATCH v4 0/3] kasan: migrate the last module test to kunit

2024-10-16 Thread Sabyrzhan Tasbolatov
drey's review. - deleted corresponding entries of kasan_test_module.o in Makefile - deleted CONFIG_KASAN_MODULE_TEST at all with the documentation in separate commit. - added Documentation maintainers in CC. Sabyrzhan Tasbolatov (3): kasan: move checks to do_strncpy_from_user kasan: migrate co

[PATCH v4 1/3] kasan: move checks to do_strncpy_from_user

2024-10-16 Thread Sabyrzhan Tasbolatov
4077 ("x86: support user address masking instead of non-speculative conditional") Reviewed-by: Andrey Konovalov Signed-off-by: Sabyrzhan Tasbolatov --- lib/strncpy_from_user.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/strncpy_from_user.c b/lib/strnc

[PATCH v4 2/3] kasan: migrate copy_user_test to kunit

2024-10-16 Thread Sabyrzhan Tasbolatov
: Sabyrzhan Tasbolatov --- Changes v2 -> v3: - added a long string in usermem for strncpy_from_user. Suggested by Andrey. --- mm/kasan/Makefile| 2 - mm/kasan/kasan_test_c.c | 47 + mm/kasan/kasan_test_module.c | 81 3 fi

[PATCH v4 3/3] kasan: delete CONFIG_KASAN_MODULE_TEST

2024-10-16 Thread Sabyrzhan Tasbolatov
Since we've migrated all tests to the KUnit framework, we can delete CONFIG_KASAN_MODULE_TEST and mentioning of it in the documentation as well. I've used the online translator to modify the non-English documentation. Reviewed-by: Andrey Konovalov Signed-off-by: Sabyrzhan

Re: [RFC 0/2] Add AI coding assistant configuration to Linux kernel

2025-07-28 Thread Sabyrzhan Tasbolatov
On Mon, Jul 28, 2025 at 11:40 AM Kees Cook wrote: > > On Sun, Jul 27, 2025 at 03:45:42PM +, Dr. David Alan Gilbert wrote: > > When doing qemu dev, I frequently run it in a tmux, and start it with > > '-nographic' which gets you a single stream with both serial and monitor in > > it; > > alter

Re: [RFC 0/2] Add AI coding assistant configuration to Linux kernel

2025-07-27 Thread Sabyrzhan Tasbolatov
On 7/25/25 22:53, Sasha Levin wrote: > This patch series adds unified configuration and documentation for AI > coding assistants working with the Linux kernel codebase. As AI tools > become increasingly common in software development, it's important to > establish clear guidelines for their use in