summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-05-17 12:19:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-18 12:43:00 +0100
commit3a461e071e0e0432618baea40f2aa72d46114b60 (patch)
treee41f158b82c2f956a5ab9334aa789dd681619c98 /meta
parentda52dce440a3633b6d34b69ddc068f3cf3a8cd9f (diff)
downloadpoky-3a461e071e0e0432618baea40f2aa72d46114b60.tar.gz
cups: whitelist CVE-2021-25317
This CVE relates to bad ownership of /var/log/cups, which we don't have. (From OE-Core rev: 0792312f3637ec160d2ef90781a8cb1f75b84940) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/cups/cups.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 9faac08104..be5a11c944 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -127,3 +127,7 @@ SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess"
127cups_sysroot_preprocess () { 127cups_sysroot_preprocess () {
128 sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:' 128 sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:'
129} 129}
130
131# -25317 concerns /var/log/cups having lp ownership. Our /var/log/cups is
132# root:root, so this doesn't apply.
133CVE_CHECK_WHITELIST += "CVE-2021-25317" \ No newline at end of file