)]}'
{
  "commit": "71c3c86ad2272c1405675d114f29b7bfabc833ac",
  "tree": "78ba5f75b578c27f49666e17612fa20d99e42c1e",
  "parents": [
    "695893eff96168c651252b732e4bf9aea646dc83"
  ],
  "author": {
    "name": "Fei",
    "email": "xuefei7@xiaomi.com",
    "time": "Wed Oct 16 20:03:21 2024 +0800"
  },
  "committer": {
    "name": "Treehugger Robot",
    "email": "android-test-infra-autosubmit@system.gserviceaccount.com",
    "time": "Wed Sep 17 00:48:41 2025 -0700"
  },
  "message": "ANDROID: module: Add vendor hooks\n\nAdd vendor hook for module init, so we can get memory type and addr\ninfo, then we can use this info to set corresponding memory access\natrribute in EL2 stage2 page table. We can get enhanced security\nprotection by this way, as long as the stage2 page table is not\ncorrupted.\nFor releasing modules, corresponding page table attributes should be\ndestroyed and restored.\n\nBug: 441537639\nChange-Id: Ieccb3bdd1041dfe41a9c808a91cc19f04389e826\nSigned-off-by: Fei \u003cxuefei7@xiaomi.com\u003e\n(cherry picked from commit 6bc6743e622d4e615f120d5e363922c608501d87)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "60098cf577a41136d0726f1561552bba444dbf68",
      "old_mode": 33188,
      "old_path": "drivers/android/vendor_hooks.c",
      "new_id": "ae0f0e2d5edc6498c15f78be7f47d474fbc69024",
      "new_mode": 33188,
      "new_path": "drivers/android/vendor_hooks.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "653c65a8c0cdb7fd1052ccb8305c3ca1a024d5f6",
      "new_mode": 33188,
      "new_path": "include/trace/hooks/module.h"
    },
    {
      "type": "modify",
      "old_id": "f6efc626e1b79500957775d0e7dce8bffecbf165",
      "old_mode": 33188,
      "old_path": "kernel/module/main.c",
      "new_id": "85005e01819b758167f963f719360138811becf3",
      "new_mode": 33188,
      "new_path": "kernel/module/main.c"
    }
  ]
}
