mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
policycoreutils: fix CVE-2026-19079
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
gettext,
|
||||
libsepol,
|
||||
libselinux,
|
||||
@@ -20,6 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-BU5B7AOXMaXua3l6jguNbjRu4dCpusLyUttIwj+aixs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://nvd.nist.gov/vuln/detail/CVE-2026-19079
|
||||
(fetchpatch {
|
||||
name = "CVE-2026-19079.patch";
|
||||
url = "https://github.com/SELinuxProject/selinux/commit/a556538c2d5d2583273e025b45c02651fef47679.patch";
|
||||
stripLen = 1;
|
||||
hash = "sha256-na/4xfW1R5VwvwHTUHXSs23pOD8Z/ClbBET+oxJe+uA=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix install references
|
||||
substituteInPlace po/Makefile \
|
||||
|
||||
Reference in New Issue
Block a user