Commits

Anonymous committed 294dbe7

Rename domain "system" to "system_server".

Now that the "system" domain is just about the system_server, it's
clearer if the domain is called "system_server".

This CL depends on the renaming in external/sepolicy performed in
https://android-review.googlesource.com/#/c/65502/

Change-Id: I90a6850603dcf60049963462c5572d36de62bc00

Conflicts:
BoardConfig.mk
sepolicy/compatibility.te
sepolicy/system.te

  • Participants
  • Parent commits f84a90a
  • Branches seandroid-4.3

Comments (0)

Files changed (4)

BoardConfigCommon.mk

 	rild.te \
 	sensors_config.te \
 	surfaceflinger.te \
-	system.te \
+	system_app.te \
+	system_server.te \
 	zygote.te

sepolicy/system.te

-allow { system system_app } { knv_device nvhost_writable_device }:chr_file rw_file_perms;
-allow system sysfs_devices_system_cpu:file w_file_perms;
-allow system sysfs_devices_system_cpu:dir r_dir_perms;
-allow system elan_ip_device:chr_file rw_file_perms;
-allow system diag_device:chr_file rw_file_perms;

sepolicy/system_app.te

+allow system_app { knv_device nvhost_writable_device }:chr_file rw_file_perms;

sepolicy/system_server.te

+allow system_server { knv_device nvhost_writable_device } :chr_file rw_file_perms;
+allow system_server sysfs_devices_system_cpu:file w_file_perms;
+allow system_server sysfs_devices_system_cpu:dir r_dir_perms;
+allow system_server elan_ip_device:chr_file rw_file_perms;
+allow system_server diag_device:chr_file rw_file_perms;