Gentoo Archives: gentoo-dev

From: Mike Pagano <mpagano@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 1/1] eclass/kernel-2: Add additional help text when K_SECURITY_UNSUPPORTED is set
Date: Thu, 02 Mar 2017 00:09:59
Message-Id: 2c7e961f-84f3-d3bb-54ce-362cce7fd8aa@gentoo.org
1 This patch will add some additional text to bring some additional notice
2 to users
3 about the security considerations of a specific kernel and direct them
4 to the
5 upstream website for further information. See bug #599454
6
7 Signed-off-by: Mike Pagano <mpagano@g.o>
8 ---
9 eclass/kernel-2.eclass | 6 ++++++
10 1 file changed, 6 insertions(+)
11
12 diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
13 index e95ec07..2aaab58 100644
14 --- a/eclass/kernel-2.eclass
15 +++ b/eclass/kernel-2.eclass
16 @@ -1054,6 +1054,12 @@ postinst_sources() {
17 # And now the general message.
18 if [[ -n ${K_SECURITY_UNSUPPORTED} ]]; then
19 ewarn "This means that it is likely to be vulnerable to recent
20 security issues."
21 + echo
22 + ewarn "Upstream kernel developers recommend always running the latest "
23 + ewarn "release of any current long term supported Linux kernel version."
24 + ewarn "To see a list of these versions, their most current release and "
25 + ewarn "long term support status, please go to https://www.kernel.org ."
26 + echo
27 ewarn "For specific information on why this kernel is unsupported,
28 please read:"
29 ewarn "https://wiki.gentoo.org/wiki/Project:Kernel_Security"
30 fi
31 --
32 2.10.2

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies