diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-12 23:41:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-20 12:36:41 +0100 |
commit | 759b62688b5071577d86a22d5e0b09d1e0029b8d (patch) | |
tree | aa9bab769b97d0e775a9bd64f65a5ef56fc94e7c /meta/recipes-core | |
parent | 8f2798ddbf201361a5e014d244734bdf74a2136d (diff) | |
download | poky-759b62688b5071577d86a22d5e0b09d1e0029b8d.tar.gz |
coreutils: Exclude CVE-2016-2781 from cve-check
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842
"Given runcon is not really a sandbox command, the advice is to use
`runcon ... setsid ...` to avoid this particular issue.
(From OE-Core rev: 1c18220fc8559f6423f9afd95a402753c2143e6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d273b5aed4a5bd509ec9c68a6f451c17ec17d0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils_8.31.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.31.bb b/meta/recipes-core/coreutils/coreutils_8.31.bb index 7dd9e41def..aabeee882c 100644 --- a/meta/recipes-core/coreutils/coreutils_8.31.bb +++ b/meta/recipes-core/coreutils/coreutils_8.31.bb | |||
@@ -26,6 +26,10 @@ SRC_URI_append_libc-musl = "file://strtod_fix_clash_with_strtold.patch" | |||
26 | SRC_URI[md5sum] = "0009a224d8e288e8ec406ef0161f9293" | 26 | SRC_URI[md5sum] = "0009a224d8e288e8ec406ef0161f9293" |
27 | SRC_URI[sha256sum] = "ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd" | 27 | SRC_URI[sha256sum] = "ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd" |
28 | 28 | ||
29 | # http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842 | ||
30 | # runcon is not really a sandbox command, use `runcon ... setsid ...` to avoid this particular issue. | ||
31 | CVE_CHECK_WHITELIST += "CVE-2016-2781" | ||
32 | |||
29 | EXTRA_OECONF_class-native = "--without-gmp" | 33 | EXTRA_OECONF_class-native = "--without-gmp" |
30 | EXTRA_OECONF_class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}" | 34 | EXTRA_OECONF_class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}" |
31 | EXTRA_OECONF_class-nativesdk = "--enable-install-program=arch,hostname" | 35 | EXTRA_OECONF_class-nativesdk = "--enable-install-program=arch,hostname" |