[RFC v2][PATCH 08/11] ARM: Implement __arch_rare_write_begin/end()

Peter Zijlstra peterz at infradead.org
Fri Apr 7 05:36:48 EDT 2017


On Wed, Mar 29, 2017 at 11:16:00AM -0700, Kees Cook wrote:
> +static inline unsigned long __arch_rare_write_end(void)
> +{
> +	BUG_ON(test_domain(DOMAIN_WR_RARE, DOMAIN_CLIENT));
> +	modify_domain(DOMAIN_WR_RARE, DOMAIN_CLIENT);
> +	preempt_enable_no_resched();

NAK

> +	return 0;
> +}



More information about the linux-arm-kernel mailing list