)]}'
{
  "commit": "dcb50f550d816af150ca4294fbeadfab497b40f0",
  "tree": "1935a6c9d052b1989570e3eb63d6041cc869470c",
  "parents": [
    "e51e7bbad7d043a6b369b0050ff4e1c0e62f3b5d"
  ],
  "author": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Mon Mar 06 16:28:48 2023 +0000"
  },
  "committer": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Mon Mar 06 16:56:37 2023 +0000"
  },
  "message": "[image] Always unregister currently executing image\n\nWe unregister script images during their execution, to prevent a\n\"boot\" command from re-executing the containing script.  This also has\nthe side effect of preventing executing scripts from showing up within\nthe Linux magic initrd image (or the Multiboot module list).\n\nAdditional logic in bzimage.c and efi_file.c prevents a currently\nexecuting kernel from showing up within the magic initrd image.\nSimilar logic in multiboot.c prevents the Multiboot kernel from\nshowing up as a Multiboot module.\n\nThis still leaves some corner cases that are not covered correctly.\nFor example: when using a gzip-compressed kernel image, nothing will\ncurrently hide the original compressed image from the magic initrd.\n\nFix by moving the logic that temporarily unregisters the current image\nfrom script_exec() to image_exec(), so that it applies to all image\ntypes, and simplify the magic initrd and Multiboot module list\nconstruction logic on the basis that no further filtering of the\nregistered image list is necessary.\n\nThis change has the side effect of hiding currently executing EFI\nimages from the virtual filesystem exposed by iPXE.  For example, when\nusing iPXE to boot wimboot, the wimboot binary itself will no longer\nbe visible within the virtual filesystem.\n\nSigned-off-by: Michael Brown \u003cmcb30@ipxe.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b40bb2d070ebb9a3dc3318aa2cdef8e2a4d30af5",
      "old_mode": 33188,
      "old_path": "src/arch/x86/image/bzimage.c",
      "new_id": "b15bd55637cceac7a7459779969b9edfe09cb15b",
      "new_mode": 33188,
      "new_path": "src/arch/x86/image/bzimage.c"
    },
    {
      "type": "modify",
      "old_id": "0c85df70864e995edbbf7defb8c8a6b2a08e477a",
      "old_mode": 33188,
      "old_path": "src/arch/x86/image/multiboot.c",
      "new_id": "c1c63bc975ee9ee151b29ad37df0441c594784e4",
      "new_mode": 33188,
      "new_path": "src/arch/x86/image/multiboot.c"
    },
    {
      "type": "modify",
      "old_id": "5a9aebc7472442e56a62c4aa24631fb353f748f8",
      "old_mode": 33188,
      "old_path": "src/core/image.c",
      "new_id": "b280eb4d3bebc730cee2219e763050b3e2edb4c5",
      "new_mode": 33188,
      "new_path": "src/core/image.c"
    },
    {
      "type": "modify",
      "old_id": "28050868af2387bac80e480d8d6c9d2867d7e4f4",
      "old_mode": 33188,
      "old_path": "src/image/script.c",
      "new_id": "b34df1e21a52ee78525d12dfd2e9d824e59dd75b",
      "new_mode": 33188,
      "new_path": "src/image/script.c"
    },
    {
      "type": "modify",
      "old_id": "f2b44fa7379b40d6acddea6d417d63727a8c0dcb",
      "old_mode": 33188,
      "old_path": "src/interface/efi/efi_file.c",
      "new_id": "6443d56048a1a4e46d1893186d9ddb57c9c3dc7c",
      "new_mode": 33188,
      "new_path": "src/interface/efi/efi_file.c"
    }
  ]
}
