Re: [kernel-hardening] [RFC PATCH 4/4] bpf: Use linux/set_memory.h

2017-06-29 Thread Daniel Borkmann
On 06/29/2017 08:29 AM, Michael Ellerman wrote: This header always exists, so doesn't require an ifdef around its inclusion. When CONFIG_ARCH_HAS_SET_MEMORY=y it includes the asm header, otherwise it provides empty versions of the set_memory_xx() routines. Signed-off-by: Michael Ellerman Acke

[RFC PATCH 4/4] bpf: Use linux/set_memory.h

2017-06-28 Thread Michael Ellerman
This header always exists, so doesn't require an ifdef around its inclusion. When CONFIG_ARCH_HAS_SET_MEMORY=y it includes the asm header, otherwise it provides empty versions of the set_memory_xx() routines. Signed-off-by: Michael Ellerman --- include/linux/filter.h | 5 + 1 file changed, 1