-- The MSYS2 packages unpacked into one tree in the prefix, as pacman would install them without their install scripts, -- which nothing here needs. MSYS2 finds its root from msys-2.0.dll in usr/bin and reads etc/fstab there: drives without -- a prefix (/c/…, as otok.autotools writes paths) and /tmp in the TEMP of the build, since the tree is in the cache and -- read-only to the builds that run it. local fstab = [[ none / cygdrive binary,posix=0,noacl,user 0 0 none /tmp usertemp binary,posix=0,noacl 0 0 ]] -- Sets IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE in the PE header of a program or DLL that has its relocations (MSYS2's -- images all have them, few have the flag). Windows forces ASLR on the processes of an AppContainer, otok's sandbox -- (otok's docs/PLAN.md decision 103): an image without the flag is moved to another address in each process, which -- breaks the fork of the Cygwin runtime; one with it lands at the same address in every process. local function set_dynamic_base(path) local image = otok.read(path) if #image < 0x40 or image:sub(1, 2) ~= "MZ" then return end local pe = string.unpack("