)]}'
{
  "commit": "c4f2890afafc747462189d76c5ff2bd7bb5e5018",
  "tree": "2f9d95eefc6e58a36705aab734d7aac8bb93c9e6",
  "parents": [
    "907aab5645830aac6f164b903da5945a7191ec29"
  ],
  "author": {
    "name": "Jason Zhou",
    "email": "jasonzhou460@gmail.com",
    "time": "Fri Jul 26 16:41:50 2024 -0400"
  },
  "committer": {
    "name": "Benjamin Mahler",
    "email": "bmahler@apache.org",
    "time": "Fri Jul 26 16:52:34 2024 -0400"
  },
  "message": "[cgroups2] Helper to check device entry normalization.\n\nCurrently we assume that a device state is normalized before using it\nfor generating ebpf files. However, we have not been enforcing these\nconstraints.\n\nWe add a helper to check if a device state is normalized so that we can\nenforce these constraints.\n\nAn allow or deny list is \u0027normalized\u0027 iff everything below are true:\n\n1. No Entry has empty accesses specified.\n2. No two entries on the same list can have the same selector (type,\n   major \u0026 minor numbers).\n3. No two entries on the same list can be encompassed by the other\n   entry (see Entry::encompasses).\n\nReview: https://reviews.apache.org/r/75099/\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ac46782614f6b3b6cb6f2f685492df8364cb73a3",
      "old_mode": 33188,
      "old_path": "src/linux/cgroups2.cpp",
      "new_id": "bd6018050c5c7437ee3c8fc8c76c7968a613351a",
      "new_mode": 33188,
      "new_path": "src/linux/cgroups2.cpp"
    },
    {
      "type": "modify",
      "old_id": "accaebdaddc85acdd96b87161ea441c77b025099",
      "old_mode": 33188,
      "old_path": "src/linux/cgroups2.hpp",
      "new_id": "ef4e679321807987c47586bbe703a9c725c41199",
      "new_mode": 33188,
      "new_path": "src/linux/cgroups2.hpp"
    },
    {
      "type": "modify",
      "old_id": "39f17460c8911244ba28ab052281785dd6235240",
      "old_mode": 33188,
      "old_path": "src/tests/containerizer/cgroups2_tests.cpp",
      "new_id": "388639bed965be09057d5a40ffee1a5878c3db0b",
      "new_mode": 33188,
      "new_path": "src/tests/containerizer/cgroups2_tests.cpp"
    }
  ]
}
