Files
linux/arch/x86/kernel
Reinette Chatre dda03e2c33 x86/sgx: Create utility to validate user provided offset and length
User provided offset and length is validated when parsing the parameters
of the SGX_IOC_ENCLAVE_ADD_PAGES ioctl(). Extract this validation
(with consistent use of IS_ALIGNED) into a utility that can be used
by the SGX2 ioctl()s that will also provide these values.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lkml.kernel.org/r/767147bc100047abed47fe27c592901adfbb93a2.1652137848.git.reinette.chatre@intel.com
2022-07-07 10:13:02 -07:00
..
2022-05-05 02:40:19 +02:00
2022-03-15 10:32:40 +01:00
2020-11-24 16:47:49 +01:00
2022-02-25 09:36:05 +01:00
2022-03-15 10:32:41 +01:00
2021-03-18 15:31:53 +01:00
2022-03-15 10:32:36 +01:00
2021-12-01 00:06:43 +01:00
2021-03-18 15:31:53 +01:00
2022-03-10 16:51:51 -06:00
2022-02-25 09:36:05 +01:00
2020-08-20 13:12:58 +02:00
2020-07-27 14:31:07 -04:00
2021-10-25 23:02:36 -04:00