Anonymous avatar 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

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;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.