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

[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