[LTP] [PATCH v3 3/4] tst_kconfig: add module mappings for vsock/vsock_loopback
Andrea Cervesato
andrea.cervesato@suse.com
Mon Oct 12 17:51:32 CEST 2026
Hi Li,
> The test needs root only to load the modules; the reproducer runs as
> an ordinary nonroot process in the initial namespace, which can use
> loopback VSOCK on nonprivileged ports. Drop privileges to nobody after
> module loading and regain root in cleanup() so the modules can be
> unloaded.
Please drop the root _only_ if we are root, we shouldn'f force the test
to be root always, even when we are user.
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list