summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-10Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918temp_sam_210511427temp-sc-samXin Li
Bug: 205056467 Merged-In: I429fc56ad989b6baa87448dd2c148a84d31551b9 Change-Id: I5d832993fcd8f5e2b678d0802ca0f33747ae5e07
2021-11-09modem_diagnostics: add rules for getting battery info am: 6a9827f0a4jintinglin
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1881171 Change-Id: I88b64ffc9ad39ffbf2698491250f1622825c0212
2021-11-05modem_diagnostics: add rules for getting battery infojintinglin
Bug: 204961005 Change-Id: I529c5dbddfd385decd4d14b5c5ccd35759dc8470
2021-10-21Revert "Revert "Remove the bdev_type and sysfs_block_type SELinux ↵Bart Van Assche
attributes"" am: 7dc695097b Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1862754 Change-Id: Iaed9761e61ef8d047a3336b6429a0c339cb06248
2021-10-19Revert "Revert "Remove the bdev_type and sysfs_block_type SELinux attributes""android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1Bart Van Assche
This reverts commit ceb89d2986ff2f6b6a1f055641fbe9ae6730a4c3. Reason for revert: Restore this patch since it was not necessary to revert this patch. Bug: 202520796 Change-Id: Ia8fc800c6180c3264e602b1ae60ca857fd003d9c
2021-10-19Revert "Remove the bdev_type and sysfs_block_type SELinux attributes" am: ↵Michał Brzeziński
ceb89d2986 Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1862216 Change-Id: I7c75c81be7f84a2d3195bd8131bc7e865c1324cd
2021-10-19Revert "Remove the bdev_type and sysfs_block_type SELinux attributes"Michał Brzeziński
Revert "Remove the bdev_type and sysfs_block_type SELinux attributes" Revert submission 1850578-remove-selinux-bdev-type Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/203480787 BUG: 203480787 Reverted Changes: I263bce9c4:Remove the bdev_type and sysfs_block_type SELinux ... Ibc9039f96:Revert "Add the 'bdev_type' attribute to all block... Ic6ae83576:Remove the bdev_type and sysfs_block_type SELinux ... Ie493022a8:Remove the bdev_type and sysfs_block_type SELinux ... I1f1ca439b:Revert "Add the 'bdev_type' attribute to all block... I283f8676b:Revert "Add the 'bdev_type' attribute to all block... I7c5c242c5:Revert "Add the 'bdev_type' attribute to all block... Id78d8f7dc:Remove the bdev_type and sysfs_block_type SELinux ... I9c4b2c48b:Remove the bdev_type and sysfs_block_type SELinux ... I51e9d384a:Remove the bdev_type and sysfs_block_type SELinux ... I2c414de3b:Remove the sysfs_block_type SELinux attribute Change-Id: I857ee6e3abcd4e42ce1126da169efe15d96ae976
2021-10-19Remove the bdev_type and sysfs_block_type SELinux attributes am: 72a17586a1Bart Van Assche
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1850593 Change-Id: Icb2afe919ce4d65159e61b565f4ad27b23920dfa
2021-10-08Remove the bdev_type and sysfs_block_type SELinux attributesBart Van Assche
Bug: 202520796 Test: Untested. Change-Id: Ie493022a87840e417528a8d01aaf5e93071e33dd Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-10-08[automerger skipped] Merge Android 12 am: 651eb56a47 -s ours am: 01cc12906f ↵Xin Li
-s ours am: c1b8a1872a -s ours am skip reason: Merged-In Ic183580a33103f94f95e6b50f3f6b2db3d9fd0e9 with SHA-1 da0f7ba8f4 is already in history Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1847417 Change-Id: I429fc56ad989b6baa87448dd2c148a84d31551b9
2021-10-08[automerger skipped] Merge Android 12 am: 651eb56a47 -s ours am: 01cc12906f ↵Xin Li
-s ours am skip reason: Merged-In Ic183580a33103f94f95e6b50f3f6b2db3d9fd0e9 with SHA-1 da0f7ba8f4 is already in history Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1847417 Change-Id: I8cbfb8df4a2fb6a7af3941d6e64c6e357d72df05
2021-10-08[automerger skipped] Merge Android 12 am: 651eb56a47 -s oursXin Li
am skip reason: Merged-In Ic183580a33103f94f95e6b50f3f6b2db3d9fd0e9 with SHA-1 da0f7ba8f4 is already in history Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1847417 Change-Id: Ie7708e37c72ab6c5884d6c8ba43d2d803789b48a
2021-10-06Merge Android 12Xin Li
Bug: 202323961 Merged-In: Ic183580a33103f94f95e6b50f3f6b2db3d9fd0e9 Change-Id: I627dfefbd9c6e0bf5760f47a5ffb40578ef5a8b6
2021-09-14label extcon files am: 32efccb5f9 am: da0f7ba8f4 am: e3af942950JohnnLee
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1824524 Change-Id: Ib7788951e1d3ec90e0a0dd2a430f0d8dc44861ce
2021-09-14label extcon files am: 32efccb5f9 am: da0f7ba8f4JohnnLee
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1824524 Change-Id: I94806fd6c6ea089f60041b05ba7faec868c61ffc
2021-09-14label extcon files am: 32efccb5f9temp_sam_202323961JohnnLee
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1824524 Change-Id: Ic183580a33103f94f95e6b50f3f6b2db3d9fd0e9
2021-09-14label extcon filesJohnnLee
Bug: 199748390 Test: boot with those files labeled 09-13 17:01:44.542 1865 1865 I auditd : type=1400 audit(0.0:5): avc: denied { read } for comm="android.ui" name="extcon3" dev="sysfs" ino=61612 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 Change-Id: Iabab1243ce7259d46040901a2a734b5962d281a5
2021-08-19Allow boot color propagation am: ebde9751d6Lucas Dupin
Original change: https://googleplex-android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/15601990 Change-Id: Idc9a7c34d70e37459ea9de448fba0aee7f6afc23
2021-08-18Associate the sysfs_block_type attribute with sysfs SCSI device information ↵Bart Van Assche
am: 9d762a5e61 am: 049896ba85 am: 28b6985ec3 Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1799308 Change-Id: Iae459f774372e42c950502082ce7fd5d6a59dc11
2021-08-18Associate the sysfs_block_type attribute with sysfs SCSI device information ↵Bart Van Assche
am: 9d762a5e61 am: 049896ba85 Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1799308 Change-Id: Ic5f6eb6accf63cb3f62e54c462436f67b80e82ed
2021-08-18Associate the sysfs_block_type attribute with sysfs SCSI device information ↵Bart Van Assche
am: 9d762a5e61 Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1799308 Change-Id: I78b06e2a636300eb736a41c130b0b4fe554a45a8
2021-08-17Allow boot color propagationandroid-12.0.0_r32android-12.0.0_r29android-12.0.0_r27android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseLucas Dupin
Allows SystemUI to write the boot color sysprop Test: presubmit Bug: 190093578 Change-Id: I62721773cfd42b7f337c51e122bf4754a9f0ea65 (cherry picked from commit 7fa84987cbe02708e326c42cbca611afabc3b3a5)
2021-08-17Associate the sysfs_block_type attribute with sysfs SCSI device informationandroid-s-beta-5android-s-beta-5Bart Van Assche
Patch https://android-review.googlesource.com/c/platform/system/sepolicy/+/1783947 ("Allow the init and apexd processes to read all block device properties") associates the sysfs_block_type attribute with the files under /sys/class/block. SCSI device information needs to be labeled separately because it exists elsewhere: # ls -ld /sys/class/block/sda lrwxrwxrwx 1 root root 0 2021-08-17 14:49 /sys/class/block/sda -> ../../devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda Hence this patch that associates the sysfs_block_type attribute with SCSI device information in sysfs. Bug: 196982345 Test: Untested. Change-Id: I8cd214601179418b02e80bae0b4c1b47a529df43 Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-08-17[automerger skipped] Merge "Merge sc-dev-plus-aosp-without-vendor@7634622" ↵Xin Li
into stage-aosp-master am: 89e192b7a4 -s ours am: e1b5fc841a -s ours am skip reason: Merged-In I7ac3038e83f8ae730c06370c6d590c3ed81467b4 with SHA-1 19e76864e1 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/15571845 Change-Id: I3e59631c9b0601a0c23df9420529c507fd159eed
2021-08-17[automerger skipped] Merge "Merge sc-dev-plus-aosp-without-vendor@7634622" ↵Xin Li
into stage-aosp-master am: 89e192b7a4 -s ours am skip reason: Merged-In I7ac3038e83f8ae730c06370c6d590c3ed81467b4 with SHA-1 19e76864e1 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/15571845 Change-Id: I5f7a856e528a2b067c54eefb2393b0552ff447bb
2021-08-17Merge "Merge sc-dev-plus-aosp-without-vendor@7634622" into stage-aosp-masterXin Li
2021-08-16Add the 'bdev_type' attribute to all block devices am: 53bdd49fdc am: ↵Bart Van Assche
e065a36fec am: b711715221 Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1794649 Change-Id: I15181fba67e3d7272f4830d29d3ecd8176a76c87
2021-08-16Add the 'bdev_type' attribute to all block devices am: 53bdd49fdc am: e065a36fecBart Van Assche
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1794649 Change-Id: I180b18d05fb4fd8d4766402a621e548f151cf419
2021-08-16Add the 'bdev_type' attribute to all block devices am: 53bdd49fdcBart Van Assche
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1794649 Change-Id: I3a299298cc5b3a889281828ee14c241bcc3b32fd
2021-08-14Merge sc-dev-plus-aosp-without-vendor@7634622Xin Li
Merged-In: I7ac3038e83f8ae730c06370c6d590c3ed81467b4 Change-Id: I42d4667fa2ae222acd30f1ea22331df2a88aa0f6
2021-08-13Add the 'bdev_type' attribute to all block devicesBart Van Assche
The following patch iterates over all block devices: https://android-review.googlesource.com/c/platform/system/core/+/1783847/9 The following patch grants 'init' and 'apexd' permission to iterate over all block devices: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1783947 The above SELinux policy change requires to add the 'bdev_type' attribute to all block devices. Hence this patch. Bug: 194450129 Test: Untested. Change-Id: Ib5dcce36d0583445db9e92e9a5dbbc24e6f8551e Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-08-06logger_app/dumpstate: add rules for pilot am: 7c2989f943 am: 3fcc2dfd49jintinglin
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1784393 Change-Id: I7ac3038e83f8ae730c06370c6d590c3ed81467b4
2021-08-06logger_app/dumpstate: add rules for pilot am: 7c2989f943jintinglin
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1784393 Change-Id: I0dbeb82308aeca3bf924b2d9fa126b5e53266df7
2021-08-04logger_app/dumpstate: add rules for pilotjintinglin
Bug: 178744858 Change-Id: I98d0b8c78790b666157f1cb6dcaa51aa12db46ec Signed-off-by: Jinting Lin <jintinglin@google.com>
2021-07-28Merge "Revert "Stats: removed obsolete IStats HIDL sepolicies"" am: ↵Vova Sharaienko
222ff4d229 am: 598e966991 Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1779985 Change-Id: I7f53694a1b653969acdd5a3f984b3cabcbb78fdd
2021-07-28Merge "Revert "Stats: removed obsolete IStats HIDL sepolicies"" am: 222ff4d229Vova Sharaienko
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1779985 Change-Id: Id141cb5e0d0d2590656120c967a91c0153ef3c20
2021-07-28Merge "Revert "Stats: removed obsolete IStats HIDL sepolicies""Vova Sharaienko
2021-07-27Revert "Stats: removed obsolete IStats HIDL sepolicies"Vova Sharaienko
This reverts commit 85236ac3f26502ae4d1d4133133fd8acce606268. Reason for revert: http://b/185607559 These sepolicies still required for the git_rvc-qpr-dev-plus-aosp branch Change-Id: I2185212e600bc6cfbadea578c4aea8e4c9400822
2021-07-27[automerger skipped] roll back version am: 24d48cc3cd am: 31b592fd3e -s oursAdam Shih
am skip reason: Merged-In I661b258ffdc3da052b46988dce3f44530ef55699 with SHA-1 c88ca6177d is already in history Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1778567 Change-Id: Ifc9804279a6ab07ce51a4a5c73f0f730adb44171
2021-07-27roll back version am: 24d48cc3cdAdam Shih
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1778567 Change-Id: I60d50a9d619c9f3605c8bbb8089aad83fe4cb404
2021-07-27roll back versionAdam Shih
Bug: 193800588 Test: boot to adb Change-Id: I507fba0d5bc45e2cda6cdb4d9cd36f30551331e9 Merged-In: I661b258ffdc3da052b46988dce3f44530ef55699
2021-07-21[automerger skipped] roll back usb version am: 6c8cd41925 am: dddf4cd98b -s oursAdam Shih
am skip reason: Merged-In I56043f94130836cf4dcfc81d73d343f130069f80 with SHA-1 570d57f20e is already in history Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1772489 Change-Id: Iaeeed931a43799cdb7689afa761916cf609efaa5
2021-07-21roll back usb version am: 6c8cd41925Adam Shih
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1772489 Change-Id: I6a904a02f71165e2449620a877753f2477335538
2021-07-21roll back usb versionAdam Shih
Bug: 193800588 Test: boot to adb Change-Id: Ie9baf4dcadcbab258e27fb7d2ae1081ebdd43526 Merged-In: I56043f94130836cf4dcfc81d73d343f130069f80
2021-07-19[automerger skipped] sync tracking denials am: c5c6c1f79c -s ours am: ↵Adam Shih
201e4237c5 -s ours am skip reason: Merged-In I5c8310283d3874c43e88c55afe3a5279174ab7ed with SHA-1 f2a108663a is already in history Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1771006 Change-Id: I89e5eda1da3a636c613c5c33b2d77325f139c258
2021-07-19[automerger skipped] sync tracking denials am: c5c6c1f79c -s oursAdam Shih
am skip reason: Merged-In I5c8310283d3874c43e88c55afe3a5279174ab7ed with SHA-1 f2a108663a is already in history Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1771006 Change-Id: Id1a1989d9dfc18bcc3c1067e420d9721b6df6402
2021-07-19sync tracking denialsAdam Shih
Bug: 193800588 Test: pass DeviceBootTest.DeviceBootTest#SELinuxUncheckedDenialBootTest Change-Id: If35bacdd7ac9607f6db9ea54d8cba7d82d7a9562 Merged-In: I5c8310283d3874c43e88c55afe3a5279174ab7ed
2021-07-16Revert "Update avc error on ROM 7530203" am: e5b91837b4 am: f88b1819e9Orion Hodson
Original change: https://googleplex-android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/15310449 Change-Id: I800a16c46403cb7bc305a304ddc7ac6d6a3a466c
2021-07-16Revert "Update avc error on ROM 7530203" am: e5b91837b4Orion Hodson
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1766950 Bug: 192895524 Change-Id: I16d0df0733194d037e10f879b46e7feca7aed004
2021-07-15Revert "Update avc error on ROM 7530203"Orion Hodson
This reverts commit f8f5accd5c9cc63ccde31fd181e7d6e14711a876. (cherry picked from commit a337df476b167811e5a6e163efc8684865376fac) Bug: 192895524 Bug: 193097845 Bug: 192924324 Test: PtsSELinuxTest Merged-In: I623c523eb6438535bfc8d0cfe69fbc8f8eaee29e Change-Id: If848a5f2eddd2ee7e780ac017b9c7ef1f90f083a