diff options
author | Leo Famulari <leo@famulari.name> | 2017-02-23 14:49:47 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-02-23 15:01:54 -0500 |
commit | 1d311009fe34a7b22814cc6a3386375ff9142d51 (patch) | |
tree | c5391f548f9c2a7d04bcd5ea42e903c443b4f327 /gnu/packages/linux.scm | |
parent | 1c851cbe0c562894bd38c0f9f39d12be306b3e59 (diff) | |
download | guix-1d311009fe34a7b22814cc6a3386375ff9142d51.tar guix-1d311009fe34a7b22814cc6a3386375ff9142d51.tar.gz |
gnu: util-linux: Fix CVE-2017-2616.
* gnu/packages/patches/util-linux-CVE-2017-2616.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (util-linux)[replacement]: New field.
(util-linux/fixed): New variable.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index a6c564b275..304c9f0512 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -495,6 +495,7 @@ providing the system administrator with some help in common tasks.") (define-public util-linux (package (name "util-linux") + (replacement util-linux/fixed) (version "2.28.1") (source (origin (method url-fetch) @@ -575,6 +576,17 @@ block devices, UUIDs, TTYs, and many other tools.") (license (list license:gpl3+ license:gpl2+ license:gpl2 license:lgpl2.0+ license:bsd-4 license:public-domain)))) +(define util-linux/fixed + (package + (inherit util-linux) + (source + (origin + (inherit (package-source util-linux)) + (patches + (append + (origin-patches (package-source util-linux)) + (search-patches "util-linux-CVE-2017-2616.patch"))))))) + (define-public procps (package (name "procps") |