|
@@ -3276,7 +3276,7 @@ static struct bpf_test tests[] = {
|
|
|
BPF_ST_MEM(BPF_DW, BPF_REG_1, offsetof(struct __sk_buff, mark), 0),
|
|
|
BPF_EXIT_INSN(),
|
|
|
},
|
|
|
- .errstr = "BPF_ST stores into R1 context is not allowed",
|
|
|
+ .errstr = "BPF_ST stores into R1 inv is not allowed",
|
|
|
.result = REJECT,
|
|
|
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
|
|
|
},
|
|
@@ -3288,7 +3288,7 @@ static struct bpf_test tests[] = {
|
|
|
BPF_REG_0, offsetof(struct __sk_buff, mark), 0),
|
|
|
BPF_EXIT_INSN(),
|
|
|
},
|
|
|
- .errstr = "BPF_XADD stores into R1 context is not allowed",
|
|
|
+ .errstr = "BPF_XADD stores into R1 inv is not allowed",
|
|
|
.result = REJECT,
|
|
|
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
|
|
|
},
|
|
@@ -5266,7 +5266,7 @@ static struct bpf_test tests[] = {
|
|
|
.errstr_unpriv = "R2 leaks addr into mem",
|
|
|
.result_unpriv = REJECT,
|
|
|
.result = REJECT,
|
|
|
- .errstr = "BPF_XADD stores into R1 context is not allowed",
|
|
|
+ .errstr = "BPF_XADD stores into R1 inv is not allowed",
|
|
|
},
|
|
|
{
|
|
|
"leak pointer into ctx 2",
|
|
@@ -5281,7 +5281,7 @@ static struct bpf_test tests[] = {
|
|
|
.errstr_unpriv = "R10 leaks addr into mem",
|
|
|
.result_unpriv = REJECT,
|
|
|
.result = REJECT,
|
|
|
- .errstr = "BPF_XADD stores into R1 context is not allowed",
|
|
|
+ .errstr = "BPF_XADD stores into R1 inv is not allowed",
|
|
|
},
|
|
|
{
|
|
|
"leak pointer into ctx 3",
|
|
@@ -12230,7 +12230,7 @@ static struct bpf_test tests[] = {
|
|
|
BPF_EXIT_INSN(),
|
|
|
},
|
|
|
.result = REJECT,
|
|
|
- .errstr = "BPF_XADD stores into R2 packet",
|
|
|
+ .errstr = "BPF_XADD stores into R2 ctx",
|
|
|
.prog_type = BPF_PROG_TYPE_XDP,
|
|
|
},
|
|
|
{
|