tee: remove flags TEE_IOCTL_SHM_MAPPED and TEE_IOCTL_SHM_DMA_BUF
authorAndrew Davis <afd@ti.com>
Mon, 25 Apr 2022 14:16:17 +0000 (09:16 -0500)
committerJens Wiklander <jens.wiklander@linaro.org>
Tue, 26 Apr 2022 08:17:03 +0000 (10:17 +0200)
commitd8fc1c7c4c9b705ce5f5bba772ad66a0137c685d
tree4e74696c5272aa1376e35c8da0a82bd93f778220
parent66eb6df79aefd6b3f7d2e749da7104e90cedc0ff
tee: remove flags TEE_IOCTL_SHM_MAPPED and TEE_IOCTL_SHM_DMA_BUF

These look to be leftover from an early edition of this driver. Userspace
does not need this information. Checking all users of this that I have
access to I have verified no one is using them.

They leak internal use flags out to userspace. Even more they are not
correct anymore after a45ea4efa358. Lets drop these flags before
someone does try to use them for something and they become ABI.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/tee_core.c
include/uapi/linux/tee.h