Merge "crash_reporter: Join AID_READPROC group"
am: d36829a734
* commit 'd36829a734fa148ba092b7ce09f4ed9494c6e738':
crash_reporter: Join AID_READPROC group
This commit is contained in:
commit
7edeb6d2b1
|
@ -90,9 +90,9 @@ void UserCollector::Initialize(
|
|||
directory_failure_ = directory_failure;
|
||||
filter_in_ = filter_in;
|
||||
|
||||
gid_t groups[] = { AID_ROOT, AID_SYSTEM, AID_DBUS };
|
||||
gid_t groups[] = { AID_ROOT, AID_SYSTEM, AID_DBUS, AID_READPROC };
|
||||
if (setgroups(arraysize(groups), groups) != 0) {
|
||||
PLOG(FATAL) << "Unable to set groups to root, system, and dbus";
|
||||
PLOG(FATAL) << "Unable to set groups to root, system, dbus, and readproc";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue