Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
2e484664
Commit
2e484664
authored
11 years ago
by
Indrajeet Kumar
Committed by
Gerrit - the friendly Code Review server
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove temp patch for camcorder fix
Fix landed upstream Change-Id: If0caebf4c101527e322f4137a9b7f2c7c8c2f512
parent
db47b39e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patch/jb_3.2/gecko/add_extra_group_privileges_to_camera_process.patch
+0
-13
0 additions, 13 deletions
.../gecko/add_extra_group_privileges_to_camera_process.patch
with
0 additions
and
13 deletions
patch/jb_3.2/gecko/add_extra_group_privileges_to_camera_process.patch
deleted
100644 → 0
+
0
−
13
View file @
db47b39e
diff --git a/ipc/chromium/src/base/process_util_linux.cc b/ipc/chromium/src/base/process_util_linux.cc
index bf34384..63d63ee 100644
--- a/ipc/chromium/src/base/process_util_linux.cc
+++ b/ipc/chromium/src/base/process_util_linux.cc
@@ -303,7 +303,7 @@
void SetCurrentProcessPrivileges(ChildPrivileges privs) {
uid += getpid();
}
if (privs == PRIVILEGES_CAMERA) {
- gid_t groups[] = { AID_SDCARD_RW };
+ gid_t groups[] = { AID_SDCARD_R, AID_SDCARD_RW, AID_MEDIA_RW };
if (setgroups(sizeof(groups) / sizeof(groups[0]), groups) != 0) {
DLOG(ERROR) << "FAILED TO setgroups() CHILD PROCESS";
_exit(127);
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