Lines Matching refs:MOD_LIVEPATCH

7 MOD_LIVEPATCH=test_klp_livepatch
15 load_lp $MOD_LIVEPATCH
17 check_sysfs_rights "$MOD_LIVEPATCH" "" "drwxr-xr-x"
18 check_sysfs_rights "$MOD_LIVEPATCH" "enabled" "-rw-r--r--"
19 check_sysfs_value "$MOD_LIVEPATCH" "enabled" "1"
20 check_sysfs_rights "$MOD_LIVEPATCH" "force" "--w-------"
21 check_sysfs_rights "$MOD_LIVEPATCH" "transition" "-r--r--r--"
22 check_sysfs_value "$MOD_LIVEPATCH" "transition" "0"
23 check_sysfs_rights "$MOD_LIVEPATCH" "vmlinux/patched" "-r--r--r--"
24 check_sysfs_value "$MOD_LIVEPATCH" "vmlinux/patched" "1"
26 disable_lp $MOD_LIVEPATCH
28 unload_lp $MOD_LIVEPATCH
30 check_result "% modprobe $MOD_LIVEPATCH
31 livepatch: enabling patch '$MOD_LIVEPATCH'
32 livepatch: '$MOD_LIVEPATCH': initializing patching transition
33 livepatch: '$MOD_LIVEPATCH': starting patching transition
34 livepatch: '$MOD_LIVEPATCH': completing patching transition
35 livepatch: '$MOD_LIVEPATCH': patching complete
36 % echo 0 > /sys/kernel/livepatch/$MOD_LIVEPATCH/enabled
37 livepatch: '$MOD_LIVEPATCH': initializing unpatching transition
38 livepatch: '$MOD_LIVEPATCH': starting unpatching transition
39 livepatch: '$MOD_LIVEPATCH': completing unpatching transition
40 livepatch: '$MOD_LIVEPATCH': unpatching complete
41 % rmmod $MOD_LIVEPATCH"
45 MOD_LIVEPATCH=test_klp_callbacks_demo
47 load_lp $MOD_LIVEPATCH
50 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "0"
52 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "1"
54 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "0"
56 disable_lp $MOD_LIVEPATCH
57 unload_lp $MOD_LIVEPATCH