Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaabe12f authored by Steve Fung's avatar Steve Fung Committed by android-build-merger
Browse files

Merge "crash_reporter: Join AID_READPROC group" am: d36829a7 am: 7edeb6d2

am: 83c59b31

* commit '83c59b31':
  crash_reporter: Join AID_READPROC group
parents 16e32505 83c59b31
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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";
  }
}