Skip to content
Snippets Groups Projects
Commit 7c34e83f authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

Move domain_deprecated into private policy

This attribute is being actively removed from policy. Since
attributes are not being versioned, partners must not be able to
access and use this attribute. Move it from private and verify in
the logs that rild and tee are not using these permissions.

Bug: 38316109
Test: build and boot Marlin
Test: Verify that rild and tee are not being granted any of these
      permissions.
Merged-In: I31beeb5bdf3885195310b086c1af3432dc6a349b
Change-Id: I31beeb5bdf3885195310b086c1af3432dc6a349b
(cherry picked from commit 76aab82c)
parent 83f8cde4
No related branches found
No related tags found
No related merge requests found
type runas, domain, domain_deprecated, mlstrustedsubject;
type runas, domain, mlstrustedsubject;
type runas_exec, exec_type, file_type;
allow runas adbd:fd use;
......
type sdcardd, domain, domain_deprecated;
type sdcardd, domain;
type sdcardd_exec, exec_type, file_type;
allow sdcardd cgroup:dir create_dir_perms;
......
# Process which creates/updates shared RELRO files to be used by other apps.
type shared_relro, domain, domain_deprecated;
type shared_relro, domain;
# Grant write access to the shared relro files/directory.
allow shared_relro shared_relro_file:dir rw_dir_perms;
......
##
# trusted execution environment (tee) daemon
#
type tee, domain, domain_deprecated;
type tee, domain;
type tee_exec, exec_type, file_type;
type tee_device, dev_type;
type tee_data_file, file_type, data_file_type;
......
# ueventd seclabel is specified in init.rc since
# it lives in the rootfs and has no unique file type.
type ueventd, domain, domain_deprecated;
type ueventd, domain;
# Write to /dev/kmsg.
allow ueventd kmsg_device:chr_file rw_file_perms;
......
# uncrypt
type uncrypt, domain, domain_deprecated, mlstrustedsubject;
type uncrypt, domain, mlstrustedsubject;
type uncrypt_exec, exec_type, file_type;
allow uncrypt self:capability dac_override;
......
# Domain for update_engine daemon.
type update_engine, domain, domain_deprecated, update_engine_common;
type update_engine, domain, update_engine_common;
type update_engine_exec, exec_type, file_type;
type update_engine_data_file, file_type, data_file_type;
......
# volume manager
type vold, domain, domain_deprecated;
type vold, domain;
type vold_exec, exec_type, file_type;
# Read already opened /cache files.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment