summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/uaccess.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2018-01-30 02:02:44 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-01-30 21:54:30 +0100
commitb5c4ae4f35325d520b230bab6eb3310613b72ac1 (patch)
treec8e7da2d7f5ba83e3d91180432dfefee9df123e6 /arch/x86/include/asm/uaccess.h
parentx86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec (diff)
downloadlinux-b5c4ae4f35325d520b230bab6eb3310613b72ac1.tar.xz
linux-b5c4ae4f35325d520b230bab6eb3310613b72ac1.zip
x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
In preparation for converting some __uaccess_begin() instances to __uacess_begin_nospec(), make sure all 'from user' uaccess paths are using the _begin(), _end() helpers rather than open-coded stac() and clac(). No functional changes. Suggested-by: Ingo Molnar <mingo@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arch@vger.kernel.org Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Kees Cook <keescook@chromium.org> Cc: kernel-hardening@lists.openwall.com Cc: gregkh@linuxfoundation.org Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: torvalds@linux-foundation.org Cc: alan@linux.intel.com Link: https://lkml.kernel.org/r/151727416438.33451.17309465232057176966.stgit@dwillia2-desk3.amr.corp.intel.com
Diffstat (limited to 'arch/x86/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions