Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170506.143816.2259768618578706384.davem@davemloft.net>
Date: Sat, 06 May 2017 14:38:16 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: illusionist.neo@...il.com
Cc: daniel@...earbox.net, keescook@...omium.org, mgherzan@...il.com,
 netdev@...r.kernel.org, kernel-hardening@...ts.openwall.com,
 linux-arm-kernel@...ts.infradead.org, ast@...com
Subject: Re: arch: arm: bpf: Converting cBPF to eBPF for arm 32 bit

From: Shubham Bansal <illusionist.neo@...il.com>
Date: Sat, 6 May 2017 22:18:16 +0530

> Hi Daniel,
> 
> Thanks for the last reply about the testing of eBPF JIT.
> 
> I have one issue though, I am not able to find what BPF_ABS and
> BPF_IND instruction does exactly.

They are not instructions, they are modifiers for the BPF_LD
instruction which indicate an SKB load is to be performed.

You never need to ask what a BPF instruction does, it is clear
defined in the BPF interperter found in kernel/bpf/core.c

Look for the case statement LD_ABS_W and friends in __bpf_prog_run().

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.