[PATCH v3 0/7] arm64: Privileged Access Never using TTBR0_EL1 switching

Mark Rutland mark.rutland at arm.com
Thu Sep 15 09:41:14 PDT 2016


On Thu, Sep 15, 2016 at 05:20:45PM +0100, Mark Rutland wrote:
> Don't we need to fix up do_sysinstr() (which performs raw cache
> maintenance ops on __user addresses) with
> uaccess_{enable,disable}_not_uao()?

Actually, we don't even need to do anything in the case of PAN since
cache ops aren't affected by PAN/UAO; we just need to map/unmap in the
TTBR0-switching case to ensure we don't get stup fixing things up
forever.

/me commences name bikeshedding.

Thanks,
Mark.



More information about the linux-arm-kernel mailing list