]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/mm: drop unnecessary sudo usage
authorBrendan Jackman <jackmanb@google.com>
Tue, 11 Mar 2025 13:18:20 +0000 (13:18 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 05:06:39 +0000 (22:06 -0700)
commite9269b2cc403b7681980e7219cf2dc339fca8d38
tree020de26d4c06d738f2147a3b2c4f1826e8d6ccdd
parent32b42970e8614c0b8652fcd441acec937bc2595e
selftests/mm: drop unnecessary sudo usage

This script must be run as root anyway (see all the writing to privileged
files in /proc etc).

Remove the unnecessary use of sudo to avoid breaking on single-user
systems that don't have sudo.  This also avoids confusing readers.

Link: https://lkml.kernel.org/r/20250311-mm-selftests-v4-9-dec210a658f5@google.com
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Mateusz Guzik <mjguzik@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/run_vmtests.sh