device/generic/common
リビジョン | d3fa0c08f37451a4974ea0da173361185ef1a0b5 (tree) |
---|---|
日時 | 2018-03-06 18:50:19 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
@@ -15,7 +15,7 @@ on fs | ||
15 | 15 | mount_all /fstab.${ro.hardware} |
16 | 16 | |
17 | 17 | on post-fs |
18 | - exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh | |
18 | + exec u:r:init:s0 -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh | |
19 | 19 | |
20 | 20 | on post-fs-data |
21 | 21 | mkdir /data/misc/wifi 0770 wifi wifi |
@@ -63,6 +63,7 @@ service nativebridge /system/bin/enable_nativebridge | ||
63 | 63 | class main |
64 | 64 | disabled |
65 | 65 | oneshot |
66 | + seclabel u:r:zygote:s0 | |
66 | 67 | |
67 | 68 | service logcat /system/bin/logcat -b all -v threadtime -f /data/log.txt |
68 | 69 | class debug |
@@ -71,24 +72,29 @@ service btattach /system/bin/btattach | ||
71 | 72 | class main |
72 | 73 | disabled |
73 | 74 | oneshot |
75 | + seclabel u:r:bluetooth:s0 | |
74 | 76 | |
75 | 77 | service rtk_hciattach /vendor/bin/rtk_hciattach -n -s 115200 /dev/rtk_h5 rtk_h5 |
76 | 78 | class main |
77 | 79 | disabled |
78 | 80 | oneshot |
81 | + seclabel u:r:bluetooth:s0 | |
79 | 82 | |
80 | 83 | service wacom-input /system/bin/wacom-input |
81 | 84 | disabled |
82 | 85 | oneshot |
86 | + seclabel u:r:inputflinger:s0 | |
83 | 87 | |
84 | 88 | service tablet-mode /system/bin/tablet-mode |
85 | 89 | disabled |
86 | 90 | oneshot |
91 | + seclabel u:r:inputflinger:s0 | |
87 | 92 | |
88 | 93 | service ctrl-alt-del /system/bin/input keyevent --longpress POWER |
89 | 94 | disabled |
90 | 95 | oneshot |
91 | 96 | keycodes 97 100 111 |
97 | + seclabel u:r:init:s0 | |
92 | 98 | |
93 | 99 | on property:system_init.startsurfaceflinger=0 |
94 | 100 | # disable cursor blinking |
@@ -98,10 +104,10 @@ on property:system_init.startsurfaceflinger=0 | ||
98 | 104 | |
99 | 105 | on property:sys.boot_completed=1 |
100 | 106 | write /proc/sys/kernel/ctrl-alt-del 0 |
101 | - exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete | |
107 | + exec u:r:init:s0 -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete | |
102 | 108 | |
103 | 109 | on property:net.dns1=* |
104 | - exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole | |
110 | + exec u:r:init:s0 -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole | |
105 | 111 | |
106 | 112 | on property:debug.logcat=1 |
107 | 113 | class_start debug |