Skip to content
Snippets Groups Projects
Commit b0076ff7 authored by Bowgo Tsai's avatar Bowgo Tsai Committed by android-build-merger
Browse files

Merge "Moving adbd from rootdir to system/bin" into oc-mr1-dev

am: cf627a49

Change-Id: I4c5d4a99d99bc95957c0083068f9299d769e9d57
parents 6f1cb5a2 cf627a49
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
typeattribute adbd coredomain; typeattribute adbd coredomain;
typeattribute adbd mlstrustedsubject; typeattribute adbd mlstrustedsubject;
init_daemon_domain(adbd)
domain_auto_trans(adbd, shell_exec, shell) domain_auto_trans(adbd, shell_exec, shell)
userdebug_or_eng(` userdebug_or_eng(`
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
;; previous ones. Add here to pass checkapi tests. ;; previous ones. Add here to pass checkapi tests.
(typeattribute new_objects) (typeattribute new_objects)
(typeattributeset new_objects (typeattributeset new_objects
( broadcastradio_service ( adbd_exec
broadcastradio_service
e2fs e2fs
e2fs_exec e2fs_exec
hal_cas_hwservice hal_cas_hwservice
...@@ -29,5 +30,6 @@ ...@@ -29,5 +30,6 @@
;; Thus, these types are also not mapped, but recorded for checkapi tests ;; Thus, these types are also not mapped, but recorded for checkapi tests
(typeattribute priv_objects) (typeattribute priv_objects)
(typeattributeset priv_objects (typeattributeset priv_objects
( screencap ( adbd_tmpfs
screencap
screencap_exec )) screencap_exec ))
...@@ -273,6 +273,7 @@ ...@@ -273,6 +273,7 @@
/system/etc/selinux/plat_sepolicy.cil u:object_r:sepolicy_file:s0 /system/etc/selinux/plat_sepolicy.cil u:object_r:sepolicy_file:s0
/system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0 /system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
/system/bin/vr_hwc u:object_r:vr_hwc_exec:s0 /system/bin/vr_hwc u:object_r:vr_hwc_exec:s0
/system/bin/adbd u:object_r:adbd_exec:s0
############################# #############################
# Vendor files # Vendor files
......
...@@ -3,12 +3,12 @@ typeattribute init coredomain; ...@@ -3,12 +3,12 @@ typeattribute init coredomain;
tmpfs_domain(init) tmpfs_domain(init)
# Transitions to seclabel processes in init.rc # Transitions to seclabel processes in init.rc
domain_trans(init, rootfs, adbd)
domain_trans(init, rootfs, charger) domain_trans(init, rootfs, charger)
domain_trans(init, rootfs, healthd) domain_trans(init, rootfs, healthd)
domain_trans(init, rootfs, slideshow) domain_trans(init, rootfs, slideshow)
domain_auto_trans(init, e2fs_exec, e2fs) domain_auto_trans(init, e2fs_exec, e2fs)
recovery_only(` recovery_only(`
domain_trans(init, rootfs, adbd)
domain_trans(init, rootfs, recovery) domain_trans(init, rootfs, recovery)
') ')
domain_trans(init, shell_exec, shell) domain_trans(init, shell_exec, shell)
......
# adbd seclabel is specified in init.rc since # adbd seclabel is specified in init.rc since
# it lives in the rootfs and has no unique file type. # it lives in the rootfs and has no unique file type.
type adbd, domain; type adbd, domain;
type adbd_exec, exec_type, file_type;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment