summaryrefslogtreecommitdiffstats
path: root/include
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
commit5df628055789a14267be365beffc0626b7822e96 (patch)
tree5556dd02a0b455504c0077e8385686435c15b852 /include
parent8279570b222d46def4e541d71ef29dbfd9fbe3d7 (diff)
downloadframeworks_base-5df628055789a14267be365beffc0626b7822e96.zip
frameworks_base-5df628055789a14267be365beffc0626b7822e96.tar.gz
frameworks_base-5df628055789a14267be365beffc0626b7822e96.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')
-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
};