Lines Matching refs:MOD_LIVEPATCH
7 MOD_LIVEPATCH=test_klp_livepatch
19 load_failing_mod $MOD_LIVEPATCH
22 load_lp $MOD_LIVEPATCH
23 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH: this has been live patched" ]] ; then
29 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH: this has been live patched" ]] ; then
33 disable_lp $MOD_LIVEPATCH
34 unload_lp $MOD_LIVEPATCH
37 % modprobe $MOD_LIVEPATCH
38 livepatch: enabling patch '$MOD_LIVEPATCH'
39 livepatch: '$MOD_LIVEPATCH': initializing patching transition
42 livepatch: failed to enable patch '$MOD_LIVEPATCH'
43 livepatch: '$MOD_LIVEPATCH': canceling patching transition, going to unpatch
44 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
45 livepatch: '$MOD_LIVEPATCH': unpatching complete
46 modprobe: ERROR: could not insert '$MOD_LIVEPATCH': Device or resource busy
48 % modprobe $MOD_LIVEPATCH
49 livepatch: enabling patch '$MOD_LIVEPATCH'
50 livepatch: '$MOD_LIVEPATCH': initializing patching transition
51 livepatch: '$MOD_LIVEPATCH': starting patching transition
52 livepatch: '$MOD_LIVEPATCH': completing patching transition
53 livepatch: '$MOD_LIVEPATCH': patching complete
55 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
56 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
57 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
58 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
59 livepatch: '$MOD_LIVEPATCH': unpatching complete
60 % rmmod $MOD_LIVEPATCH"