diff options
author | Siarhei Vishniakou <svv@google.com> | 2017-05-08 15:50:55 -0700 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2017-05-11 01:28:53 +0000 |
commit | 0729dd1edb1e392f60f9a2ad5cc06a84df2ab1f6 (patch) | |
tree | e75c31600d8dd7e2b3850eae3ac716769d3093e7 /libcutils | |
parent | 484acce026c14c8303dee845b8021d5a11e7d1a7 (diff) | |
download | system_core-0729dd1edb1e392f60f9a2ad5cc06a84df2ab1f6.tar.gz system_core-0729dd1edb1e392f60f9a2ad5cc06a84df2ab1f6.tar.bz2 system_core-0729dd1edb1e392f60f9a2ad5cc06a84df2ab1f6.zip |
Adding 'uhid' permission for access to /dev/uhid.
This CL is in support of another CL c/2048848, topic
'Refactor hid command in /frameworks/base/cmds' in
internal master. Adding the permissions for
shell here to access uhid_node as part of the
new 'uhid' group.
Bug: 34052337
Test: Tested on angler, bluetooth mouse works OK.
Change-Id: If9e100aa1262d689fb8adc5c0ce93f157c96399e
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/include/private/android_filesystem_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcutils/include/private/android_filesystem_config.h b/libcutils/include/private/android_filesystem_config.h index bbba8536e..97c497563 100644 --- a/libcutils/include/private/android_filesystem_config.h +++ b/libcutils/include/private/android_filesystem_config.h @@ -152,6 +152,7 @@ #define AID_NET_BW_ACCT 3007 /* change bandwidth statistics accounting */ #define AID_READPROC 3009 /* Allow /proc read access */ #define AID_WAKELOCK 3010 /* Allow system wakelock read/write access */ +#define AID_UHID 3011 /* Allow read/write to /dev/uhid node */ /* The range 5000-5999 is also reserved for OEM, and must never be used here. */ #define AID_OEM_RESERVED_2_START 5000 |