bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] More strict error checking in bpf_asm (v3).
@ 2021-02-24 21:24 Ian Denhardt
  2021-02-24  2:15 ` [PATCH 1/2] tools, bpf_asm: Hard error on out of range jumps Ian Denhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ian Denhardt @ 2021-02-24 21:24 UTC (permalink / raw)
  To: ast, daniel, bpf, netdev

Gah, managed to typo my own name in the v2 patch >.<

This one should be good :/

Ian Denhardt (2):
  tools, bpf_asm: Hard error on out of range jumps.
  tools, bpf_asm: exit non-zero on errors.

 tools/bpf/bpf_exp.y | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

--
2.30.1


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/2] More strict error checking in bpf_asm (v2).
@ 2021-02-24 21:15 Ian Denhardt
  2021-02-24  2:15 ` [PATCH 1/2] tools, bpf_asm: Hard error on out of range jumps Ian Denhardt
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Denhardt @ 2021-02-24 21:15 UTC (permalink / raw)
  To: ast, daniel, bpf, netdev

Second pass at the patches from:

https://lore.kernel.org/bpf/ef747c45-a68c-2a87-202c-5fd9faf70392@iogearbox.net/T/#t.

Patches are the same, this just addes the Signed-off-by: lines
as requested by Daniel Borkmann

Ian Denhardt (2):
  tools, bpf_asm: Hard error on out of range jumps.
  tools, bpf_asm: exit non-zero on errors.

 tools/bpf/bpf_exp.y | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

--
2.30.1


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/2] More strict error checking in bpf_asm.
@ 2021-02-24  2:36 Ian Denhardt
  2021-02-24  2:15 ` [PATCH 1/2] tools, bpf_asm: Hard error on out of range jumps Ian Denhardt
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Denhardt @ 2021-02-24  2:36 UTC (permalink / raw)
  To: ast, daniel, bpf, netdev

Hi,

Enclosed are two patches related to my earlier message, which make the
error checking in the bpf_asm tool more strict, the first by upgrading a
warning to an error, the second by using non-zero exit codes when
aborting.

These could be conceptually separated, but it seemed sensible to submit
them together.

-Ian

Ian Denhardt (2):
  tools, bpf_asm: Hard error on out of range jumps.
  tools, bpf_asm: exit non-zero on errors.

 tools/bpf/bpf_exp.y | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

--
2.30.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-26 22:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 21:24 [PATCH 0/2] More strict error checking in bpf_asm (v3) Ian Denhardt
2021-02-24  2:15 ` [PATCH 1/2] tools, bpf_asm: Hard error on out of range jumps Ian Denhardt
2021-02-24  2:24 ` [PATCH 2/2] tools, bpf_asm: exit non-zero on errors Ian Denhardt
2021-02-26 22:00 ` [PATCH 0/2] More strict error checking in bpf_asm (v3) Daniel Borkmann
2021-02-26 22:41   ` Ian Denhardt
  -- strict thread matches above, loose matches on Subject: below --
2021-02-24 21:15 [PATCH 0/2] More strict error checking in bpf_asm (v2) Ian Denhardt
2021-02-24  2:15 ` [PATCH 1/2] tools, bpf_asm: Hard error on out of range jumps Ian Denhardt
2021-02-24  2:36 [PATCH 0/2] More strict error checking in bpf_asm Ian Denhardt
2021-02-24  2:15 ` [PATCH 1/2] tools, bpf_asm: Hard error on out of range jumps Ian Denhardt
2021-02-24  9:30   ` Ilya Leoshkevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).