On 3/27/20 6:29 AM, Sumit Garg wrote:
There are use-cases where user-space shouldn't be allowed to communicate directly with a TEE device which is dedicated to provide a specific service for a kernel client. So add a private login method for kernel clients and disallow user-space to open-session using GP implementation defined login method range: (0x80000000 - 0xBFFFFFFF).
Signed-off-by: Sumit Garg sumit.garg@linaro.org
drivers/tee/tee_core.c | 7 +++++++ include/uapi/linux/tee.h | 9 +++++++++ 2 files changed, 16 insertions(+)
Reviewed-by: Jerome Forissier jerome@forissier.org
Thanks,