On 2015/6/19 0:00, Alexei Starovoitov wrote:
On Thu, Jun 18, 2015 at 08:31:45AM +, Wang Nan wrote:
Original code has a problem, cause following code failed to pass verifier:
r1 <- r10
r1 -= 8
r2 = 8
r3 = unsafe pointer
call BPF_FUNC_probe_read <-- R1 type=inv expected=fp
On Thu, Jun 18, 2015 at 08:31:45AM +, Wang Nan wrote:
> Original code has a problem, cause following code failed to pass verifier:
>
> r1 <- r10
> r1 -= 8
> r2 = 8
> r3 = unsafe pointer
> call BPF_FUNC_probe_read <-- R1 type=inv expected=fp
>
> However, by replacing 'r1 -= 8' to 'r1 +=
Original code has a problem, cause following code failed to pass verifier:
r1 <- r10
r1 -= 8
r2 = 8
r3 = unsafe pointer
call BPF_FUNC_probe_read <-- R1 type=inv expected=fp
However, by replacing 'r1 -= 8' to 'r1 += -8' the above program can be
loaded successfully.
This is because the
On Thu, Jun 18, 2015 at 08:31:45AM +, Wang Nan wrote:
Original code has a problem, cause following code failed to pass verifier:
r1 - r10
r1 -= 8
r2 = 8
r3 = unsafe pointer
call BPF_FUNC_probe_read -- R1 type=inv expected=fp
However, by replacing 'r1 -= 8' to 'r1 += -8' the
On 2015/6/19 0:00, Alexei Starovoitov wrote:
On Thu, Jun 18, 2015 at 08:31:45AM +, Wang Nan wrote:
Original code has a problem, cause following code failed to pass verifier:
r1 - r10
r1 -= 8
r2 = 8
r3 = unsafe pointer
call BPF_FUNC_probe_read -- R1 type=inv expected=fp
Original code has a problem, cause following code failed to pass verifier:
r1 - r10
r1 -= 8
r2 = 8
r3 = unsafe pointer
call BPF_FUNC_probe_read -- R1 type=inv expected=fp
However, by replacing 'r1 -= 8' to 'r1 += -8' the above program can be
loaded successfully.
This is because the
6 matches
Mail list logo