[LTP] setsockopt08: Handle EPERM from disabled compat xtables in userns

Andrea Cervesato andrea.cervesato@suse.com
Fri Aug 28 13:33:26 CEST 2026


Hi Avinesh,

> > +	if (TST_RET == -1 && TST_ERR == EPERM  && tst_is_compat_mode()) {
> 
> Minor: Could the extra space before the second && be removed to follow
> the surrounding kernel style?

this can be fixed before merge.

> 
> > +		tst_res(TINFO, "32bit compat xtables interface is disabled in user namespaces since commit ec1806a730a1");
> 
> Minor: Could this 108-column line be wrapped to stay within the kernel
> style's 100-column limit?

this is not needed. I will add a rule for this.

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list