Commit Graph

5364 Commits

Author SHA1 Message Date
Dan Willemsen
06f7dd0a4b Stop using $(TARGET_DEVICE) in module names
See:
https://android.googlesource.com/platform/build/soong/+/master/docs/best_practices.md#module-with-name-based-on-variable

Bug: 122333321
Bug: 148986460
Test: treehugger
Change-Id: I68f596ebd09cc81108ad32b195677ad56b8a0653
2020-02-06 09:33:07 -08:00
Dan Willemsen
a3e5d7a9d1 Taimen and walleye still use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
2020-01-29 10:38:13 -08:00
Maciej Żenczykowski
85935d74ed move netd.te to //system/sepolicy/public/netd.te
Test: builds
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I5ce68be66fcd9d20b48be2c51b235edc3913c34d
2020-01-24 04:52:22 -08:00
Treehugger Robot
a8a6463dfa Merge "allow iptables to isatty()" 2020-01-23 18:45:42 +00:00
Maciej Żenczykowski
0996257288 allow iptables to isatty()
Test: builds, atest
Bug: 143044679
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3309ccf9be86f06405dc248cc69b0207114f855f
2020-01-23 01:50:42 -08:00
Robert Shih
f86a1eece6 Merge "Allow ClearKey hal to access allocator hal" 2020-01-22 20:11:10 +00:00
Brad Ebinger
2217affa69 Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Merged-In: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-01-21 13:56:05 -08:00
Maciej Żenczykowski
ef7d1c2ff6 remove dontaudit dnsmasq kernel:system module_request
This was originally added due to:
  avc: denied { module_request } for comm="dnsmasq" kmod="netdev-bt-pan" scontext=u:r:dnsmasq:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
in commit cd761300c1 'Allow some denials we have seen.'

This is most likely simply triggered by a race condition on attempting
to access a non existent network device 'bt-pan'.

I'll simply add the dontaudit to sepolicy/system.

Test: N/A
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I102fd2aca9f27258ff7d16fff30d0813bc77fc3d
2020-01-18 18:20:12 -08:00
Robert Shih
1374c3c46b Allow ClearKey hal to access allocator hal
Bug: 147449315
Test: VtsHalDrmV1_2Target
Change-Id: Ieac08f58de8fe400f9309a6a0b19990a5a903013
2020-01-17 12:46:41 -08:00
Treehugger Robot
4a45ac54fe Merge "Update drm service executables file_contexts" 2020-01-15 23:49:00 +00:00
Nikita Ioffe
931bb56198 Enable userspace reboot for walley and taimen
Test: adb shell getprop ro.init.userspace_reboot.is_supported
Test: atest CtsUserspaceRebootHostSideTestCases
Bug: 135984674
Change-Id: I2cb50062a75bb4b7372847fb57c121773252956c
2020-01-13 15:46:30 +00:00
Xin Li
b571b02e29 DO NOT MERGE - Merge January 2020 Security Release into master
Bug: 147314974
Change-Id: Icd108c52e3d2b0cce537fc841adba7cf591f5834
2020-01-07 15:25:21 -08:00
Xin Li
27c9c7accb DO NOT MERGE - Merge QQ1A.200105.003 into stage-aosp-master
Merged-In: I32e9d0ef0eb218f417d694ca9448c7b127fd897e
Change-Id: I44deee9cfe85d8603b7453b23db8c0515b63b7cf
2020-01-02 22:56:24 +00:00
Robin Peng
0c29d27087 Allow vendor_init to set property of logpersistd_logging_prop
am: bad14a58a9

Change-Id: I5f3a592225c04e5d14d9eff1eea22748453637d8
2019-12-19 21:27:03 -08:00
Robin Peng
bad14a58a9 Allow vendor_init to set property of logpersistd_logging_prop
init: Do not have permissions to set 'logd.logpersistd' to 'logcatd' in property file '/vendor/build.prop': SELinux permission check failed
init: Do not have permissions to set 'logd.logpersistd.size' to '30' in property file '/vendor/build.prop': SELinux permission check failed

Bug: 114766334
Test: flash selinux modules to device and reboot under enforcing mode, check if the avc denied log exists
Change-Id: If6bfa1c747f9a2af7fd9499944b590718aab4b9a
2019-12-20 11:51:12 +08:00
Brad Ebinger
3820a041a9 Remove old configuration and use new config for MMTEL/RCS
am: ba9727377a

