Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemCore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemCore
Commits
08d64308
Commit
08d64308
authored
Apr 24, 2013
by
Jeff Tinker
Browse files
Options
Downloads
Patches
Plain Diff
Add a new group for MediaDrm engine plugins
bug: 8702754 Change-Id: I3b7988b64b1dcf4685624e4c1af938e132b82696
parent
b3478f4a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/private/android_filesystem_config.h
+2
-0
2 additions, 0 deletions
include/private/android_filesystem_config.h
rootdir/init.rc
+5
-1
5 additions, 1 deletion
rootdir/init.rc
with
7 additions
and
1 deletion
include/private/android_filesystem_config.h
+
2
−
0
View file @
08d64308
...
@@ -71,6 +71,7 @@
...
@@ -71,6 +71,7 @@
#define AID_SDCARD_R 1028
/* external storage read access */
#define AID_SDCARD_R 1028
/* external storage read access */
#define AID_CLAT 1029
/* clat part of nat464 */
#define AID_CLAT 1029
/* clat part of nat464 */
#define AID_LOOP_RADIO 1030
/* loop radio devices */
#define AID_LOOP_RADIO 1030
/* loop radio devices */
#define AID_MEDIA_DRM 1031
/* MediaDrm plugins */
#define AID_SHELL 2000
/* adb and debug shell user */
#define AID_SHELL 2000
/* adb and debug shell user */
#define AID_CACHE 2001
/* cache access */
#define AID_CACHE 2001
/* cache access */
...
@@ -150,6 +151,7 @@ static const struct android_id_info android_ids[] = {
...
@@ -150,6 +151,7 @@ static const struct android_id_info android_ids[] = {
{
"misc"
,
AID_MISC
,
},
{
"misc"
,
AID_MISC
,
},
{
"nobody"
,
AID_NOBODY
,
},
{
"nobody"
,
AID_NOBODY
,
},
{
"clat"
,
AID_CLAT
,
},
{
"clat"
,
AID_CLAT
,
},
{
"mediadrm"
,
AID_MEDIA_DRM
,
},
};
};
#define android_id_count \
#define android_id_count \
...
...
This diff is collapsed.
Click to expand it.
rootdir/init.rc
+
5
−
1
View file @
08d64308
...
@@ -243,6 +243,10 @@ on post-fs-data
...
@@ -243,6 +243,10 @@ on post-fs-data
# the following directory.
# the following directory.
mkdir /data/drm 0770 drm drm
mkdir /data/drm 0770 drm drm
# create directory for MediaDrm plug-ins - give drm the read/write access to
# the following directory.
mkdir /data/mediadrm 0770 mediadrm mediadrm
# symlink to bugreport storage location
# symlink to bugreport storage location
symlink /data/data/com.android.shell/files/bugreports /data/bugreports
symlink /data/data/com.android.shell/files/bugreports /data/bugreports
...
@@ -483,7 +487,7 @@ service drm /system/bin/drmserver
...
@@ -483,7 +487,7 @@ service drm /system/bin/drmserver
service media /system/bin/mediaserver
service media /system/bin/mediaserver
class main
class main
user media
user media
group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
mediadrm
ioprio rt 4
ioprio rt 4
service bootanim /system/bin/bootanimation
service bootanim /system/bin/bootanimation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment