aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorBrendan Jackman <[email protected]>2024-04-15 14:43:54 +0000
committerSean Christopherson <[email protected]>2024-04-29 19:22:08 +0000
commit0540193614eb6fadb140d87b076ee7094615f76d (patch)
treebaffdeacc4afcaec164d4d8397eef29121980c45 /arch/powerpc/lib/code-patching.c
parentKVM: selftests: Make monitor_mwait require MONITOR/MWAIT feature (diff)
downloadkernel-0540193614eb6fadb140d87b076ee7094615f76d.tar.gz
kernel-0540193614eb6fadb140d87b076ee7094615f76d.zip
KVM: selftests: Avoid assuming "sudo" exists in NX hugepage test
Writing various root-only files, omit "sudo" when already running as root to allow running the NX hugepage test on systems with a minimal rootfs, i.e. without sudo. Signed-off-by: Brendan Jackman <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Link: https://lore.kernel.org/r/[email protected] [sean: name the helper do_sudo() instead of maybe_sudo(), massage changelog] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions