Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587910 - sys-kernel/vanilla-sources and sys-kernel/rt-sources - keep K_SECURITY_UNSUPPORTED values consistent
Summary: sys-kernel/vanilla-sources and sys-kernel/rt-sources - keep K_SECURITY_UNSUPP...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low trivial
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-03 19:47 UTC by Alec Ari
Modified: 2016-08-09 07:28 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Ari 2016-07-03 19:47:23 UTC
Hello,

I was digging through the kernel ebuilds and noticed that sys-kernel/rt-sources use the following:

K_SECURITY_UNSUPPORTED="yes"

whereas sys-kernel/vanilla-sources use:

K_SECURITY_UNSUPPORTED="1"

What proper syntax is preferred if both are accepted? Can we make these unanimous?

Thanks.

Alec
Comment 1 Karl Lindén 2016-08-05 11:16:23 UTC
Both are supported. See kernel-2.eclass. I grepped the sys-kernel directory and put together the following table, from which it looks like "1" is the preferred value for K_SECURITY_UNSUPPORTED.

PN (excluding sys-kernel/) | K_SECURITY_UNSUPPORTED=
---------------------------|-------------------------
ck-sources                 | "1"
git-sources                | "yes"
mips-sources               | "1"
openvz-sources             | "1"
pf-sources                 | "1"
raspberrypi-sources        | 1
rt-sources                 | "yes"
tuxonice-sources           | "1"
vanilla-sources            | "1"
xbox-sources               | "1"
zen-sources                | "1"

I will fix this very minor issue for rt-sources, but it will still remain for git-sources and raspberrypi-sources.
Comment 2 Patrice Clement (RETIRED) gentoo-dev 2016-08-09 07:28:07 UTC
commit 549816d4bed62893c01ed7db0b5aa57860932a0e (HEAD -> master, origin/master, origin/HEAD)
Author:     Karl Linden <karl.j.linden@gmail.com>
AuthorDate: Fri Aug 5 16:36:42 2016 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Tue Aug 9 09:25:21 2016 +0200

sys-kernel/rt-sources: K_SECURITY_UNSUPPORTED="1" rather than "yes".

Gentoo-Bug: https://bugs.gentoo.org/587910
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2025

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

sys-kernel/rt-sources/rt-sources-3.14.65_p68.ebuild | 2 +-
sys-kernel/rt-sources/rt-sources-3.14.72_p75.ebuild | 2 +-
sys-kernel/rt-sources/rt-sources-3.18.29_p30.ebuild | 2 +-
sys-kernel/rt-sources/rt-sources-3.18.36_p37.ebuild | 2 +-
sys-kernel/rt-sources/rt-sources-4.1.20_p23.ebuild  | 2 +-
sys-kernel/rt-sources/rt-sources-4.1.27_p30.ebuild  | 2 +-
sys-kernel/rt-sources/rt-sources-4.4.12_p19.ebuild  | 2 +-
sys-kernel/rt-sources/rt-sources-4.4.9_p17.ebuild   | 2 +-
sys-kernel/rt-sources/rt-sources-4.6.1_p3.ebuild    | 2 +-
sys-kernel/rt-sources/rt-sources-4.6.2_p5.ebuild    | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)

Commited, thanks!