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; > +}