Jonglin Lee
af3a79ed68
Merge "Revert "Move twoshay definitions to hardware/google/pixel-sepoli...""
2021-09-10 21:31:23 +00:00
Jonglin Lee
7254de258a
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
...
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
Revert "Move sepolicy for _touchflow targets."
Revert submission 15676823-reflector-sepolicy
Reason for revert: breaking several builds in git_master-without-vendor
Reverted Changes:
Ifecfc81f0:Move twoshay definitions to hardware/google/pixel-...
Idfd81131c:Move twoshay definitions to hardware/google/pixel-...
Id2b0e1db3:Move twoshay definitions to hardware/google/pixel-...
I43ac6337f:Move twoshay definitions to hardware/google/pixel-...
If95e6e788:Move twoshay definitions to hardware/google/pixel-...
I07ab95780:Move sepolicy for _touchflow targets.
I01f378b51:Move sepolicy for _touchflow targets.
Bug: 199548147
Change-Id: I84f106c24bd47fd171788301415c0eabafe9254f
2021-09-10 21:23:57 +00:00
Philip Quinn
5c58949ac6
Merge "Move twoshay definitions to hardware/google/pixel-sepolicy/input."
2021-09-10 17:15:05 +00:00
Adam Shih
778f7da931
label Extcon files
...
Bug: 199218084
Test: Boot with target files labeled correctly
Change-Id: I7d8c4ecb23a5717e2265cfd66b161fb46717615f
2021-09-09 13:05:36 +08:00
Philip Quinn
d1dd6bac2a
Move twoshay definitions to hardware/google/pixel-sepolicy/input.
...
Bug: 187654303
Test: twoshay works on r4
Change-Id: Id2b0e1db3e1cb9ddf579ea7ed74493464d13fc84
2021-09-08 13:22:24 -07:00
Adam Shih
82db60c2d4
remove obsolete devices
...
Bug: 196916111
Test: No file on the path
Change-Id: If8e54bd161bc955424b40023d94f15bf6b82cc8f
2021-09-08 13:15:44 +08:00
Mark Chang
0782cab4f0
Merge "sepolicy: Add "dontaudit" for twoshay dac_override."
2021-09-08 01:28:34 +00:00
Jenny Ho
7d27682911
sepolicy: add rule for new debug file node am: 17e518038e
am: ee73f40872
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15756806
Change-Id: Ie03501a815a501184142af5f8dd0e4aa1df97729
2021-09-07 14:33:01 +00:00
Jenny Ho
ee73f40872
sepolicy: add rule for new debug file node am: 17e518038e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15756806
Change-Id: Ie913098b9b31e3c042abe13672fddc726cf4aef0
2021-09-07 14:21:17 +00:00
Mark Chang
8a5863ab6d
sepolicy: Add "dontaudit" for twoshay dac_override.
...
Bug: 198755236
Test: build pass and boot to home
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I5c330564cc026e113c5d33d5d093dbcdb3ede5e4
(cherry picked from commit a1aab562ca
)
2021-09-06 13:08:59 +00:00
Jenny Ho
17e518038e
sepolicy: add rule for new debug file node
...
W dumpstate@1.1-s: type=1400 audit(0.0:7): avc: denied { read } for name="logbuffer_maxfg_monitor" dev="tmpfs" ino=500 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
Bug: 196755019
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I0ddf68d5e15fe8d77d8d61287f65621c14024f46
2021-09-06 06:21:34 +00:00
Roshan Pius
a84423801e
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: 9c96111094
-s ours
...
am skip reason: Merged-In Ief48eacde68b062b2199b20c0c1bb3af23795240 with SHA-1 a3f040d2ac
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15686198
Change-Id: I33396a2698acc529851ddb4207168790540bcd14
2021-08-26 21:52:28 +00:00
Roshan Pius
9c96111094
gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor
...
Since we are now creating an AOSP HAL for uwb. Rename qorvo's internal
HAL to hal_uwb_vendor to avoid conflicts with the AOSP HAL sepolicy
rules.
Bug: 195308730
Test: Compiles
Change-Id: Ief48eacde68b062b2199b20c0c1bb3af23795240
Merged-In: Ief48eacde68b062b2199b20c0c1bb3af23795240
2021-08-26 20:02:20 +00:00
Roshan Pius
62f6dbd236
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: a3f040d2ac
-s ours am: 545771e074
-s ours
...
am skip reason: Merged-In Ief48eacde68b062b2199b20c0c1bb3af23795240 with SHA-1 04fbca104c
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15678068
Change-Id: I5776eafb0a6ca87ba12432bfd8b24405b699311a
2021-08-26 04:25:54 +00:00
Roshan Pius
545771e074
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: a3f040d2ac
-s ours
...
am skip reason: Merged-In Ief48eacde68b062b2199b20c0c1bb3af23795240 with SHA-1 04fbca104c
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15678068
Change-Id: I1ff7de7eba82ec1d804aa4d2e481303a6ed63252
2021-08-26 04:07:26 +00:00
Roshan Pius
dd586eb7b4
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: 04fbca104c
-s ours am: 4eeb587d95
-s ours am: 063cbb1b8f
-s ours
...
am skip reason: skipped by user rpius
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15675687
Change-Id: I1f9c3293fa679d604f521115f4308aea6072ef4b
2021-08-26 01:36:02 +00:00
Roshan Pius
063cbb1b8f
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: 04fbca104c
-s ours am: 4eeb587d95
-s ours
...
am skip reason: skipped by user rpius
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15675687
Change-Id: Ib6dafd7313c358327c24aa15196cd53d0d3c9840
2021-08-26 01:17:34 +00:00
Roshan Pius
a3f040d2ac
gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor
...
Since we are now creating an AOSP HAL for uwb. Rename qorvo's internal
HAL to hal_uwb_vendor to avoid conflicts with the AOSP HAL sepolicy
rules.
Bug: 195308730
Test: Compiles
Change-Id: Ief48eacde68b062b2199b20c0c1bb3af23795240
Merged-In: Ief48eacde68b062b2199b20c0c1bb3af23795240
2021-08-26 01:07:43 +00:00
Roshan Pius
4eeb587d95
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: 04fbca104c
-s ours
...
am skip reason: skipped by user rpius
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15675687
Change-Id: I2d51df14c755847d1a270bdb98e9b702e22f8b7f
2021-08-26 01:01:24 +00:00
Victor Liu
16092c7774
[automerger skipped] uwb: permissions for factory uwb calibration file am: 29aa981623
am: 7a06a7a434
-s ours am: 441d9430ab
-s ours
...
am skip reason: Merged-In I3e5282477fd391b483e03242ce0b806bd447dc54 with SHA-1 29aa981623
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15616315
Change-Id: I8e7f08993339f6cd1e6d39e7d8eaf1008827f4f1
2021-08-25 23:59:12 +00:00
Victor Liu
684c5ff75b
[automerger skipped] uwb: permissions for factory uwb calibration file am: 29aa981623
am: 5dfabe8acf
am: e877511429
-s ours
...
am skip reason: Merged-In I3e5282477fd391b483e03242ce0b806bd447dc54 with SHA-1 8383d9e13f
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15616315
Change-Id: Ie2eef5d497c17c4538febae8fb96e4d69d1caf10
2021-08-25 23:59:00 +00:00
Victor Liu
441d9430ab
[automerger skipped] uwb: permissions for factory uwb calibration file am: 29aa981623
am: 7a06a7a434
-s ours
...
am skip reason: Merged-In I3e5282477fd391b483e03242ce0b806bd447dc54 with SHA-1 29aa981623
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15616315
Change-Id: I24b2da33bda30d057dab6812ec886615a3febb45
2021-08-25 23:42:11 +00:00
Victor Liu
e877511429
uwb: permissions for factory uwb calibration file am: 29aa981623
am: 5dfabe8acf
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15616315
Change-Id: I35c0484a84695969e5f1f3e7cf2e8c7c06b4df3e
2021-08-25 23:41:44 +00:00
Victor Liu
7a06a7a434
uwb: permissions for factory uwb calibration file am: 29aa981623
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15616315
Change-Id: I9755128c2a7a1039cb3b1c5a2e3913a0965540d9
2021-08-25 23:29:50 +00:00
Victor Liu
5dfabe8acf
uwb: permissions for factory uwb calibration file am: 29aa981623
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15616315
Change-Id: Ifa053b14b8fe06af7d076b103657ec7232aa8510
2021-08-25 23:29:46 +00:00
Victor Liu
29aa981623
uwb: permissions for factory uwb calibration file
...
add permission to:
copy factory uwb calib files from persist to /data/vendor/uwb
convert copied file to proper format for uwb stack to consume
Bug: 195659525
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I3e5282477fd391b483e03242ce0b806bd447dc54
Merged-In: I3e5282477fd391b483e03242ce0b806bd447dc54
2021-08-25 19:14:10 +00:00
Victor Liu
8383d9e13f
uwb: permissions for factory uwb calibration file
...
add permission to:
copy factory uwb calib files from persist to /data/vendor/uwb
convert copied file to proper format for uwb stack to consume
Bug: 195659525
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I3e5282477fd391b483e03242ce0b806bd447dc54
2021-08-25 19:12:44 +00:00
Roshan Pius
04fbca104c
gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor
...
Since we are now creating an AOSP HAL for uwb. Rename qorvo's internal
HAL to hal_uwb_vendor to avoid conflicts with the AOSP HAL sepolicy
rules.
Bug: 195308730
Test: Compiles
Change-Id: Ief48eacde68b062b2199b20c0c1bb3af23795240
Merged-In: Ief48eacde68b062b2199b20c0c1bb3af23795240
2021-08-25 17:32:53 +00:00
Roshan Pius
515c17c4e3
gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor
...
Since we are now creating an AOSP HAL for uwb. Rename qorvo's internal
HAL to hal_uwb_vendor to avoid conflicts with the AOSP HAL sepolicy
rules.
Bug: 195308730
Test: Compiles
Change-Id: Ief48eacde68b062b2199b20c0c1bb3af23795240
2021-08-23 09:03:06 -07:00
TreeHugger Robot
c507d41193
Merge "Allow boot color propagation" into sc-qpr1-dev am: 9c97417d3a
am: c9690b1256
am: f3993d4555
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15600825
Change-Id: I7400f05e41c5bbb8bdf080879f41a429b0c2ba07
2021-08-21 17:14:18 +00:00
TreeHugger Robot
a6f6fe4d93
Merge "Allow boot color propagation" into sc-qpr1-dev am: 9c97417d3a
am: c3521edd8c
am: 4dce16cfef
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15600825
Change-Id: I15e30c3a32ca4fb4777fae9d3bfb4d92c5c45205
2021-08-21 17:10:24 +00:00
TreeHugger Robot
f3993d4555
Merge "Allow boot color propagation" into sc-qpr1-dev am: 9c97417d3a
am: c9690b1256
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15600825
Change-Id: I6d8905a45f5195294ca67d8cf21917779c6c3a0c
2021-08-21 17:10:21 +00:00
TreeHugger Robot
4dce16cfef
Merge "Allow boot color propagation" into sc-qpr1-dev am: 9c97417d3a
am: c3521edd8c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15600825
Change-Id: Ie7fde3e797a018b74849b74543a1a0564d9141fd
2021-08-19 23:24:40 +00:00
TreeHugger Robot
c3521edd8c
Merge "Allow boot color propagation" into sc-qpr1-dev am: 9c97417d3a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15600825
Change-Id: Ibef6a94ac176f32b8bb0a87d3eb8283573bbcc74
2021-08-19 23:12:37 +00:00
TreeHugger Robot
c9690b1256
Merge "Allow boot color propagation" into sc-qpr1-dev am: 9c97417d3a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15600825
Change-Id: I7c3f9be67d2e2ae13c034e4909c9ec589e38ccf2
2021-08-19 23:12:30 +00:00
TreeHugger Robot
9c97417d3a
Merge "Allow boot color propagation" into sc-qpr1-dev
2021-08-19 22:52:31 +00:00
David Chen
9778b7a237
[automerger skipped] resolve merge conflicts of c0922582bc
to sc-v2-dev am: 462d4b1bcd
-s ours am: 381a1043e1
-s ours
...
am skip reason: Merged-In Ib95debbc9ce10919c5f935e8f70b340bb293b54a with SHA-1 c0922582bc
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15618916
Change-Id: I1d76d0032294bdb093426eab11720d9d8e788832
2021-08-19 08:52:39 +00:00
David Chen
381a1043e1
[automerger skipped] resolve merge conflicts of c0922582bc
to sc-v2-dev am: 462d4b1bcd
-s ours
...
am skip reason: Merged-In Ib95debbc9ce10919c5f935e8f70b340bb293b54a with SHA-1 c0922582bc
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15618916
Change-Id: I4cf911eb3be87f95df8310888a4b4d211fc576fb
2021-08-19 08:37:09 +00:00
David Chen
d4cef608f5
[automerger skipped] resolve merge conflicts of 945de94222
to sc-v2-dev-plus-aosp am: 28cd716faa
-s ours
...
am skip reason: Merged-In Ib95debbc9ce10919c5f935e8f70b340bb293b54a with SHA-1 6e7338095b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15618917
Change-Id: I5e2af865dcdd230b501f6256af12396eb0a877e5
2021-08-19 04:14:39 +00:00
David Chen
462d4b1bcd
resolve merge conflicts of c0922582bc
to sc-v2-dev
...
Bug: 197164878
Change-Id: Ibc7ea7ffe9c30912c8e12d081a6b110f8e73f29f
Merged-In: Ib95debbc9ce10919c5f935e8f70b340bb293b54a
2021-08-19 02:25:56 +00:00
David Chen
28cd716faa
resolve merge conflicts of 945de94222
to sc-v2-dev-plus-aosp
...
Bug: 197166084
Change-Id: I4b8b2d99db133be4c96853f072e3b10dbac39b92
Merged-In: Ib95debbc9ce10919c5f935e8f70b340bb293b54a
2021-08-19 02:25:12 +00:00
davidycchen
945de94222
Allow twoshay to access fwk_stats_service and system_server am: c0922582bc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15605516
Change-Id: I8a500539a2738d27fa47d2d3f45cfe5e68bfe099
2021-08-19 01:30:20 +00:00
Horng Chuang
b43621dd40
Merge "sepolicy: gs101: Grant permission for more camera device nodes"
2021-08-18 06:16:25 +00:00
Rick Yiu
076106a43b
Merge "gs101-sepolicy: Remove private/mediaprovider_app.te" into sc-v2-dev am: 26fec151ec
am: 7fcca345b0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15595122
Change-Id: Ib0b444122bc33f26149f5a655a3ed10496b7529e
2021-08-18 04:23:21 +00:00
Rick Yiu
7fcca345b0
Merge "gs101-sepolicy: Remove private/mediaprovider_app.te" into sc-v2-dev am: 26fec151ec
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15595122
Change-Id: Ic7d8107ef2e16a57e00de5080a86cdffa50c6791
2021-08-18 04:06:09 +00:00
Rick Yiu
26fec151ec
Merge "gs101-sepolicy: Remove private/mediaprovider_app.te" into sc-v2-dev
2021-08-18 03:46:01 +00:00
davidycchen
c0922582bc
Allow twoshay to access fwk_stats_service and system_server
...
avc: denied { find } for pid=813 uid=0
name=android.frameworks.stats.IStats/default scontext=u:r:twoshay:s0
tcontext=u:object_r:fwk_stats_service:s0 tclass=service_manager
avc: denied { call } for scontext=u:r:twoshay:s0
tcontext=u:r:system_server:s0 tclass=binder
Bug: 179334953
Test: Make selinux_policy and push related files to the device.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ib95debbc9ce10919c5f935e8f70b340bb293b54a
Merged-In: Ib95debbc9ce10919c5f935e8f70b340bb293b54a
2021-08-18 09:47:01 +08:00
Bart Van Assche
0b8782525b
Add the 'bdev_type' attribute to all block device types am: 37b5741301
am: 239bcceb78
am: 7513cd7ad6
am: 6828588c74
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15517922
Change-Id: I6b1d77a15fd0a9839e6aac3313fe2ed2148f8693
2021-08-18 01:36:09 +00:00
Bart Van Assche
23e753a813
Add the 'bdev_type' attribute to all block device types am: 37b5741301
am: 79b41e3c3a
am: 742ff4f98c
am: 65b8e1e433
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15517922
Change-Id: I370eedd4c90af9043c9d96b73c16e1aaf13bb835
2021-08-18 01:35:01 +00:00
Bart Van Assche
eeccb9bc7a
Add the 'bdev_type' attribute to all block device types am: 37b5741301
am: 239bcceb78
am: ea25044059
am: 07751567ad
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15517922
Change-Id: Ifac56b5f8a8e14ca55419e3009771644c3041df2
2021-08-18 01:32:55 +00:00