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

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Fri Aug 28 13:30:33 CEST 2026


Hi Avinesh,

On Fri, Aug 28, 2026, Avinesh Kumar wrote:
> setsockopt08: Handle EPERM from disabled compat xtables in userns

> +	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?

> +		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?

Verdict - Needs revision

---
Note:

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer


More information about the ltp mailing list