public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Question about seccomp / bpf
@ 2019-05-08 21:21 Eric Dumazet
  2019-05-08 23:09 ` Alexei Starovoitov
  0 siblings, 1 reply; 11+ messages in thread
From: Eric Dumazet @ 2019-05-08 21:21 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, netdev

Hi Alexei and Daniel

I have a question about seccomp.

It seems that after this patch, seccomp no longer needs a helper
(seccomp_bpf_load())

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bd4cf0ed331a275e9bf5a49e6d0fd55dffc551b8

Are we detecting that a particular JIT code needs to call at least one
function from the kernel at all ?

If the filter contains self-contained code (no call, just inline
code), then we could use any room in whole vmalloc space,
not only from the modules (which is something like 2GB total on x86_64)

Thanks.

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

end of thread, other threads:[~2019-05-09 23:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-08 21:21 Question about seccomp / bpf Eric Dumazet
2019-05-08 23:09 ` Alexei Starovoitov
2019-05-08 23:17   ` Eric Dumazet
2019-05-09  4:47     ` Alexei Starovoitov
2019-05-09 10:52       ` Eric Dumazet
2019-05-09 10:58         ` Eric Dumazet
2019-05-09 11:49           ` Daniel Borkmann
2019-05-09 23:30             ` Alexei Starovoitov
2019-05-09 23:49               ` Kees Cook
2019-05-09 23:50               ` Eric Dumazet
2019-05-09 23:51                 ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox