Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 055899c1 authored by Bernhard Thoben's avatar Bernhard Thoben
Browse files

kitakami-common: sepolicy: Labeled clean_scratch_files and addressed it.

to suppress error messages like this one: "Could not start exec background service: File /system/bin/clean_scratch_files (labeled u:object_r:system_file:s0) has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined."

Change-Id: Ic33a6e6ecd18d5de79a675bafbb7a605cfd2dda7
parent c4db5906
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
type clean_scratch_files, domain;
type clean_scratch_files_exec, exec_type, file_type;

# Started by init
init_daemon_domain(clean_scratch_files)
+1 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@

# Misc
/system/bin/adsprpcd                                       u:object_r:adsprpcd_exec:s0
/system/bin/clean_scratch_files                            u:object_r:clean_scratch_files_exec:s0
/system/bin/iddd                                           u:object_r:iddd_exec:s0
/system/bin/init\.qcom\.power\.sh                          u:object_r:init-power-sh_exec:s0
/system/bin/irsc_util                                      u:object_r:irsc_util_exec:s0