[LTP] [PATCH] syscalls/unshare02: Fix failures on Debian

Petr Vorel pvorel@suse.cz
Fri May 14 11:12:11 CEST 2021


Hi Cyril,

> The order of checks in kernel is not defined and on Debian we end up
> getting eperm even before the flags are checked which fails the invalid
> flags testcase.

> The fix is simple, we change the test to setuid() only for the EPERM
> test.

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Tested-by: Petr Vorel <pvorel@suse.cz>

Thanks!

Kind regards,
Petr



More information about the ltp mailing list