Re: [PATCH net] bpfilter: include bpfilter_umh in assembly instead of using objcopy

2018-06-28 Thread David Miller
From: Alexei Starovoitov Date: Tue, 26 Jun 2018 20:13:48 -0700 > From: Masahiro Yamada > > What we want here is to embed a user-space program into the kernel. > Instead of the complex ELF magic, let's simply wrap it in the assembly > with the '.incbin' directive. > > Signed-off-by: Masahiro Ya

Re: [net] bpfilter: include bpfilter_umh in assembly instead of using objcopy

2018-06-27 Thread Guenter Roeck
On Tue, Jun 26, 2018 at 08:13:48PM -0700, Alexei Starovoitov wrote: > From: Masahiro Yamada > > What we want here is to embed a user-space program into the kernel. > Instead of the complex ELF magic, let's simply wrap it in the assembly > with the '.incbin' directive. > > Signed-off-by: Masahiro

[PATCH net] bpfilter: include bpfilter_umh in assembly instead of using objcopy

2018-06-26 Thread Alexei Starovoitov
From: Masahiro Yamada What we want here is to embed a user-space program into the kernel. Instead of the complex ELF magic, let's simply wrap it in the assembly with the '.incbin' directive. Signed-off-by: Masahiro Yamada Signed-off-by: Alexei Starovoitov --- I think this patch should 'fix' bp