summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-28 13:55:55 -0800
committerJames Dong <jdong@google.com>2012-02-28 18:50:44 -0800
commit328745b130c1c59e53d68a9a3c71675d3932d34b (patch)
treec35e7d4e33ecbde14e93d658d3d91cc52fbd35ac /include/drm
parent0f7affe1716dfd6687262008120ed128df1af214 (diff)
downloadframeworks_av-328745b130c1c59e53d68a9a3c71675d3932d34b.zip
frameworks_av-328745b130c1c59e53d68a9a3c71675d3932d34b.tar.gz
frameworks_av-328745b130c1c59e53d68a9a3c71675d3932d34b.tar.bz2
Added permission check for all sensitive drm API calls
o all drm calls using a DecryptHandle now check the permission before proceeding Change-Id: Ic992a991357876c6e4bfbfab4f5eec1fa0634a13
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_framework_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_framework_common.h b/include/drm/drm_framework_common.h
index 2632cbd..637409c 100644
--- a/include/drm/drm_framework_common.h
+++ b/include/drm/drm_framework_common.h
@@ -43,6 +43,7 @@ enum {
DRM_ERROR_DECRYPT = ERROR_BASE - 5,
DRM_ERROR_CANNOT_HANDLE = ERROR_BASE - 6,
DRM_ERROR_TAMPER_DETECTED = ERROR_BASE - 7,
+ DRM_ERROR_NO_PERMISSION = ERROR_BASE - 8,
DRM_NO_ERROR = NO_ERROR
};