summaryrefslogtreecommitdiff
path: root/include/uapi/linux/tee.h
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2017-02-16 11:07:02 +0300
committerJens Wiklander <jens.wiklander@linaro.org>2017-08-04 11:30:27 +0300
commit059cf566e123ca7eb7434285c6455d7afafb4e02 (patch)
tree683441447cb3b9de901379212501cc0322ead9bf /include/uapi/linux/tee.h
parenta9980e947ec97297e03d2332d6beff06f5131a98 (diff)
downloadlinux-059cf566e123ca7eb7434285c6455d7afafb4e02.tar.xz
tee: indicate privileged dev in gen_caps
Mirrors the TEE_DESC_PRIVILEGED bit of struct tee_desc:flags into struct tee_ioctl_version_data:gen_caps as TEE_GEN_CAP_PRIVILEGED in tee_ioctl_version() Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'include/uapi/linux/tee.h')
-rw-r--r--include/uapi/linux/tee.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/tee.h b/include/uapi/linux/tee.h
index 370d8845ab21..688782e90140 100644
--- a/include/uapi/linux/tee.h
+++ b/include/uapi/linux/tee.h
@@ -49,6 +49,7 @@
#define TEE_MAX_ARG_SIZE 1024
#define TEE_GEN_CAP_GP (1 << 0)/* GlobalPlatform compliant TEE */
+#define TEE_GEN_CAP_PRIVILEGED (1 << 1)/* Privileged device (for supplicant) */
/*
* TEE Implementation ID