4 BPF_RAW_INSN(BPF_JMP
| BPF_CALL
| BPF_X
, 0, 0, 0, 0),
7 .errstr
= "unknown opcode 8d",
13 BPF_RAW_INSN(BPF_JMP
| BPF_CALL
, 0, 0, 1, 0),
16 .errstr
= "BPF_CALL uses reserved",
20 "invalid function call",
22 BPF_RAW_INSN(BPF_JMP
| BPF_CALL
, 0, 0, 0, 1234567),
25 .errstr
= "invalid func unknown#1234567",
29 "invalid argument register",
31 BPF_RAW_INSN(BPF_JMP
| BPF_CALL
, 0, 0, 0, BPF_FUNC_get_cgroup_classid
),
32 BPF_RAW_INSN(BPF_JMP
| BPF_CALL
, 0, 0, 0, BPF_FUNC_get_cgroup_classid
),
35 .errstr
= "R1 !read_ok",
37 .prog_type
= BPF_PROG_TYPE_SCHED_CLS
,
40 "non-invalid argument register",
42 BPF_ALU64_REG(BPF_MOV
, BPF_REG_6
, BPF_REG_1
),
43 BPF_RAW_INSN(BPF_JMP
| BPF_CALL
, 0, 0, 0, BPF_FUNC_get_cgroup_classid
),
44 BPF_ALU64_REG(BPF_MOV
, BPF_REG_1
, BPF_REG_6
),
45 BPF_RAW_INSN(BPF_JMP
| BPF_CALL
, 0, 0, 0, BPF_FUNC_get_cgroup_classid
),
49 .prog_type
= BPF_PROG_TYPE_SCHED_CLS
,