am 5b16ceaf: am 08fe38e2: Merge "Allow inputflinger to have CAP_BLOCK_SUSPEND."

* commit '5b16ceaf886e9c6d75f1122e3b53213652199c37':
  Allow inputflinger to have CAP_BLOCK_SUSPEND.
This commit is contained in:
Mark Salyzyn 2015-04-06 18:19:35 +00:00 committed by Android Git Automerger
commit 835a04c852
1 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,9 @@ struct vfs_cap_data {
#define CAP_MAC_ADMIN 33
#define CAP_SYSLOG 34
#define CAP_WAKE_ALARM 35
#define CAP_LAST_CAP CAP_WAKE_ALARM
#define CAP_BLOCK_SUSPEND 36
#define CAP_AUDIT_READ 37
#define CAP_LAST_CAP CAP_AUDIT_READ
#define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
#define CAP_TO_INDEX(x) ((x) >> 5)
#define CAP_TO_MASK(x) (1 << ((x) & 31))