sepolicy: Add "rs" and "rs_exec" to public policy

Add "rs" and "rs_exec" types to public policy. Access
to these types might be needed for device specific
customization.

Bug: 121306110
Test: Manual using application
Change-Id: Ief35d3353625adfbf468447de74aa80651dd9451
This commit is contained in:
Emilian Peev 2018-12-21 17:31:47 +00:00
parent 49ff99ff79
commit a34cfe7b56
3 changed files with 4 additions and 3 deletions

View file

@ -68,6 +68,8 @@
permissionmgr_service permissionmgr_service
recovery_socket recovery_socket
role_service role_service
rs
rs_exec
rss_hwm_reset rss_hwm_reset
rss_hwm_reset_exec rss_hwm_reset_exec
runtime_service runtime_service

View file

@ -1,6 +1,3 @@
type rs, domain, coredomain;
type rs_exec, system_file_type, exec_type, file_type;
# Any files which would have been created as app_data_file # Any files which would have been created as app_data_file
# will be created as rs_data_file instead. # will be created as rs_data_file instead.
allow rs app_data_file:dir ra_dir_perms; allow rs app_data_file:dir ra_dir_perms;

2
public/rs.te Normal file
View file

@ -0,0 +1,2 @@
type rs, domain, coredomain;
type rs_exec, system_file_type, exec_type, file_type;