Re: [PATCH bpf v2 2/2] selftests/bpf: Exercise negative optlen in cgroup getsockopt hook
From: Junseo Lim
Date: Mon Aug 17 2026 - 00:58:14 EST
On Tue, Aug 11, 2026 at 03:10:47PM +0000, bot+bpf-ci@xxxxxxxxxx wrote:
> Is the intent that this test relies on WARN/taint detection or
> panic_on_warn, or is the value of the test primarily as a WARN-only
> reproducer rather than a pass/fail assertion?
Yes, the intent is for this to serve as a reproducer for the WARN rather
than a pass/fail regression test. A clear pass/fail verdict would be
preferable, but that does not seem feasible here since EFAULT is
returned regardless of the patch.
Another option would be to add a KUnit test for the negative optlen
validation, but that seemed excessive for this fix.