)]}'
{
  "commit": "fb7f3572b111ffb6c2dd2c7f6c5b4dc57dd8a3f5",
  "tree": "fb738167a0beebf6d45a663454a9d2d5258d0d93",
  "parents": [
    "2a339fee450638b512c5122281cb5ab49331cfb8"
  ],
  "author": {
    "name": "Ilya Leoshkevich",
    "email": "iii@linux.ibm.com",
    "time": "Wed Oct 23 02:24:31 2024 +0200"
  },
  "committer": {
    "name": "Richard Henderson",
    "email": "richard.henderson@linaro.org",
    "time": "Sat Nov 16 08:42:24 2024 -0800"
  },
  "message": "linux-user: Tolerate CONFIG_LSM_MMAP_MIN_ADDR\n\nRunning qemu-i386 on a system running with SELinux in enforcing mode\n(more precisely: s390x trixie container on Fedora 40) fails with:\n\n    qemu-i386: tests/tcg/i386-linux-user/sigreturn-sigmask: Unable to find a guest_base to satisfy all guest address mapping requirements\n      00000000-ffffffff\n\nThe reason is that main() determines mmap_min_addr from\n/proc/sys/vm/mmap_min_addr, but SELinux additionally defines\nCONFIG_LSM_MMAP_MIN_ADDR, which is normally larger: 32K or 64K, but,\nin general, can be anything. There is no portable way to query its\nvalue: /boot/config, /proc/config and /proc/config.gz are distro- and\nenvironment-specific.\n\nOnce the identity map fails, the magnitude of guest_base does not\nmatter, so fix by starting the search from 1M or 1G.\n\nCc: qemu-stable@nongnu.org\nResolves: https://gitlab.com/qemu-project/qemu/-/issues/2598\nSuggested-by: Richard Henderson \u003crichard.henderson@linaro.org\u003e\nSigned-off-by: Ilya Leoshkevich \u003ciii@linux.ibm.com\u003e\nMessage-ID: \u003c20241023002558.34589-1-iii@linux.ibm.com\u003e\nSigned-off-by: Richard Henderson \u003crichard.henderson@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6cef8db3b53674fbe618fe55dc635d3186feb8e4",
      "old_mode": 33188,
      "old_path": "linux-user/elfload.c",
      "new_id": "d6ad77d27dc209b36004467cf4699daae2d29220",
      "new_mode": 33188,
      "new_path": "linux-user/elfload.c"
    }
  ]
}
