summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2022-04-25 09:16:17 -0500
committerJens Wiklander <jens.wiklander@linaro.org>2022-04-26 10:17:03 +0200
commitd8fc1c7c4c9b705ce5f5bba772ad66a0137c685d (patch)
tree4e74696c5272aa1376e35c8da0a82bd93f778220 /include/uapi
parent66eb6df79aefd6b3f7d2e749da7104e90cedc0ff (diff)
downloadlinux-d8fc1c7c4c9b705ce5f5bba772ad66a0137c685d.tar.gz
linux-d8fc1c7c4c9b705ce5f5bba772ad66a0137c685d.tar.bz2
linux-d8fc1c7c4c9b705ce5f5bba772ad66a0137c685d.zip
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/tee.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/uapi/linux/tee.h b/include/uapi/linux/tee.h
index 25a6c534beb1..23e57164693c 100644
--- a/include/uapi/linux/tee.h
+++ b/include/uapi/linux/tee.h
@@ -42,10 +42,6 @@
#define TEE_IOC_MAGIC 0xa4
#define TEE_IOC_BASE 0
-/* Flags relating to shared memory */
-#define TEE_IOCTL_SHM_MAPPED 0x1 /* memory mapped in normal world */
-#define TEE_IOCTL_SHM_DMA_BUF 0x2 /* dma-buf handle on shared memory */
-
#define TEE_MAX_ARG_SIZE 1024
#define TEE_GEN_CAP_GP (1 << 0)/* GlobalPlatform compliant TEE */