From 78088259528ae7129045dac8f46a03ace49feaef Mon Sep 17 00:00:00 2001 From: John Turner Date: Thu, 14 Aug 2025 20:10:39 -0400 Subject: update profile to inherit the selinux feature --- profiles/gentoo-pc/parent | 2 +- profiles/gentoo-pc/profile.bashrc | 5 +++++ profiles/gentoo-pc/use.force | 2 ++ profiles/gentoo-pc/use.mask | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 profiles/gentoo-pc/profile.bashrc create mode 100644 profiles/gentoo-pc/use.force create mode 100644 profiles/gentoo-pc/use.mask (limited to 'profiles') diff --git a/profiles/gentoo-pc/parent b/profiles/gentoo-pc/parent index a010839..886474e 100644 --- a/profiles/gentoo-pc/parent +++ b/profiles/gentoo-pc/parent @@ -1 +1 @@ -gentoo:default/linux/amd64/17.1/desktop \ No newline at end of file +gentoo:default/linux/amd64/23.0/split-usr/desktop \ No newline at end of file diff --git a/profiles/gentoo-pc/profile.bashrc b/profiles/gentoo-pc/profile.bashrc new file mode 100644 index 0000000..d28d6c3 --- /dev/null +++ b/profiles/gentoo-pc/profile.bashrc @@ -0,0 +1,5 @@ +# SELinux-aware progams write to entries here +SANDBOX_WRITE="${SANDBOX_WRITE}:/selinux/:/sys/fs/selinux/" + +# for setfscreatecon +SANDBOX_WRITE="${SANDBOX_WRITE}:/proc/self/" diff --git a/profiles/gentoo-pc/use.force b/profiles/gentoo-pc/use.force new file mode 100644 index 0000000..4090679 --- /dev/null +++ b/profiles/gentoo-pc/use.force @@ -0,0 +1,2 @@ +-caps +selinux \ No newline at end of file diff --git a/profiles/gentoo-pc/use.mask b/profiles/gentoo-pc/use.mask new file mode 100644 index 0000000..d93e123 --- /dev/null +++ b/profiles/gentoo-pc/use.mask @@ -0,0 +1 @@ +-selinux \ No newline at end of file -- cgit v1.2.3