summaryrefslogtreecommitdiff
path: root/gentoo/contexts
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-08-09 18:40:52 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-08-11 19:49:34 -0400
commit76a28fff54a8f6005744b741165ce532fd25317d (patch)
tree96993fbe3384a5650ed702f10dcccdc2bdef0ac2 /gentoo/contexts
parent2576fa57bb03788ccf752a02c12a7aa4c67e3420 (diff)
downloadselinux-policy-76a28fff54a8f6005744b741165ce532fd25317d.tar.gz
clean up makefile
Diffstat (limited to 'gentoo/contexts')
-rw-r--r--gentoo/contexts/customizable_types1
-rw-r--r--gentoo/contexts/dbus_contexts7
-rw-r--r--gentoo/contexts/default_context1
-rw-r--r--gentoo/contexts/default_type1
-rw-r--r--gentoo/contexts/failsafe_context1
-rw-r--r--gentoo/contexts/files/file_contexts.subs_dist20
-rw-r--r--gentoo/contexts/files/media3
-rw-r--r--gentoo/contexts/removable_context1
8 files changed, 35 insertions, 0 deletions
diff --git a/gentoo/contexts/customizable_types b/gentoo/contexts/customizable_types
new file mode 100644
index 0000000..30f248a
--- /dev/null
+++ b/gentoo/contexts/customizable_types
@@ -0,0 +1 @@
+sys.serialtermdev \ No newline at end of file
diff --git a/gentoo/contexts/dbus_contexts b/gentoo/contexts/dbus_contexts
new file mode 100644
index 0000000..1a35f8b
--- /dev/null
+++ b/gentoo/contexts/dbus_contexts
@@ -0,0 +1,7 @@
+<!DOCTYPE busconfig PUBLIC
+"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN\"
+"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd\">
+<busconfig>
+<selinux>
+</selinux>
+</busconfig>
diff --git a/gentoo/contexts/default_context b/gentoo/contexts/default_context
new file mode 100644
index 0000000..187c5b1
--- /dev/null
+++ b/gentoo/contexts/default_context
@@ -0,0 +1 @@
+sys.role:sys.subj:s0 sys.role:sys.subj:s0 \ No newline at end of file
diff --git a/gentoo/contexts/default_type b/gentoo/contexts/default_type
new file mode 100644
index 0000000..c89274a
--- /dev/null
+++ b/gentoo/contexts/default_type
@@ -0,0 +1 @@
+sys.role:sys.subj \ No newline at end of file
diff --git a/gentoo/contexts/failsafe_context b/gentoo/contexts/failsafe_context
new file mode 100644
index 0000000..47efb07
--- /dev/null
+++ b/gentoo/contexts/failsafe_context
@@ -0,0 +1 @@
+sys.role:sys.subj:s0 \ No newline at end of file
diff --git a/gentoo/contexts/files/file_contexts.subs_dist b/gentoo/contexts/files/file_contexts.subs_dist
new file mode 100644
index 0000000..5d8a2cd
--- /dev/null
+++ b/gentoo/contexts/files/file_contexts.subs_dist
@@ -0,0 +1,20 @@
+/bin /usr/bin
+/lib /usr/lib
+/lib64 /usr/lib
+/sbin /usr/bin
+/usr/lib64 /usr/lib
+/usr/libexec /usr/bin
+/usr/local/bin /usr/bin
+/usr/local/etc /etc
+/usr/local/lib /usr/lib
+/usr/local/lib64 /usr/lib
+/usr/local/libexec /usr/bin
+/usr/local/sbin /usr/bin
+/usr/local/share /usr/share
+/usr/local/src /usr/src
+/usr/sbin /usr/bin
+/usr/tmp /tmp
+/var/mail /var/spool/mail
+/var/lock /run/lock
+/var/run /run
+/var/tmp /tmp \ No newline at end of file
diff --git a/gentoo/contexts/files/media b/gentoo/contexts/files/media
new file mode 100644
index 0000000..2cb0529
--- /dev/null
+++ b/gentoo/contexts/files/media
@@ -0,0 +1,3 @@
+cdrom sys.id:sys.role:removable.stordev:s0
+disk sys.id:sys.role:removable.stordev:s0
+floppy sys.id:sys.role:removable.stordev:s0 \ No newline at end of file
diff --git a/gentoo/contexts/removable_context b/gentoo/contexts/removable_context
new file mode 100644
index 0000000..52cd558
--- /dev/null
+++ b/gentoo/contexts/removable_context
@@ -0,0 +1 @@
+sys.id:sys.role:removable.fs:s0 \ No newline at end of file