Lines Matching refs:descr

25 	const char			*descr;  member
49 .descr = "getsockopt: no expected_attach_type",
61 .descr = "getsockopt: wrong expected_attach_type",
73 .descr = "getsockopt: bypass bpf hook",
95 .descr = "getsockopt: return EPERM from bpf hook",
110 .descr = "getsockopt: no optval bounds check, deny loading",
129 .descr = "getsockopt: read ctx->level",
158 .descr = "getsockopt: deny writing to ctx->level",
172 .descr = "getsockopt: read ctx->optname",
201 .descr = "getsockopt: read ctx->retval",
219 .descr = "getsockopt: deny writing to ctx->optname",
233 .descr = "getsockopt: read ctx->optlen",
262 .descr = "getsockopt: deny bigger ctx->optlen",
287 .descr = "getsockopt: ignore >PAGE_SIZE optlen",
330 .descr = "getsockopt: support smaller ctx->optlen",
353 .descr = "getsockopt: deny writing to ctx->optval",
367 .descr = "getsockopt: deny writing to ctx->optval_end",
381 .descr = "getsockopt: rewrite value",
423 .descr = "setsockopt: no expected_attach_type",
435 .descr = "setsockopt: wrong expected_attach_type",
447 .descr = "setsockopt: bypass bpf hook",
469 .descr = "setsockopt: return EPERM from bpf hook",
485 .descr = "setsockopt: no optval bounds check, deny loading",
503 .descr = "setsockopt: read ctx->level",
533 .descr = "setsockopt: allow changing ctx->level",
558 .descr = "setsockopt: read ctx->optname",
588 .descr = "setsockopt: allow changing ctx->optname",
613 .descr = "setsockopt: read ctx->optlen",
641 .descr = "setsockopt: ctx->optlen == -1 is ok",
658 .descr = "setsockopt: deny ctx->optlen < 0 (except -1)",
677 .descr = "setsockopt: deny ctx->optlen > input optlen",
695 .descr = "setsockopt: ignore >PAGE_SIZE optlen",
734 .descr = "setsockopt: allow changing ctx->optlen within bounds",
778 .descr = "setsockopt: deny write ctx->retval",
795 .descr = "setsockopt: deny read ctx->retval",
811 .descr = "setsockopt: deny writing to ctx->optval",
825 .descr = "setsockopt: deny writing to ctx->optval_end",
839 .descr = "setsockopt: allow IP_TOS <= 128",
885 .descr = "setsockopt: deny IP_TOS > 128",
936 .descr = "can attach only BPF_CGROUP_SETSOCKOP",
950 .descr = "can attach only BPF_CGROUP_GETSOCKOP",
1207 if (!test__start_subtest(tests[i].descr)) in test_sockopt()
1211 tests[i].descr); in test_sockopt()
1213 tests[i].descr); in test_sockopt()
1216 tests[i].descr); in test_sockopt()