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

Commit ae8970d8 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "[GWP-ASan] Disable for apps." into rvc-dev am: cc610123 am: 9d11ef6e am: 94544915

Change-Id: I5d7af4d7c96d82a06b4072fcf6e166c202799fd7
parents 109e1783 94544915
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -626,12 +626,6 @@ static void PreApplicationInit() {

  // Set the jemalloc decay time to 1.
  mallopt(M_DECAY_TIME, 1);

  // Maybe initialize GWP-ASan here. Must be called after
  // mallopt(M_SET_ZYGOTE_CHILD).
  bool ForceEnableGwpAsan = false;
  android_mallopt(M_INITIALIZE_GWP_ASAN, &ForceEnableGwpAsan,
                  sizeof(ForceEnableGwpAsan));
}

static void SetUpSeccompFilter(uid_t uid, bool is_child_zygote) {