From: David Miller <davem@davemloft.net>
To: alexei.starovoitov@gmail.com
Cc: jannh@google.com, netdev@vger.kernel.org, daniel@iogearbox.net,
ben@decadent.org.uk, linux-kernel@vger.kernel.org,
kernel-team@fb.com
Subject: Re: kasan for bpf
Date: Sat, 23 Dec 2017 11:03:56 -0500 (EST) [thread overview]
Message-ID: <20171223.110356.169739765604909704.davem@davemloft.net> (raw)
In-Reply-To: <20171223043155.biljcns7iwe7n633@ast-mbp>
From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Date: Fri, 22 Dec 2017 20:31:56 -0800
> Thoughts?
Even though you propose it as the opposite, it sounds like a crutch
for the verifier.
If we strictly control objects that the eBPF program can access,
verifier ensures this, and all other objects go through helpers,
then I cannot see what kasan for bpf can buy us.
To me it tells the world "yes, verifier and carefully designed helpers
are insufficient" and that's not the message I have been giving to
rooms full of hundreds of people listening to my xdp/bpf
presentations.
prev parent reply other threads:[~2017-12-23 16:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-23 2:26 [PATCH 4.9] bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN Ben Hutchings
2017-12-23 3:51 ` Alexei Starovoitov
2017-12-23 4:31 ` kasan for bpf Alexei Starovoitov
2017-12-23 16:03 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171223.110356.169739765604909704.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=alexei.starovoitov@gmail.com \
--cc=ben@decadent.org.uk \
--cc=daniel@iogearbox.net \
--cc=jannh@google.com \
--cc=kernel-team@fb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox