From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1516976647.5438.6.camel@linux.intel.com> From: Alan Cox Date: Fri, 26 Jan 2018 14:24:07 +0000 In-Reply-To: References: <503224b776b9513885453756e44bab235221124e.1516644136.git.luto@kernel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [kernel-hardening] Re: [PATCH] x86/retpoline/entry: Disable the entire SYSCALL64 fast path with retpolines on To: David Laight , 'Andy Lutomirski' , Linus Torvalds Cc: the arch/x86 maintainers , LKML , Greg Kroah-Hartman , Jann Horn , Samuel Neves , Dan Williams , Kernel Hardening , Borislav Petkov List-ID: > NetBSD (and the other BSD?) defines a structure for the arguments to > each syscall. Goes back to v7 or so but they put the syscall arguments into the uarea so that no pointers were needed (uarea being a per process mapping at a fixed address) in order to also reduce pointer dereferencing costs (not that those matter much on modern processors) Alan.