Change-Id: I0ec53dc789f3f7d1c89f58e86799301d806f1f3d
2019-12-18 18:09:54 -08:00
Brad Ebinger
ba9727377a Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuil
Merged-In: I0d709b8248f1c40f0a5b50ec799396706eeadd65
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2019-12-18 11:03:12 -08:00
Robert Shih
17174657a9 Update drm service executables file_contexts
Bug: 139134043
Test: DeviceManifest/SingleManifestTest.InterfacesAreReleased
Test: MediaDrmClearkeyTest
Change-Id: I2cf92120a02459d250eeae5887ec16ff6872040a
Merged-In: I9c027bfc3620a2a9b40ef9d4d14f2c2e10ff8339
2019-12-18 01:29:02 -08:00
Adam Shih
7ee46ee4fa allow init to create sdcard link file
am: 672fa500b6

Change-Id: I98e0b4ae1fc342e427a5c593b19e9662c1988ff4
2019-12-08 19:43:44 -08:00
Adam Shih
672fa500b6 allow init to create sdcard link file
Bug: 145779706
Test: boot to home with sdcard link file created
Change-Id: I2f9542793dd79318100cf83fd9207af544b87039
2019-12-06 11:36:45 +08:00
Xin Li
db734ce506 Merge Android10 QPR1 into AOSP master
am: 872fa7ece4

Change-Id: If9a64c2b0bfd103a342e0a4d33d7815bd24d9916
2019-12-03 16:07:16 -08:00
Xin Li
872fa7ece4 Merge Android10 QPR1 into AOSP master
Bug: 145570283
Change-Id: I55e610a7c8f083a580035fd2b14de74dd43429dd
2019-12-02 21:25:04 -08:00
TreeHugger Robot
5974e3c71a Merge "Merge QQ1A.191205.011 into stage-aosp-master" into stage-aosp-master 2019-11-24 07:37:10 +00:00
Xin Li
32bcfb886e Merge QQ1A.191205.011 into stage-aosp-master
Bug: 144955631
Merged-In: Iaea54f6b6300ccb00f31c50109dba52c766de842
Change-Id: I271f016d88df7f59b19097a3f6c0d41e15805d05
2019-11-22 13:59:05 -08:00
TeYuan Wang
b85e52e512 Fix init-thermal-logging-sh avc denied problem
am: 6538110587

Change-Id: If2736f71ade24fb4b9f484eacf948a205c2f936c
2019-11-22 12:22:16 -08:00
Wei Wang
9952f3a10f Add sepolicy for thermal log daemon
am: 8fd8553585

Change-Id: I1e46c73850be6e7b2a3ce592e5c31cf3732465ea
2019-11-22 12:22:12 -08:00
Xin Li
d40f6181b8 DO NOT MERGE - Skip QQ1A.191003.001 in stage-aosp-master
Bug: 144955631
Change-Id: I778b7bac32b3e493d46832528de82b5636738da7
2019-11-22 10:47:02 -08:00
TeYuan Wang
6538110587 Fix init-thermal-logging-sh avc denied problem
11-22 15:26:24.090 W/cat     (11317): type=1400 audit(0.0:6481): avc: denied { read } for name="thermal_zone41" dev="sysfs" ino=50767 scontext=u:r:init-thermal-logging-sh:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=lnk_file permissive=0

Bug: 126562025
Test: Walleye: thermal logd works normally
               thermal hal works normally
               thermal-engine CPU throttling works normally
               Verified thermal info in dumpstate board
Change-Id: Ief4d1914629bde632cf0231ae1233b2fc703437e
Signed-off-by: TeYuan Wang <kamewang@google.com>
2019-11-23 00:03:18 +08:00
Wei Wang
8fd8553585 Add sepolicy for thermal log daemon
Bug: 126562025
Test: Boot and check log
Change-Id: I85a6fc0d6cce6b9de174c4402a34b3226c074213
Signed-off-by: TeYuan Wang <kamewang@google.com>
(cherry picked from commit 13191bd626)
2019-11-22 10:45:41 +08:00
android-build-team Robot
215b06f75a Merge cherrypicks of [9736358, 9736296, 9735406, 9736235, 9736059, 9736060, 9736236, 9736297, 9736298, 9735210, 9735309] into qt-qpr1-release
Change-Id: I6cd38e5d21f1e57e60f12bc4ee291f75081f92c1
2019-11-15 06:16:08 +00:00
Lubo Hristov
846db2a585 Set wahoo SVN to 38
bug:144373594
(cherry picked from commit 2aec5d4f60)

Change-Id: I04f359c0f4a14112b6bb3093920e1280b932669e
2019-11-15 06:15:14 +00:00
Xin Li
9f2f82b793 DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
Bug: 142003500
Change-Id: I0ab50d4492485256b07173aaaea82915fdcf5696
2019-10-30 11:47:13 -07:00
Xin Li
fe6672c4cf [automerger skipped] Merge Coral/Flame into AOSP master
am: ee99adeee4 -s ours
am skip reason: change_id Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc with SHA1 d439ae48e8 is in history

Change-Id: I7274b471f52c9152a75c56c64488b5563af607d8
2019-10-26 21:58:50 -07:00
Xin Li
ee99adeee4 Merge Coral/Flame into AOSP master
Bug: 141248619
Change-Id: Ie1950d440dd010f8c6b422cf91eebc3dd91855a0
Merged-In: Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc
2019-10-25 10:27:52 -07:00
Yifan Hong
d439ae48e8 Merge "/charger->/system/bin/charger"
am: bd1e386b69

Change-Id: Ie608b9e5d9bc78130411363c0d24c1a7e609d0dc
2019-10-17 13:13:32 -07:00
Yifan Hong
bd1e386b69 Merge "/charger->/system/bin/charger" 2019-10-17 19:50:26 +00:00
Inseob Kim
6a541d4dfd Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW""
am: 34dbd6a44e

Change-Id: Ie6589419e2cdc83e05adf454770d04c20c971fac
2019-10-16 21:15:26 -07:00
Yifan Hong
7c0f2ff08b /charger->/system/bin/charger
Bug: 142286265
Test: charger mode
Change-Id: Iddfca94f0279ac604c5301a3413b59b99dd6f9b7
2019-10-16 17:37:10 -07:00
Treehugger Robot
34dbd6a44e Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"" 2019-10-17 00:26:29 +00:00
Xin Li
3ab90ed111 Skip QD1A.190821.011 in stage-aosp-master
Bug: 141248619
Change-Id: I0fae54ed5c07db38fd4a3d96a93fa6eaba5c4e5a
2019-10-16 15:19:14 -07:00
Inseob Kim
f17459f4ea Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"
This reverts commit 98ebf2cf85.

Reason for revert: Original CL was workaround and doesn't need after aosp/1143969 is merged

Change-Id: Ie232b5288adfd3b90ff1b71c396512a013dcced8
2019-10-16 03:28:05 +00:00
Inseob Kim
b92a8a8747 Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"
am: 181313befe

Change-Id: Idfaf1cebd6d34bb70399ec6b10b00ccc7bb9ecba
2019-10-14 18:55:14 -07:00
Inseob Kim
181313befe Merge "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW" 2019-10-15 01:29:06 +00:00
Inseob Kim
98ebf2cf85 Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true

Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests

Change-Id: Ia215fdcc39d82487446b9972325d8b344945965d
Merged-In: Ia215fdcc39d82487446b9972325d8b344945965d
(cherry picked from commit 7d61bcd7ec)
2019-10-15 09:29:27 +09:00
android-build-team Robot
b66d0ee9c4 Merge cherrypicks of [9544810, 9544811, 9544812, 9544813, 9546204, 9546205, 9546206, 9546207, 9544814] into qt-qpr1-release
Change-Id: Idadd5dca5b4ed9dda66d060d9bdab0f1a41e1d5b
2019-10-13 19:59:57 +00:00
Lubo Hristov
108e5b1c02 Bump wahoo SVN to 37
bug:141626492
(cherry picked from commit 2a3a17fd6a)

Change-Id: I4abfa0f65ff9d1eef687f722b5bacb950656c835
2019-10-13 19:59:23 +00:00
Xin Li
e6cb6808af [automerger skipped] DO NOT MERGE - Merge QP1A.191005.007 into master
am: e8fb0738cd -s ours
am skip reason: change_id Ief27255508e5fa4cef71df720b5bf9ea4e84d49f with SHA1 1b1692d98a is in history

Change-Id: Id0e197bfe325878da0903c668c2106ab05d0e4cc
2019-10-10 21:10:34 -07:00
Xin Li
e8fb0738cd DO NOT MERGE - Merge QP1A.191005.007 into master
Bug: 142297020
Merged-In: Ief27255508e5fa4cef71df720b5bf9ea4e84d49f
Change-Id: I8c4b09f8123a873cef4e94b6850daa9e14dcb994
2019-10-10 22:54:01 +00:00
Joel Galenson
d7fb7ddad3 Add jiyong@ and smoreland@ to OWNERS file. am: 3344b0768d am: d4e58b4320
am: eed653d6cc

Change-Id: I793e000b0831d8cc031d7f0092c4d3ff3cb1c8a6
2019-10-01 10:27:49 -07:00
Joel Galenson
eed653d6cc Add jiyong@ and smoreland@ to OWNERS file. am: 3344b0768d
am: d4e58b4320

Change-Id: I75d225ce5a39f6eb4abf41a3902678d88a4fdbde
2019-10-01 10:21:50 -07:00