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

From: Daniel Borkmann
Date: Thu Jun 29 2017 - 04:57:55 EST


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 <mpe@xxxxxxxxxxxxxx>

Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>