Thread (92 messages) 92 messages, 6 authors, 2025-11-24

Re: [PATCH v6 20/20] tests/liveupdate: Add in-kernel liveupdate test

From: Pasha Tatashin <pasha.tatashin@soleen.com>
Date: 2025-11-17 19:00:54
Also in: linux-doc, linux-fsdevel, linux-mm, lkml

quoted
 #endif /* _LINUX_LIVEUPDATE_ABI_LUO_H */
diff --git a/kernel/liveupdate/luo_file.c b/kernel/liveupdate/luo_file.c
index df337c9c4f21..9a531096bdb5 100644
--- a/kernel/liveupdate/luo_file.c
+++ b/kernel/liveupdate/luo_file.c
@@ -834,6 +834,8 @@ int liveupdate_register_file_handler(struct liveupdate_file_handler *fh)
      INIT_LIST_HEAD(&fh->flb_list);
      list_add_tail(&fh->list, &luo_file_handler_list);

+     liveupdate_test_register(fh);
+
Why this cannot be called from the test?
Because test does not have access to all file_handlers that are being
registered with LUO.

Pasha
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help