Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1354456
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality |
| Date | 2016-03-09 22:10 +0100 |
| Message-ID | <raTwL-578-27@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <raapY-7Qq-27@gated-at.bofh.it> <raapY-7Qq-25@gated-at.bofh.it> <raTn4-4Os-9@gated-at.bofh.it> <raTn4-4Os-7@gated-at.bofh.it> <raTwL-578-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Mar 9, 2016 at 1:05 PM, Chris Metcalf <cmetcalf@mellanox.com> wrote: > On 3/9/2016 3:58 PM, Andy Lutomirski wrote: >>> >>> My preference would be not to have to require all task-isolation users >>> >to also figure out all the complexities of creating BPF programs, so >>> >my intention is to have task isolation automatically generate a BPF >>> >program (just allowing prctl/exit/exit_group and failing everything >>> >else with SIGSYS). To support having it work this way, I open up >>> >the seccomp stuff a little so that kernel clients can effectively >>> >push/pop a BPF program into seccomp: >> >> That sounds like a great use case for the new libtaskisolation that >> someone is surely writing:) > > > Happily, task isolation is so simple an API that all that is needed is a > prctl(). > > ... Unless somehow a requirement to inflict a huge blob of eBPF into the > kernel > just to use task isolation safely is added, of course :-) > BPF, not eBPF. Also, it's a tiny blob. And this still has nothing to do with using it safely. This has to do with catching your own bugs. --Andy > > -- > Chris Metcalf, Mellanox Technologies > http://www.mellanox.com > -- Andy Lutomirski AMA Capital Management, LLC
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality Andy Lutomirski <luto@amacapital.net> - 2016-03-07 22:00 +0100
Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality Andy Lutomirski <luto@amacapital.net> - 2016-03-09 22:00 +0100
Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality Andy Lutomirski <luto@amacapital.net> - 2016-03-09 22:10 +0100
Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality Andy Lutomirski <luto@amacapital.net> - 2016-03-09 22:20 +0100
Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality Kees Cook <keescook@chromium.org> - 2016-03-09 22:30 +0100
Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality Andy Lutomirski <luto@amacapital.net> - 2016-03-09 23:00 +0100
Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality Kees Cook <keescook@chromium.org> - 2016-03-09 22:20 +0100
csiph-web