|
Message-ID: <20170407093648.k2hl6dswzlz5ashh@hirez.programming.kicks-ass.net> Date: Fri, 7 Apr 2017 11:36:48 +0200 From: Peter Zijlstra <peterz@...radead.org> To: Kees Cook <keescook@...omium.org> Cc: kernel-hardening@...ts.openwall.com, Mark Rutland <mark.rutland@....com>, Andy Lutomirski <luto@...nel.org>, Hoeun Ryu <hoeun.ryu@...il.com>, PaX Team <pageexec@...email.hu>, Emese Revfy <re.emese@...il.com>, Russell King <linux@...linux.org.uk>, x86@...nel.org, linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org Subject: Re: [RFC v2][PATCH 08/11] ARM: Implement __arch_rare_write_begin/end() 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; > +}
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.