Re: [Xen-devel] [PATCH v2 0/3] Use C inlines for uaccess

2019-11-26 Thread Pavel Tatashin
Kees Cook mentioned that it is a good idea to assert the PAN state during disable/enable. Since, with this change everything is moved to the same C place, if this hardening is something others also want to see, I could add it in the next revision of this series. Here are the options to choose from:

[Xen-devel] [PATCH v2 0/3] Use C inlines for uaccess

2019-11-21 Thread Pavel Tatashin
Changelog v2: - Addressed Russell King's concern by not adding uaccess_* to ARM. - Removed the accidental change to xtensa Convert the remaining uaccess_* calls from ASM macros to C inlines. These patches apply against linux-next. I boot tested ARM64, and compile tested