)]}'
{
  "commit": "e2d89170d5b041674cb11ae615d0f06649e9e536",
  "tree": "8dbb76bfdbb96c5d2aca21ba1d27cf1fc5c3cfef",
  "parents": [
    "81888a2d5c3a64f2a032a481b551590975033ef6"
  ],
  "author": {
    "name": "Jiakai Zhang",
    "email": "jiakaiz@google.com",
    "time": "Tue Oct 15 16:06:08 2024 +0000"
  },
  "committer": {
    "name": "Jiakai Zhang",
    "email": "jiakaiz@google.com",
    "time": "Wed Oct 16 10:05:12 2024 +0000"
  },
  "message": "Don\u0027t bind-mount optional partitions if they don\u0027t exist.\n\nOn a device where an additional partition doesn\u0027t exist, the mount point\nof the partition is a absolute symlink to a directory inside /system. If\nwe bind-mount that at the corresponding symlink inside chroot, the mount\nwill follow the symlink and result at the location outside of chroot.\n\nThis CL also adds CHECKs to prevent similar things from happening. The\nCHECKs are more strict than necessary, as it disallows any symlinks, to\nprevent unforeseen situations, while relative symlinks in the path could\nactually be fine. We may consider loosen the CHECKs in thee future if\nneeded.\n\nBug: 369736135\nTest: atest CtsCompilationTestCases:android.compilation.cts.PreRebootDexoptTest\nChange-Id: If9facfb2ebe07c5b9e7fc077a115c433ece7a325\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7a1467a1499242b9b5a22ba5977eaff382eb71e6",
      "old_mode": 33188,
      "old_path": "dexopt_chroot_setup/dexopt_chroot_setup.cc",
      "new_id": "b9513df529fa07dbbcde3ae864ead3a1b4c9f7dc",
      "new_mode": 33188,
      "new_path": "dexopt_chroot_setup/dexopt_chroot_setup.cc"
    }
  ]
}
