qemu: add patch for CVE-2023-6693

This commit is contained in:
Robert Scott 2024-01-27 13:17:11 +00:00 committed by Alyssa Ross
parent c55700adab
commit 9a9ed628da

@ -140,6 +140,11 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://gitlab.com/qemu-project/qemu/-/commit/9d5b42beb6978dc6219d5dc029c9d453c6b8d503.diff";
sha256 = "sha256-NknkH/gFTsMcdq8/ArwM4+qrpU+ZHd+xVMFUuMJTtf0=";
})
(fetchpatch {
name = "CVE-2023-6693.patch";
url = "https://gitlab.com/qemu-project/qemu/-/commit/2220e8189fb94068dbad333228659fbac819abb0.patch";
sha256 = "sha256-uoFFFsVZ8XnsI2GD7xsRFNWghWL7/PSYTc1yhXI6nv4=";
})
]
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;