summaryrefslogtreecommitdiff
path: root/src/dev/nodedev
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/nodedev')
-rw-r--r--src/dev/nodedev/fbnodedev.cil4
-rw-r--r--src/dev/nodedev/hidrawnodedev.cil4
-rw-r--r--src/dev/nodedev/inputnodedev.cil5
-rw-r--r--src/dev/nodedev/rfkillnodedev.cil4
-rw-r--r--src/dev/nodedev/usbnodedev.cil5
5 files changed, 17 insertions, 5 deletions
diff --git a/src/dev/nodedev/fbnodedev.cil b/src/dev/nodedev/fbnodedev.cil
index 47d670c..b722c33 100644
--- a/src/dev/nodedev/fbnodedev.cil
+++ b/src/dev/nodedev/fbnodedev.cil
@@ -5,4 +5,6 @@
(filecon "/dev/fb([0-9]+)?" char nodedev_context)
- (blockinherit .nodedev.template))
+ (blockinherit .nodedev.template)
+
+ (call .rbacsep.exempt.obj.type (nodedev)))
diff --git a/src/dev/nodedev/hidrawnodedev.cil b/src/dev/nodedev/hidrawnodedev.cil
index 3ca398f..5890de8 100644
--- a/src/dev/nodedev/hidrawnodedev.cil
+++ b/src/dev/nodedev/hidrawnodedev.cil
@@ -5,4 +5,6 @@
(filecon "/dev/hidraw[0-9]+" char nodedev_context)
- (blockinherit .nodedev.template))
+ (blockinherit .nodedev.template)
+
+ (call .rbacsep.exempt.obj.type (nodedev)))
diff --git a/src/dev/nodedev/inputnodedev.cil b/src/dev/nodedev/inputnodedev.cil
index c68115a..3d0572d 100644
--- a/src/dev/nodedev/inputnodedev.cil
+++ b/src/dev/nodedev/inputnodedev.cil
@@ -6,5 +6,8 @@
(filecon "/dev/input/js([0-9]+)?" char nodedev_context)
(filecon "/dev/input/mice" char nodedev_context)
(filecon "/dev/input/mouse([0-9]+)?" char nodedev_context)
+ (filecon "/dev/psaux" char nodedev_context)
- (blockinherit .nodedev.template))
+ (blockinherit .nodedev.template)
+
+ (call .rbacsep.exempt.obj.type (nodedev)))
diff --git a/src/dev/nodedev/rfkillnodedev.cil b/src/dev/nodedev/rfkillnodedev.cil
index 712cb21..4cd67b6 100644
--- a/src/dev/nodedev/rfkillnodedev.cil
+++ b/src/dev/nodedev/rfkillnodedev.cil
@@ -5,4 +5,6 @@
(filecon "/dev/rfkill" char nodedev_context)
- (blockinherit .nodedev.template))
+ (blockinherit .nodedev.template)
+
+ (call .rbacsep.exempt.obj.type (nodedev)))
diff --git a/src/dev/nodedev/usbnodedev.cil b/src/dev/nodedev/usbnodedev.cil
index 2432b6a..ce2c7ab 100644
--- a/src/dev/nodedev/usbnodedev.cil
+++ b/src/dev/nodedev/usbnodedev.cil
@@ -4,5 +4,8 @@
(block usb
(filecon "/dev/bus/usb/.+" char nodedev_context)
+ (filecon "/dev/usb.+" char nodedev_context)
- (blockinherit .nodedev.template))
+ (blockinherit .nodedev.template)
+
+ (call .rbacsep.exempt.obj.type (nodedev)))