Lines Matching refs:MOD_LIVEPATCH
7 MOD_LIVEPATCH=test_klp_callbacks_demo
35 load_lp $MOD_LIVEPATCH
36 disable_lp $MOD_LIVEPATCH
37 unload_lp $MOD_LIVEPATCH
42 % modprobe $MOD_LIVEPATCH
43 livepatch: enabling patch '$MOD_LIVEPATCH'
44 livepatch: '$MOD_LIVEPATCH': initializing patching transition
45 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
46 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
47 livepatch: '$MOD_LIVEPATCH': starting patching transition
48 livepatch: '$MOD_LIVEPATCH': completing patching transition
49 $MOD_LIVEPATCH: post_patch_callback: vmlinux
50 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
51 livepatch: '$MOD_LIVEPATCH': patching complete
52 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
53 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
54 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
55 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
56 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
57 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
58 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
59 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
60 livepatch: '$MOD_LIVEPATCH': unpatching complete
61 % rmmod $MOD_LIVEPATCH
84 load_lp $MOD_LIVEPATCH
86 disable_lp $MOD_LIVEPATCH
87 unload_lp $MOD_LIVEPATCH
90 check_result "% modprobe $MOD_LIVEPATCH
91 livepatch: enabling patch '$MOD_LIVEPATCH'
92 livepatch: '$MOD_LIVEPATCH': initializing patching transition
93 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
94 livepatch: '$MOD_LIVEPATCH': starting patching transition
95 livepatch: '$MOD_LIVEPATCH': completing patching transition
96 $MOD_LIVEPATCH: post_patch_callback: vmlinux
97 livepatch: '$MOD_LIVEPATCH': patching complete
99 livepatch: applying patch '$MOD_LIVEPATCH' to loading module '$MOD_TARGET'
100 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modul…
101 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modu…
103 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
104 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
105 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
106 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
107 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
108 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
109 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
110 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
111 livepatch: '$MOD_LIVEPATCH': unpatching complete
112 % rmmod $MOD_LIVEPATCH
136 load_lp $MOD_LIVEPATCH
138 disable_lp $MOD_LIVEPATCH
139 unload_lp $MOD_LIVEPATCH
143 % modprobe $MOD_LIVEPATCH
144 livepatch: enabling patch '$MOD_LIVEPATCH'
145 livepatch: '$MOD_LIVEPATCH': initializing patching transition
146 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
147 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
148 livepatch: '$MOD_LIVEPATCH': starting patching transition
149 livepatch: '$MOD_LIVEPATCH': completing patching transition
150 $MOD_LIVEPATCH: post_patch_callback: vmlinux
151 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
152 livepatch: '$MOD_LIVEPATCH': patching complete
155 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_GOING] Going away
156 livepatch: reverting patch '$MOD_LIVEPATCH' on unloading module '$MOD_TARGET'
157 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_GOING] Going away
158 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
159 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
160 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
161 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
162 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
163 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
164 livepatch: '$MOD_LIVEPATCH': unpatching complete
165 % rmmod $MOD_LIVEPATCH"
186 load_lp $MOD_LIVEPATCH
189 disable_lp $MOD_LIVEPATCH
190 unload_lp $MOD_LIVEPATCH
192 check_result "% modprobe $MOD_LIVEPATCH
193 livepatch: enabling patch '$MOD_LIVEPATCH'
194 livepatch: '$MOD_LIVEPATCH': initializing patching transition
195 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
196 livepatch: '$MOD_LIVEPATCH': starting patching transition
197 livepatch: '$MOD_LIVEPATCH': completing patching transition
198 $MOD_LIVEPATCH: post_patch_callback: vmlinux
199 livepatch: '$MOD_LIVEPATCH': patching complete
201 livepatch: applying patch '$MOD_LIVEPATCH' to loading module '$MOD_TARGET'
202 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modul…
203 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modu…
207 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_GOING] Going away
208 livepatch: reverting patch '$MOD_LIVEPATCH' on unloading module '$MOD_TARGET'
209 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_GOING] Going away
210 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
211 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
212 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
213 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
214 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
215 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
216 livepatch: '$MOD_LIVEPATCH': unpatching complete
217 % rmmod $MOD_LIVEPATCH"
233 load_lp $MOD_LIVEPATCH
234 disable_lp $MOD_LIVEPATCH
235 unload_lp $MOD_LIVEPATCH
237 check_result "% modprobe $MOD_LIVEPATCH
238 livepatch: enabling patch '$MOD_LIVEPATCH'
239 livepatch: '$MOD_LIVEPATCH': initializing patching transition
240 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
241 livepatch: '$MOD_LIVEPATCH': starting patching transition
242 livepatch: '$MOD_LIVEPATCH': completing patching transition
243 $MOD_LIVEPATCH: post_patch_callback: vmlinux
244 livepatch: '$MOD_LIVEPATCH': patching complete
245 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
246 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
247 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
248 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
249 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
250 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
251 livepatch: '$MOD_LIVEPATCH': unpatching complete
252 % rmmod $MOD_LIVEPATCH"
272 load_failing_mod $MOD_LIVEPATCH pre_patch_ret=-19
277 % modprobe $MOD_LIVEPATCH pre_patch_ret=-19
278 livepatch: enabling patch '$MOD_LIVEPATCH'
279 livepatch: '$MOD_LIVEPATCH': initializing patching transition
282 livepatch: failed to enable patch '$MOD_LIVEPATCH'
283 livepatch: '$MOD_LIVEPATCH': canceling patching transition, going to unpatch
284 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
285 livepatch: '$MOD_LIVEPATCH': unpatching complete
286 modprobe: ERROR: could not insert '$MOD_LIVEPATCH': No such device
313 load_lp $MOD_LIVEPATCH
314 set_pre_patch_ret $MOD_LIVEPATCH -19
316 disable_lp $MOD_LIVEPATCH
317 unload_lp $MOD_LIVEPATCH
319 check_result "% modprobe $MOD_LIVEPATCH
320 livepatch: enabling patch '$MOD_LIVEPATCH'
321 livepatch: '$MOD_LIVEPATCH': initializing patching transition
322 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
323 livepatch: '$MOD_LIVEPATCH': starting patching transition
324 livepatch: '$MOD_LIVEPATCH': completing patching transition
325 $MOD_LIVEPATCH: post_patch_callback: vmlinux
326 livepatch: '$MOD_LIVEPATCH': patching complete
327 % echo -19 > /sys/module/$MOD_LIVEPATCH/parameters/pre_patch_ret
329 livepatch: applying patch '$MOD_LIVEPATCH' to loading module '$MOD_TARGET'
330 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modul…
332 livepatch: patch '$MOD_LIVEPATCH' failed for module '$MOD_TARGET', refusing to load module '$MOD_TA…
334 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
335 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
336 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
337 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
338 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
339 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
340 livepatch: '$MOD_LIVEPATCH': unpatching complete
341 % rmmod $MOD_LIVEPATCH"
362 load_lp $MOD_LIVEPATCH
365 disable_lp $MOD_LIVEPATCH
366 unload_lp $MOD_LIVEPATCH
373 % modprobe $MOD_LIVEPATCH
374 livepatch: enabling patch '$MOD_LIVEPATCH'
375 livepatch: '$MOD_LIVEPATCH': initializing patching transition
376 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
377 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET_BUSY -> [MODULE_STATE_LIVE] Normal state
378 livepatch: '$MOD_LIVEPATCH': starting patching transition
379 livepatch: '$MOD_LIVEPATCH': completing patching transition
380 $MOD_LIVEPATCH: post_patch_callback: vmlinux
381 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET_BUSY -> [MODULE_STATE_LIVE] Normal state
382 livepatch: '$MOD_LIVEPATCH': patching complete
384 livepatch: applying patch '$MOD_LIVEPATCH' to loading module '$MOD_TARGET'
385 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modul…
386 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modu…
390 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_GOING] Going away
391 livepatch: reverting patch '$MOD_LIVEPATCH' on unloading module '$MOD_TARGET'
392 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_GOING] Going away
393 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
394 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
395 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
396 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET_BUSY -> [MODULE_STATE_LIVE] Normal state
397 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
398 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
399 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
400 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET_BUSY -> [MODULE_STATE_LIVE] Normal state
401 livepatch: '$MOD_LIVEPATCH': unpatching complete
402 % rmmod $MOD_LIVEPATCH
442 load_lp_nowait $MOD_LIVEPATCH
448 disable_lp $MOD_LIVEPATCH
449 unload_lp $MOD_LIVEPATCH
455 % modprobe $MOD_LIVEPATCH
456 livepatch: enabling patch '$MOD_LIVEPATCH'
457 livepatch: '$MOD_LIVEPATCH': initializing patching transition
458 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
459 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET_BUSY -> [MODULE_STATE_LIVE] Normal state
460 livepatch: '$MOD_LIVEPATCH': starting patching transition
462 livepatch: applying patch '$MOD_LIVEPATCH' to loading module '$MOD_TARGET'
463 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_COMING] Full formed, running modul…
467 livepatch: reverting patch '$MOD_LIVEPATCH' on unloading module '$MOD_TARGET'
468 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_GOING] Going away
469 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
470 livepatch: '$MOD_LIVEPATCH': reversing transition from patching to unpatching
471 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
472 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
473 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
474 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET_BUSY -> [MODULE_STATE_LIVE] Normal state
475 livepatch: '$MOD_LIVEPATCH': unpatching complete
476 % rmmod $MOD_LIVEPATCH
494 load_lp $MOD_LIVEPATCH
497 disable_lp $MOD_LIVEPATCH
499 unload_lp $MOD_LIVEPATCH
501 check_result "% modprobe $MOD_LIVEPATCH
502 livepatch: enabling patch '$MOD_LIVEPATCH'
503 livepatch: '$MOD_LIVEPATCH': initializing patching transition
504 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
505 livepatch: '$MOD_LIVEPATCH': starting patching transition
506 livepatch: '$MOD_LIVEPATCH': completing patching transition
507 $MOD_LIVEPATCH: post_patch_callback: vmlinux
508 livepatch: '$MOD_LIVEPATCH': patching complete
524 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
525 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
526 $MOD_LIVEPATCH: pre_unpatch_callback: vmlinux
527 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
528 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
529 $MOD_LIVEPATCH: post_unpatch_callback: vmlinux
530 livepatch: '$MOD_LIVEPATCH': unpatching complete
532 % rmmod $MOD_LIVEPATCH"
554 load_lp $MOD_LIVEPATCH
558 unload_lp $MOD_LIVEPATCH
560 check_result "% modprobe $MOD_LIVEPATCH
561 livepatch: enabling patch '$MOD_LIVEPATCH'
562 livepatch: '$MOD_LIVEPATCH': initializing patching transition
563 $MOD_LIVEPATCH: pre_patch_callback: vmlinux
564 livepatch: '$MOD_LIVEPATCH': starting patching transition
565 livepatch: '$MOD_LIVEPATCH': completing patching transition
566 $MOD_LIVEPATCH: post_patch_callback: vmlinux
567 livepatch: '$MOD_LIVEPATCH': patching complete
584 % rmmod $MOD_LIVEPATCH"