)]}'
{
  "commit": "3e75c03cb21bef99464b5d1d52a3e3003af685d6",
  "tree": "8a89b59139ca51fafbee7f8cad7843f8a9430dd1",
  "parents": [
    "0236f7c9aa6ccf4389c700b9d134801701fe3a2d"
  ],
  "author": {
    "name": "Flavio Ceolin",
    "email": "flavio.ceolin@gmail.com",
    "time": "Fri Dec 13 08:58:17 2024 -0800"
  },
  "committer": {
    "name": "Benjamin Cabé",
    "email": "kartben@gmail.com",
    "time": "Fri Dec 20 12:37:20 2024 +0100"
  },
  "message": "security: Add default stack protection level\n\nSTACK_CANARIES was enabling canaries in all functions using the compiler\nflag -fstack-protector-all. This became confuse with the addition of the\noptions STRONG and EXPLICIT.\n\nThis commit adds the missing option (default level) and disambiguous the\noptions mapping them close to the compiler flags.\n\nNow we have the following options:\n\nSTACK_CANARIES            -\u003e fstack-protector\nSTACK_CANARIES_STRONG     -\u003e fstack-protector-strong\nSTACK_CANARIES_ALL        -\u003e fstack-protector-all\nSTACK_CANARIES_EXPLICIT   -\u003e fstack-protector-explicit\n\nNote that from now on STACK_CANARIES_ALL is the symbol that adds canaries\nfor all functions.\n\nSigned-off-by: Flavio Ceolin \u003cflavio.ceolin@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6feef29ce3440179a259833c6e0c56ba62a94a98",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "5bd9348cb57e88bbf5871ff8c5d5d403b1253fd1",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "3f8a46f4f017c1637f8eb24259e477f33cbad72f",
      "old_mode": 33188,
      "old_path": "cmake/compiler/arcmwdt/compiler_flags.cmake",
      "new_id": "7234afc0c8030a293218a86c7bedb244ba9e04b0",
      "new_mode": 33188,
      "new_path": "cmake/compiler/arcmwdt/compiler_flags.cmake"
    },
    {
      "type": "modify",
      "old_id": "e35660491c679b1ab55eab2980356a8463217395",
      "old_mode": 33188,
      "old_path": "cmake/compiler/compiler_flags_template.cmake",
      "new_id": "447db04a2d307153b66415312ce1f6dd38a1d00c",
      "new_mode": 33188,
      "new_path": "cmake/compiler/compiler_flags_template.cmake"
    },
    {
      "type": "modify",
      "old_id": "59ae986915ba548fdf715f3cbfc1b2ef6a106e18",
      "old_mode": 33188,
      "old_path": "cmake/compiler/gcc/compiler_flags.cmake",
      "new_id": "e650dd424f309564a71143fd66549b4acb7651e0",
      "new_mode": 33188,
      "new_path": "cmake/compiler/gcc/compiler_flags.cmake"
    },
    {
      "type": "modify",
      "old_id": "2c0cbfce085488218080c3c4cc87f40089d1a364",
      "old_mode": 33188,
      "old_path": "kernel/Kconfig",
      "new_id": "36fcf1d821cc4a26d34c8697d40ede6255d674bb",
      "new_mode": 33188,
      "new_path": "kernel/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "d48190c6c9e440c4c19dc851a887a9ee0d43ad60",
      "old_mode": 33188,
      "old_path": "kernel/compiler_stack_protect.c",
      "new_id": "30da82d4a49e41bafba1f8b1ce204747b346b59a",
      "new_mode": 33188,
      "new_path": "kernel/compiler_stack_protect.c"
    }
  ]
}
