diff options
author | Nikhilesh Reddy <reddyn@codeaurora.org> | 2014-12-11 13:17:06 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:22:34 -0600 |
commit | 3337032ecae37488f5f64a8a00260f27c31bfd73 (patch) | |
tree | 80e6a86abff074a7f92597aa7f3a8e6356905707 /include | |
parent | cf1014c0513ac2d1fa1123482855a8137a579073 (diff) | |
download | system_core-3337032ecae37488f5f64a8a00260f27c31bfd73.zip system_core-3337032ecae37488f5f64a8a00260f27c31bfd73.tar.gz system_core-3337032ecae37488f5f64a8a00260f27c31bfd73.tar.bz2 |
Allocate a new AIDs for RFS module
Allocate new AIDs to allow the RFS module
to run as after dropping privelages from
ROOT and to enforce strict permissions on
shared and private RFS files.
Change-Id: Ic4febd565df9f232f6c7571355ec10d8fd2e21bd
Diffstat (limited to 'include')
-rw-r--r-- | include/private/android_filesystem_config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 2ed27dc..cf3e603 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -98,6 +98,9 @@ #define AID_NET_BW_ACCT 3007 /* change bandwidth statistics accounting */ #define AID_NET_BT_STACK 3008 /* bluetooth: access config files */ +#define AID_RFS 3012 /* Remote Filesystem for peripheral processors */ +#define AID_RFS_SHARED 3013 /* Shared files for Remote Filesystem for peripheral processors */ + #define AID_EVERYBODY 9997 /* shared between all apps in the same profile */ #define AID_MISC 9998 /* access to misc storage */ #define AID_NOBODY 9999 @@ -182,6 +185,9 @@ static const struct android_id_info android_ids[] = { { "net_bw_acct", AID_NET_BW_ACCT, }, { "net_bt_stack", AID_NET_BT_STACK, }, + { "rfs", AID_RFS, }, + { "rfs_shared", AID_RFS_SHARED, }, + { "everybody", AID_EVERYBODY, }, { "misc", AID_MISC, }, { "nobody", AID_NOBODY, }, |