Lines Matching refs:descr

24 	const char			*descr;  member
46 .descr = "getsockopt: no expected_attach_type",
58 .descr = "getsockopt: wrong expected_attach_type",
70 .descr = "getsockopt: bypass bpf hook",
92 .descr = "getsockopt: return EPERM from bpf hook",
107 .descr = "getsockopt: no optval bounds check, deny loading",
126 .descr = "getsockopt: read ctx->level",
155 .descr = "getsockopt: deny writing to ctx->level",
169 .descr = "getsockopt: read ctx->optname",
198 .descr = "getsockopt: read ctx->retval",
216 .descr = "getsockopt: deny writing to ctx->optname",
230 .descr = "getsockopt: read ctx->optlen",
257 .descr = "getsockopt: deny bigger ctx->optlen",
281 .descr = "getsockopt: ignore >PAGE_SIZE optlen",
323 .descr = "getsockopt: support smaller ctx->optlen",
344 .descr = "getsockopt: deny writing to ctx->optval",
358 .descr = "getsockopt: deny writing to ctx->optval_end",
372 .descr = "getsockopt: rewrite value",
414 .descr = "setsockopt: no expected_attach_type",
426 .descr = "setsockopt: wrong expected_attach_type",
438 .descr = "setsockopt: bypass bpf hook",
460 .descr = "setsockopt: return EPERM from bpf hook",
476 .descr = "setsockopt: no optval bounds check, deny loading",
494 .descr = "setsockopt: read ctx->level",
523 .descr = "setsockopt: allow changing ctx->level",
548 .descr = "setsockopt: read ctx->optname",
577 .descr = "setsockopt: allow changing ctx->optname",
602 .descr = "setsockopt: read ctx->optlen",
629 .descr = "setsockopt: ctx->optlen == -1 is ok",
645 .descr = "setsockopt: deny ctx->optlen < 0 (except -1)",
663 .descr = "setsockopt: deny ctx->optlen > input optlen",
680 .descr = "setsockopt: ignore >PAGE_SIZE optlen",
719 .descr = "setsockopt: allow changing ctx->optlen within bounds",
763 .descr = "setsockopt: deny write ctx->retval",
780 .descr = "setsockopt: deny read ctx->retval",
796 .descr = "setsockopt: deny writing to ctx->optval",
810 .descr = "setsockopt: deny writing to ctx->optval_end",
824 .descr = "setsockopt: allow IP_TOS <= 128",
870 .descr = "setsockopt: deny IP_TOS > 128",
1063 if (!test__start_subtest(tests[i].descr)) in test_sockopt()
1066 ASSERT_OK(run_test(cgroup_fd, &tests[i]), tests[i].descr); in test_sockopt()