summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2021-08-30 22:19:26 +0100
committerSam James <sam@gentoo.org>2021-11-20 23:20:48 +0000
commit12a71f85fa52b42f59360a24484dd73b88d60bda (patch)
tree8d10e5156ff33d3770d80ea18aa3155903b44aeb
parentprofiles: arm64/17.0: Added SELinux profile, and stable mask for selinux. (diff)
downloadgentoo-12a71f85fa52b42f59360a24484dd73b88d60bda.tar.gz
gentoo-12a71f85fa52b42f59360a24484dd73b88d60bda.tar.bz2
gentoo-12a71f85fa52b42f59360a24484dd73b88d60bda.zip
profiles: arm/17.0: Added SELinux base profiles, stable mask selinux.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/22166 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--profiles/arch/arm/use.stable.mask4
-rw-r--r--profiles/default/linux/arm/17.0/armv4t/selinux/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/armv4t/selinux/parent2
-rw-r--r--profiles/default/linux/arm/17.0/armv5te/selinux/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/armv5te/selinux/parent2
-rw-r--r--profiles/default/linux/arm/17.0/armv6j/selinux/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/armv6j/selinux/parent2
-rw-r--r--profiles/default/linux/arm/17.0/armv7a/selinux/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/armv7a/selinux/parent2
-rw-r--r--profiles/profiles.desc4
10 files changed, 20 insertions, 0 deletions
diff --git a/profiles/arch/arm/use.stable.mask b/profiles/arch/arm/use.stable.mask
index 8fa70e683bc3..a0a8a439bb25 100644
--- a/profiles/arch/arm/use.stable.mask
+++ b/profiles/arch/arm/use.stable.mask
@@ -4,6 +4,10 @@
# This file requires eapi 5 or later. New entries go on top.
# Please use the same syntax as in use.mask
+# Jonathan Davies (2021-08-30)
+# sec-policy/selinux-* not stable yet
+selinux
+
# Michał Górny <mgorny@gentoo.org> (2021-05-04)
# Python 3.10 is not yet stable (and will not be until it's out of beta,
# around September.
diff --git a/profiles/default/linux/arm/17.0/armv4t/selinux/eapi b/profiles/default/linux/arm/17.0/armv4t/selinux/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv4t/selinux/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/armv4t/selinux/parent b/profiles/default/linux/arm/17.0/armv4t/selinux/parent
new file mode 100644
index 000000000000..2190e9797eaa
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv4t/selinux/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../features/selinux
diff --git a/profiles/default/linux/arm/17.0/armv5te/selinux/eapi b/profiles/default/linux/arm/17.0/armv5te/selinux/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv5te/selinux/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/armv5te/selinux/parent b/profiles/default/linux/arm/17.0/armv5te/selinux/parent
new file mode 100644
index 000000000000..2190e9797eaa
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv5te/selinux/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../features/selinux
diff --git a/profiles/default/linux/arm/17.0/armv6j/selinux/eapi b/profiles/default/linux/arm/17.0/armv6j/selinux/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv6j/selinux/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/armv6j/selinux/parent b/profiles/default/linux/arm/17.0/armv6j/selinux/parent
new file mode 100644
index 000000000000..2190e9797eaa
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv6j/selinux/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../features/selinux
diff --git a/profiles/default/linux/arm/17.0/armv7a/selinux/eapi b/profiles/default/linux/arm/17.0/armv7a/selinux/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv7a/selinux/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/armv7a/selinux/parent b/profiles/default/linux/arm/17.0/armv7a/selinux/parent
new file mode 100644
index 000000000000..2190e9797eaa
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/armv7a/selinux/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../features/selinux
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index 7bca49cd1cf3..15af33d06663 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -74,18 +74,21 @@ arm default/linux/arm/17.0/armv4t/desktop dev
arm default/linux/arm/17.0/armv4t/desktop/gnome dev
arm default/linux/arm/17.0/armv4t/desktop/plasma dev
arm default/linux/arm/17.0/armv4t/developer exp
+arm default/linux/arm/17.0/armv4t/selinux exp
arm default/linux/arm/17.0/armv4t/systemd dev
arm default/linux/arm/17.0/armv5te dev
arm default/linux/arm/17.0/armv5te/desktop dev
arm default/linux/arm/17.0/armv5te/desktop/gnome dev
arm default/linux/arm/17.0/armv5te/desktop/plasma dev
arm default/linux/arm/17.0/armv5te/developer exp
+arm default/linux/arm/17.0/armv5te/selinux exp
arm default/linux/arm/17.0/armv5te/systemd dev
arm default/linux/arm/17.0/armv6j stable
arm default/linux/arm/17.0/armv6j/desktop dev
arm default/linux/arm/17.0/armv6j/desktop/gnome dev
arm default/linux/arm/17.0/armv6j/desktop/plasma dev
arm default/linux/arm/17.0/armv6j/developer exp
+arm default/linux/arm/17.0/armv6j/selinux dev
arm default/linux/arm/17.0/armv6j/systemd dev
arm default/linux/arm/17.0/armv7a stable
arm default/linux/arm/17.0/armv7a/hardened exp
@@ -93,6 +96,7 @@ arm default/linux/arm/17.0/armv7a/desktop dev
arm default/linux/arm/17.0/armv7a/desktop/gnome dev
arm default/linux/arm/17.0/armv7a/desktop/plasma dev
arm default/linux/arm/17.0/armv7a/developer exp
+arm default/linux/arm/17.0/armv7a/selinux dev
arm default/linux/arm/17.0/armv7a/systemd dev
# ARM64 Profiles