Lines Matching refs:proc
17 # - load a livepatch that modifies the output from /proc/cmdline and
25 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH1: this has been live patched" ]] ; then
33 if [[ "$(cat /proc/cmdline)" == "$MOD_LIVEPATCH1: this has been live patched" ]] ; then
52 # - load a livepatch that modifies the output from /proc/cmdline and
62 grep 'live patched' /proc/cmdline > /dev/kmsg
63 grep 'live patched' /proc/meminfo > /dev/kmsg
67 grep 'live patched' /proc/cmdline > /dev/kmsg
68 grep 'live patched' /proc/meminfo > /dev/kmsg
73 grep 'live patched' /proc/cmdline > /dev/kmsg
74 grep 'live patched' /proc/meminfo > /dev/kmsg
79 grep 'live patched' /proc/cmdline > /dev/kmsg
80 grep 'live patched' /proc/meminfo > /dev/kmsg
112 # - load a livepatch that modifies the output from /proc/cmdline and
126 grep 'live patched' /proc/cmdline > /dev/kmsg
127 grep 'live patched' /proc/meminfo > /dev/kmsg
141 grep 'live patched' /proc/cmdline > /dev/kmsg
142 grep 'live patched' /proc/meminfo > /dev/kmsg
152 grep 'live patched' /proc/cmdline > /dev/kmsg
153 grep 'live patched' /proc/meminfo > /dev/kmsg
158 grep 'live patched' /proc/cmdline > /dev/kmsg
159 grep 'live patched' /proc/meminfo > /dev/kmsg
201 # - load a target module that provides /proc/test_klp_mod_target with
204 # - verify the proc entry returns livepatched output
206 # - verify the proc entry returns original output again
213 if [[ "$(cat /proc/$MOD_TARGET)" != "$MOD_TARGET: original output" ]] ; then
220 if [[ "$(cat /proc/$MOD_TARGET)" != "$MOD_TARGET_PATCH: this has been live patched" ]] ; then
228 if [[ "$(cat /proc/$MOD_TARGET)" != "$MOD_TARGET: original output" ]] ; then
255 # - verify the proc entry returns livepatched output
257 # - verify the proc entry returns original output again
265 if [[ "$(cat /proc/$MOD_TARGET)" != "$MOD_TARGET_PATCH: this has been live patched" ]] ; then
273 if [[ "$(cat /proc/$MOD_TARGET)" != "$MOD_TARGET: original output" ]] ; then