[LTP] [PATCH v3 3/4] tst_kconfig: add module mappings for vsock/vsock_loopback

Li Wang li.wang@linux.dev
Wed Oct 14 05:43:21 CEST 2026


On Mon, Oct 12, 2026 at 03:51:32PM +0000, Andrea Cervesato wrote:
> 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.

Yes, that's right.

-- 
Regards,
Li Wang


More information about the ltp mailing list