aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/public
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/public')
-rw-r--r--sepolicy/public/attributes3
-rw-r--r--sepolicy/public/property.te5
-rw-r--r--sepolicy/public/property_contexts6
3 files changed, 14 insertions, 0 deletions
diff --git a/sepolicy/public/attributes b/sepolicy/public/attributes
new file mode 100644
index 0000000..c5a79e7
--- /dev/null
+++ b/sepolicy/public/attributes
@@ -0,0 +1,3 @@
+attribute hal_mlipay;
+attribute hal_mlipay_client;
+attribute hal_mlipay_server;
diff --git a/sepolicy/public/property.te b/sepolicy/public/property.te
new file mode 100644
index 0000000..72d3996
--- /dev/null
+++ b/sepolicy/public/property.te
@@ -0,0 +1,5 @@
+# Fingerprint
+vendor_public_prop(vendor_fp_prop)
+
+# Mlipay
+vendor_public_prop(vendor_mlipay_prop)
diff --git a/sepolicy/public/property_contexts b/sepolicy/public/property_contexts
new file mode 100644
index 0000000..3d3b2d6
--- /dev/null
+++ b/sepolicy/public/property_contexts
@@ -0,0 +1,6 @@
+# Camera
+camera. u:object_r:vendor_camera_prop:s0
+
+# Fingerprint
+sys.fp.vendor u:object_r:vendor_fp_prop:s0
+