Logo
Explore Help
Register Sign In
imrcpan/erofs-linux
Watch 1
Star 0 Fork 0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git synced 2026-10-31 14:23:49 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
erofs-linux/tools/testing/selftests/livepatch/test_modules
T
History
Rui Qi 7203abb3f8 selftests/livepatch: fix resource leak in test_klp_syscall init error path
In livepatch_init(), if klp_enable_patch() fails, the previously
created kobject and sysfs file are never cleaned up, causing a
resource leak. Capture the return value and add proper cleanup
on the error path.

Signed-off-by: Rui Qi <[email protected]>
Acked-by: Miroslav Benes <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
2026-06-09 12:38:33 +02:00
..
Makefile
selftests/livepatch: add test for module function patching
2026-03-30 15:37:31 +02:00
test_klp_atomic_replace.c
…
test_klp_callbacks_busy.c
…
test_klp_callbacks_demo2.c
…
test_klp_callbacks_demo.c
…
test_klp_callbacks_mod.c
…
test_klp_kprobe.c
…
test_klp_livepatch.c
…
test_klp_mod_patch.c
selftests/livepatch: add test for module function patching
2026-03-30 15:37:31 +02:00
test_klp_mod_target.c
selftests/livepatch: add test for module function patching
2026-03-30 15:37:31 +02:00
test_klp_shadow_vars.c
…
test_klp_state2.c
…
test_klp_state3.c
…
test_klp_state.c
…
test_klp_syscall.c
selftests/livepatch: fix resource leak in test_klp_syscall init error path
2026-06-09 12:38:33 +02:00
Powered by Gitea Version: 28.2.0 Page: 1152ms Template: 64ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API