)]}'
{
  "commit": "9d44d9dd53bd3da3b01445a52b5d2420dc40f9b2",
  "tree": "3b6d7e78bd8d53aeaf12825a24bf27fe8d962d32",
  "parents": [
    "134aa097b9106e63e1622389fbb0d5543bd3d558"
  ],
  "author": {
    "name": "Bertrand SIMONNET",
    "email": "bsimonnet@google.com",
    "time": "Tue Sep 22 13:29:25 2015 -0700"
  },
  "committer": {
    "name": "Bertrand SIMONNET",
    "email": "bsimonnet@google.com",
    "time": "Tue Sep 22 14:13:18 2015 -0700"
  },
  "message": "rootdev: Don\u0027t try to access /dev/block.\n\nWhen the device used to back a path is found in /sys/block, rootdev will\ndouble check that /dev/block/\u003cdevice name\u003e exists and that the dev_t\nmatches the one in /sys/block/.\nOn Android, the manufacturer can add an SELinux context for that device\nnode which will prevent core daemons from accessing it, failing the call\nto rootdev.\n\nTo avoid this, rootdev should return the device node path without trying\nto access it.\n\nThis CL also enable building with Clang to ensure we use the strictest\ncompiler possible.\n\nBUG: 24143423\nBUG: 24267261\nTEST: metricsd starts and find the main disk without any SELinux denial.\nTEST: builds with clang and -Werror.\n\nChange-Id: Icfe64695c28277d4c8eb9c89de1e13a767a703b8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "613fa8588a399741d873da337906106798b08825",
      "old_mode": 33188,
      "old_path": "Android.mk",
      "new_id": "6878e8af48b20410e077e3e593d3aa12e52e23f2",
      "new_mode": 33188,
      "new_path": "Android.mk"
    },
    {
      "type": "modify",
      "old_id": "f0de1ffddd98eb6b810fe4b14ad2f05aa1475c71",
      "old_mode": 33188,
      "old_path": "rootdev.c",
      "new_id": "e4c6d55cf3fdc671d4e4966663226b9a1691bbb7",
      "new_mode": 33188,
      "new_path": "rootdev.c"
    },
    {
      "type": "modify",
      "old_id": "74a48da833beb77389edc1928721573c9262238d",
      "old_mode": 33188,
      "old_path": "rootdev.h",
      "new_id": "aacfaf085ae4554b4125e5d9efe6ca1f4a3ec781",
      "new_mode": 33188,
      "new_path": "rootdev.h"
    }
  ]
}
