@@ -3638,7 +3638,7 @@ static struct bpf_test tests[] = {
3638
3638
BPF_MOV64_IMM (BPF_REG_0 , 0 ),
3639
3639
BPF_EXIT_INSN (),
3640
3640
},
3641
- .errstr = "R3 pointer arithmetic on PTR_TO_PACKET_END " ,
3641
+ .errstr = "R3 pointer arithmetic on pkt_end " ,
3642
3642
.result = REJECT ,
3643
3643
.prog_type = BPF_PROG_TYPE_SCHED_CLS ,
3644
3644
},
@@ -4896,7 +4896,7 @@ static struct bpf_test tests[] = {
4896
4896
BPF_EXIT_INSN (),
4897
4897
},
4898
4898
.fixup_map1 = { 4 },
4899
- .errstr = "R4 pointer arithmetic on PTR_TO_MAP_VALUE_OR_NULL " ,
4899
+ .errstr = "R4 pointer arithmetic on map_value_or_null " ,
4900
4900
.result = REJECT ,
4901
4901
.prog_type = BPF_PROG_TYPE_SCHED_CLS
4902
4902
},
@@ -4917,7 +4917,7 @@ static struct bpf_test tests[] = {
4917
4917
BPF_EXIT_INSN (),
4918
4918
},
4919
4919
.fixup_map1 = { 4 },
4920
- .errstr = "R4 pointer arithmetic on PTR_TO_MAP_VALUE_OR_NULL " ,
4920
+ .errstr = "R4 pointer arithmetic on map_value_or_null " ,
4921
4921
.result = REJECT ,
4922
4922
.prog_type = BPF_PROG_TYPE_SCHED_CLS
4923
4923
},
@@ -4938,7 +4938,7 @@ static struct bpf_test tests[] = {
4938
4938
BPF_EXIT_INSN (),
4939
4939
},
4940
4940
.fixup_map1 = { 4 },
4941
- .errstr = "R4 pointer arithmetic on PTR_TO_MAP_VALUE_OR_NULL " ,
4941
+ .errstr = "R4 pointer arithmetic on map_value_or_null " ,
4942
4942
.result = REJECT ,
4943
4943
.prog_type = BPF_PROG_TYPE_SCHED_CLS
4944
4944
},
@@ -7253,7 +7253,7 @@ static struct bpf_test tests[] = {
7253
7253
BPF_EXIT_INSN (),
7254
7254
},
7255
7255
.fixup_map_in_map = { 3 },
7256
- .errstr = "R1 pointer arithmetic on CONST_PTR_TO_MAP prohibited" ,
7256
+ .errstr = "R1 pointer arithmetic on map_ptr prohibited" ,
7257
7257
.result = REJECT ,
7258
7258
},
7259
7259
{
@@ -8927,7 +8927,7 @@ static struct bpf_test tests[] = {
8927
8927
BPF_MOV64_IMM (BPF_REG_0 , 0 ),
8928
8928
BPF_EXIT_INSN (),
8929
8929
},
8930
- .errstr = "R3 pointer arithmetic on PTR_TO_PACKET_END " ,
8930
+ .errstr = "R3 pointer arithmetic on pkt_end " ,
8931
8931
.result = REJECT ,
8932
8932
.prog_type = BPF_PROG_TYPE_XDP ,
8933
8933
},
@@ -8946,7 +8946,7 @@ static struct bpf_test tests[] = {
8946
8946
BPF_MOV64_IMM (BPF_REG_0 , 0 ),
8947
8947
BPF_EXIT_INSN (),
8948
8948
},
8949
- .errstr = "R3 pointer arithmetic on PTR_TO_PACKET_END " ,
8949
+ .errstr = "R3 pointer arithmetic on pkt_end " ,
8950
8950
.result = REJECT ,
8951
8951
.prog_type = BPF_PROG_TYPE_XDP ,
8952
8952
},
0 commit comments