)]}'
{
  "commit": "331e3bd90c3532c1c97b720f671e5f2c0786645e",
  "tree": "c5146cae0640ae1bf367479116df6cc49673b20c",
  "parents": [
    "4f28a6c15288b7b4a8691e0efc0ca9d420bccb46"
  ],
  "author": {
    "name": "Alex Light",
    "email": "allight@google.com",
    "time": "Fri Mar 12 09:05:55 2021 -0800"
  },
  "committer": {
    "name": "Treehugger Robot",
    "email": "treehugger-gerrit@google.com",
    "time": "Tue Mar 30 18:01:33 2021 +0000"
  },
  "message": "Allow /postinstall files to have custom contexts\n\nWe were mounting /postinstall with a \u0027context\u003d...\u0027 option. This forces\nall files within /postinstall to have a single selinux context,\nlimiting the possible granularity of our policies. Here we change it\nto simply default to the \u0027postinstall_file\u0027 context for the \u0027system\u0027\npartition but allow individual files to have their own custom contexts\ndefined by /system/sepolicy. Other partitions retain the single\n\u0027postinstall_file\u0027 context.\n\nThe sample_images were updated to manually add a selinux label for\ntesting FS contexts.\n\nTest: Manual OTA of blueline\nTest: atest update_engine_unittests\nBug: 181182967\nChange-Id: I0b8c2b2228fa08afecb64da9c276737eb9ae3631\nMerged-In: I0b8c2b2228fa08afecb64da9c276737eb9ae3631\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0ac82d6242d088a99768ecdea2d7f3739bc3ab4e",
      "old_mode": 33188,
      "old_path": "aosp/hardware_android.cc",
      "new_id": "624cfc9950f00ed59b1300687be86d346ad703d1",
      "new_mode": 33188,
      "new_path": "aosp/hardware_android.cc"
    },
    {
      "type": "modify",
      "old_id": "78f056e4821265604d77b8c792e206b1352bb845",
      "old_mode": 33188,
      "old_path": "aosp/hardware_android.h",
      "new_id": "d20e8df3fecc855dc085c512e1a2e2bef9c30661",
      "new_mode": 33188,
      "new_path": "aosp/hardware_android.h"
    },
    {
      "type": "modify",
      "old_id": "f468c3ba6c2049210d660aff3996847d36fa3244",
      "old_mode": 33188,
      "old_path": "aosp/platform_constants_android.cc",
      "new_id": "a0a2a5ec8e61f62b6006846a618cd861c99f6268",
      "new_mode": 33188,
      "new_path": "aosp/platform_constants_android.cc"
    },
    {
      "type": "modify",
      "old_id": "29ba60759aa71aedbe42ec83c4dde3e98ee36456",
      "old_mode": 33188,
      "old_path": "common/fake_hardware.h",
      "new_id": "a0d79fe87079acaee685d9bc338b097fa6ebb4f7",
      "new_mode": 33188,
      "new_path": "common/fake_hardware.h"
    },
    {
      "type": "modify",
      "old_id": "746009797dbe1afc407f8a82563f32f4388ac8f0",
      "old_mode": 33188,
      "old_path": "common/hardware_interface.h",
      "new_id": "4e820f1a1c89cf9fb7cac0cdce63c1b5a832ff85",
      "new_mode": 33188,
      "new_path": "common/hardware_interface.h"
    },
    {
      "type": "modify",
      "old_id": "c060133f26b81e01657506d1a1b694e1a93cf688",
      "old_mode": 33188,
      "old_path": "common/platform_constants.h",
      "new_id": "06399e5c84314e72ee9563bec1816a75896b817d",
      "new_mode": 33188,
      "new_path": "common/platform_constants.h"
    },
    {
      "type": "modify",
      "old_id": "a57cd7870a7d94db2933f7c6f6949cb81e4cd197",
      "old_mode": 33188,
      "old_path": "cros/hardware_chromeos.cc",
      "new_id": "ad0a64dc54cc0f0ce48af0501d592ee4eed9e1ab",
      "new_mode": 33188,
      "new_path": "cros/hardware_chromeos.cc"
    },
    {
      "type": "modify",
      "old_id": "8a920ef6ac7e8ad943c2c6f09ae442964a8cbb3d",
      "old_mode": 33188,
      "old_path": "cros/hardware_chromeos.h",
      "new_id": "a64f80499549bd8800cfb03982e6087f84fbb3c6",
      "new_mode": 33188,
      "new_path": "cros/hardware_chromeos.h"
    },
    {
      "type": "modify",
      "old_id": "fe94a45a1175dc61a56313985064752c4ce1f625",
      "old_mode": 33188,
      "old_path": "cros/platform_constants_chromeos.cc",
      "new_id": "5a5a5214a51ef44b6cb1bef5315749ed344185cf",
      "new_mode": 33188,
      "new_path": "cros/platform_constants_chromeos.cc"
    },
    {
      "type": "modify",
      "old_id": "283a6bae4d3c84baa83b570c9e20851fa0ee480d",
      "old_mode": 33188,
      "old_path": "payload_consumer/postinstall_runner_action.cc",
      "new_id": "8f2d674a1cbd2f2e23628abfc38b82730abc8839",
      "new_mode": 33188,
      "new_path": "payload_consumer/postinstall_runner_action.cc"
    },
    {
      "type": "modify",
      "old_id": "a9ed5b1604c22fddcf0a4930984410aa00ffc81f",
      "old_mode": 33188,
      "old_path": "payload_consumer/postinstall_runner_action_unittest.cc",
      "new_id": "5ee29898acd47610bc9cdf7c5b4e37caf3719adb",
      "new_mode": 33188,
      "new_path": "payload_consumer/postinstall_runner_action_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "e0b54ae9ca957856d5e24c12727b5eb4d3bf7f5b",
      "old_mode": 33261,
      "old_path": "sample_images/generate_images.sh",
      "new_id": "81a3296d4e5b3589fa7b5b9f05ef6a2451d0b0df",
      "new_mode": 33261,
      "new_path": "sample_images/generate_images.sh"
    },
    {
      "type": "modify",
      "old_id": "5c80a5112f1d4aea138ba3155807e3c0498d98af",
      "old_mode": 33188,
      "old_path": "sample_images/sample_images.tar.bz2",
      "new_id": "7965d8b5c12adbf105135aef1b6a438a16694dae",
      "new_mode": 33188,
      "new_path": "sample_images/sample_images.tar.bz2"
    },
    {
      "type": "modify",
      "old_id": "d0bf6d9a1ff0bd29de2b05828f7dcd39b6589bb9",
      "old_mode": 33188,
      "old_path": "sample_images/sample_payloads.tar.xz",
      "new_id": "eb589ba69937c84aa122e210ff8d710fb63ecba5",
      "new_mode": 33188,
      "new_path": "sample_images/sample_payloads.tar.xz"
    }
  ]
}
