mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 4c2bc5ae8f95 (bug 945562) for device image bustage.
This commit is contained in:
parent
ae08025158
commit
1ad3eebaaf
@ -303,7 +303,7 @@ void SetCurrentProcessPrivileges(ChildPrivileges privs) {
|
||||
uid += getpid();
|
||||
}
|
||||
if (privs == PRIVILEGES_CAMERA) {
|
||||
gid_t groups[] = { AID_SDCARD_R, AID_SDCARD_RW, AID_MEDIA_RW };
|
||||
gid_t groups[] = { AID_SDCARD_RW };
|
||||
if (setgroups(sizeof(groups) / sizeof(groups[0]), groups) != 0) {
|
||||
DLOG(ERROR) << "FAILED TO setgroups() CHILD PROCESS";
|
||||
_exit(127);
|
||||
|
Loading…
Reference in New Issue
Block a user