Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1440784
| From | Daniel Borkmann <daniel@iogearbox.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] bpf: make inode code explicitly non-modular |
| Date | 2016-07-11 19:30 +0200 |
| Message-ID | <rTNbP-1Fg-1@gated-at.bofh.it> (permalink) |
| References | <rTMIO-1g9-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/11/2016 06:51 PM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > init/Kconfig:config BPF_SYSCALL > init/Kconfig: bool "Enable bpf() system call" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the couple traces of modular infrastructure use, so that > when reading the driver there is no doubt it is builtin-only. > > Note that MODULE_ALIAS is a no-op for non-modular code. > > We replace module.h with init.h since the file does use __init. > > Cc: Alexei Starovoitov <ast@kernel.org> > Cc: netdev@vger.kernel.org > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> (Patch is for net-next tree then.) Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH -next] bpf: make inode code explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-07-11 19:00 +0200 Re: [PATCH -next] bpf: make inode code explicitly non-modular Daniel Borkmann <daniel@iogearbox.net> - 2016-07-11 19:30 +0200 Re: [PATCH -next] bpf: make inode code explicitly non-modular David Miller <davem@davemloft.net> - 2016-07-11 23:00 +0200
csiph-web