Lines Matching refs:MOD_LIVEPATCH
7 MOD_LIVEPATCH=test_klp_livepatch
21 load_failing_mod $MOD_LIVEPATCH
24 load_lp $MOD_LIVEPATCH
25 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH: this has been live patched" ]] ; then
31 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH: this has been live patched" ]] ; then
35 disable_lp $MOD_LIVEPATCH
36 unload_lp $MOD_LIVEPATCH
39 % modprobe $MOD_LIVEPATCH
40 livepatch: enabling patch '$MOD_LIVEPATCH'
41 livepatch: '$MOD_LIVEPATCH': initializing patching transition
44 livepatch: failed to enable patch '$MOD_LIVEPATCH'
45 livepatch: '$MOD_LIVEPATCH': canceling patching transition, going to unpatch
46 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
47 livepatch: '$MOD_LIVEPATCH': unpatching complete
48 modprobe: ERROR: could not insert '$MOD_LIVEPATCH': Device or resource busy
50 % modprobe $MOD_LIVEPATCH
51 livepatch: enabling patch '$MOD_LIVEPATCH'
52 livepatch: '$MOD_LIVEPATCH': initializing patching transition
53 livepatch: '$MOD_LIVEPATCH': starting patching transition
54 livepatch: '$MOD_LIVEPATCH': completing patching transition
55 livepatch: '$MOD_LIVEPATCH': patching complete
57 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
58 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
59 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
60 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
61 livepatch: '$MOD_LIVEPATCH': unpatching complete
62 % rmmod $MOD_LIVEPATCH"