summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/sudaemon.te3
-rw-r--r--sepolicy/system_server.te2
2 files changed, 5 insertions, 0 deletions
diff --git a/sepolicy/sudaemon.te b/sepolicy/sudaemon.te
new file mode 100644
index 0000000..2d6c82d
--- /dev/null
+++ b/sepolicy/sudaemon.te
@@ -0,0 +1,3 @@
+allow sudaemon account_service:service_manager find;
+allow sudaemon package_service:service_manager find;
+allow sudaemon user_service:service_manager find;
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index d499f98..f3fd273 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -1,3 +1,5 @@
allow system_server sysfs_vibrator:file rw_file_perms;
r_dir_file(system_server, sysfs_addrsetup)
+
+allow system_server unlabeled:file unlink;