[igt-dev] [PATCH i-g-t] lib/core_auth: mount namespace magic to make the test work everywhere

Emil Velikov emil.velikov at collabora.com
Thu Feb 14 13:52:37 UTC 2019


On 2019/02/13, Daniel Vetter wrote:
> We're creating our own namespace and then create a copy of the chardev
> that anyone can access before dropping root. Should hopefully work on
> any system.
> 
> This way we're also guaranteed to open the right device again.
> 
> v2: mount(2) instead of mount(3).
> 
It's an improvement over the current test, so considering it works as
advertised - ship it.

Sadly I'm not too familiar to provide a meaningful review.

Thanks
Emil


More information about the igt-dev mailing list