Thread (24 messages) 24 messages, 3 authors, 2020-10-01

Re: [PATCH 11/13] arm64: uaccess: remove set_fs()

flat view

From: Christoph Hellwig <hch@lst.de>
Date: 2020-09-28 07:06:07

quoted hunk ↗ jump to hunk
+static inline void init_hw_uaccess_state(void)
 {
+	asm(ALTERNATIVE("nop", SET_PSTATE_PAN(1), ARM64_HAS_PAN));
+	asm(ALTERNATIVE("nop", SET_PSTATE_UAO(0), ARM64_HAS_UAO));
 }
The way I read this code it is about per-task state, maybe that
could be reflected in the name?  init_task_hw_access_state or
init_task_uaccess_flags?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help