Lines Matching refs:MOD_LIVEPATCH
7 MOD_LIVEPATCH=test_klp_livepatch
21 load_lp $MOD_LIVEPATCH
23 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH: this has been live patched" ]] ; then
28 disable_lp $MOD_LIVEPATCH
29 unload_lp $MOD_LIVEPATCH
31 if [[ "$(cat /proc/cmdline)" == "$MOD_LIVEPATCH: this has been live patched" ]] ; then
36 check_result "% modprobe $MOD_LIVEPATCH
37 livepatch: enabling patch '$MOD_LIVEPATCH'
38 livepatch: '$MOD_LIVEPATCH': initializing patching transition
39 livepatch: '$MOD_LIVEPATCH': starting patching transition
40 livepatch: '$MOD_LIVEPATCH': completing patching transition
41 livepatch: '$MOD_LIVEPATCH': patching complete
42 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
43 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
44 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
45 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
46 livepatch: '$MOD_LIVEPATCH': unpatching complete
47 % rmmod $MOD_LIVEPATCH"
60 load_lp $MOD_LIVEPATCH
76 disable_lp $MOD_LIVEPATCH
77 unload_lp $MOD_LIVEPATCH
82 check_result "% modprobe $MOD_LIVEPATCH
83 livepatch: enabling patch '$MOD_LIVEPATCH'
84 livepatch: '$MOD_LIVEPATCH': initializing patching transition
85 livepatch: '$MOD_LIVEPATCH': starting patching transition
86 livepatch: '$MOD_LIVEPATCH': completing patching transition
87 livepatch: '$MOD_LIVEPATCH': patching complete
88 $MOD_LIVEPATCH: this has been live patched
95 $MOD_LIVEPATCH: this has been live patched
103 $MOD_LIVEPATCH: this has been live patched
104 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
105 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
106 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
107 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
108 livepatch: '$MOD_LIVEPATCH': unpatching complete
109 % rmmod $MOD_LIVEPATCH"
123 load_lp $MOD_LIVEPATCH
133 unload_lp $MOD_LIVEPATCH
144 check_result "% modprobe $MOD_LIVEPATCH
145 livepatch: enabling patch '$MOD_LIVEPATCH'
146 livepatch: '$MOD_LIVEPATCH': initializing patching transition
147 livepatch: '$MOD_LIVEPATCH': starting patching transition
148 livepatch: '$MOD_LIVEPATCH': completing patching transition
149 livepatch: '$MOD_LIVEPATCH': patching complete
150 $MOD_LIVEPATCH: this has been live patched
158 % rmmod $MOD_LIVEPATCH