Roman Kiryanov
8e8d7c5b31
Merge "Label android.hardware.lights-service.example as hal_light_default_exec" am: f7e86d40e1
am: 30ec5f3405
...
Change-Id: Ieabb2c6c08f60dbd33a2a58c5484c6860900d55e
2020-03-27 01:07:09 +00:00
Roman Kiryanov
f7e86d40e1
Merge "Label android.hardware.lights-service.example as hal_light_default_exec"
2020-03-27 00:39:38 +00:00
Roman Kiryanov
e0cc8b0f63
Label android.hardware.lights-service.example as hal_light_default_exec
...
Bug: 152544844
Test: ls -Z /vendor/bin/hw/android.hardware.lights-service.example
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I32a6a443c57986b37fdcca788bfe01bf0cdd3e07
2020-03-26 14:32:15 -07:00
Hayden Gomes
18af143240
Add android.hardware.automotive.audiocontrol@2.0-service to file_contexts am: a010cef7ad
am: 0355e5f4d2
...
Change-Id: I4d0d4e6762a694c3aee1e85f119ced8605c67d64
2020-03-26 20:38:22 +00:00
Hayden Gomes
a010cef7ad
Add android.hardware.automotive.audiocontrol@2.0-service to file_contexts
...
Bug: 148098383
Test: built and ran with new version
Change-Id: I06f8f2cd73dce73111559664871bdd3c9b814d7c
2020-03-25 15:00:10 -07:00
Roman Kiryanov
0c60039e5d
Add android.hardware.dumpstate@1.1-service.example to file_contexts am: fc2956a559
am: 546897f6c6
...
Change-Id: Ie2ca9f8a82a93ffc3d1110cc9d06b05d9b4a77eb
2020-03-25 17:38:13 +00:00
Roman Kiryanov
546897f6c6
Add android.hardware.dumpstate@1.1-service.example to file_contexts am: fc2956a559
...
Change-Id: I4c9284855e9d445c352321c3afeff52883f0aac7
2020-03-25 17:16:51 +00:00
Treehugger Robot
d8f270ef6e
Merge "Add android.hardware.dumpstate@1.1-service.example to file_contexts"
2020-03-25 16:54:06 +00:00
Ilya Matyukhin
1dce26cf96
Merge "Add sepolicy for biometrics.face@1.[0-9]" am: 3d8c069e97
am: ca695d5b5d
...
Change-Id: I3e35dc421204d865d25a30014c33f6eb1446f7eb
2020-03-23 23:51:39 +00:00
Ilya Matyukhin
3d8c069e97
Merge "Add sepolicy for biometrics.face@1.[0-9]"
2020-03-23 23:14:27 +00:00
Roman Kiryanov
fc2956a559
Add android.hardware.dumpstate@1.1-service.example to file_contexts
...
Bug: 152067221
Test: VtsHalDumpstateV1_1TargetTest
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I448e1e4bd94c16f0f8cbd07a7d8390c0201056fa
2020-03-23 16:13:33 -07:00
Ilya Matyukhin
6d7d1b6687
Add sepolicy for biometrics.face@1.[0-9]
...
Bug: 151331855
Bug: 145027036
Test: build and run on cuttlefish
Change-Id: Iae0f157d3a670b506d6cc82686318544db41d559
2020-03-23 14:04:58 -07:00
Alistair Delva
4e264516ab
Merge "Add gnss_device dev_type" am: d5a222d75a
am: 8e755ce345
...
Change-Id: I6e9163b033008c5cd66e5894556ce2389800131f
2020-03-23 19:45:50 +00:00
Alistair Delva
d5a222d75a
Merge "Add gnss_device dev_type"
2020-03-23 18:58:59 +00:00
Chris Weir
dcc585fcf0
Merge "Enable CAN HAL to scan /sys/devices for USB CAN" am: c58ad4b82c
am: a2ad628f4f
...
Change-Id: I8d05c044bf753b4b5eb9572b3a13ea5a31de63e2
2020-03-17 21:39:03 +00:00
Chris Weir
c58ad4b82c
Merge "Enable CAN HAL to scan /sys/devices for USB CAN"
2020-03-17 20:49:34 +00:00
Alistair Delva
1a3ee382ec
Add gnss_device dev_type
...
This grants default access to the new GNSS subsystem for Linux to the
GNSS HAL default implementation. The GNSS subsystem creates character
devices similar to ttys but without much unneeded complexity. The GNSS
device class is specific to location use cases.
Bug: 151670529
Change-Id: I03b27aa5bbfdf600eb830de1c8748aacb9bf4663
2020-03-17 20:25:51 +00:00
chrisweir
05e9a6545c
Enable CAN HAL to scan /sys/devices for USB CAN
...
CAN HAL needs access to /sys/devices to search for USB serial numbers
for SocketCAN devices and for USB serial devices.
Bug: 142654031
Test: Manual + VTS
Change-Id: I3d9bff94f8d8f936f7d859c01b9ff920fcbc5130
2020-03-17 12:10:07 -07:00
Automerger Merge Worker
c84153170f
Merge "Allow vndservicemanager to self-register." am: 48eed15c35
am: cb31f479c5
...
Change-Id: Ie9a2a33659e8714bc50de909705b477680a38819
2020-03-06 18:16:10 +00:00
Steven Moreland
52a96cc7dd
Allow vndservicemanager to self-register.
...
This is useful for tools like dumpsys, so that they work on all services
equally as well. Also, so that there is no difference with the regular
service manager.
Bug: 150579832
Test: 'adb shell /vendor/bin/dumpsys -l' shows 'manager'
Test: denial is no longer present:
03-05 12:23:47.346 221 221 E SELinux : avc: denied { add } for pid=221 uid=1000 name=manager scontext=u:r:vndservicemanager:s0 tcontext=u:object_r:service_manager_vndservice:s0 tclass=service_manager permissive=0
Change-Id: Id6126e8277462a2c4d5f6022ab67a4bacaa3241e
2020-03-05 17:43:35 +00:00
Automerger Merge Worker
32f582a23c
Merge "Update automotive display service rules" am: d36a0750e4
am: 3e54bef43f
...
Change-Id: I75af71dba278c7a72902b7dfa236d4632a30aa17
2020-02-25 16:11:43 +00:00
Changyeon Jo
17b38d526d
Update automotive display service rules
...
This change updates sepolicies for automotive display service to make it
available to the vendor processes.
Bug: 149017572
Test: m -j selinux_policy
Change-Id: I48708fe25e260f9302e02749c3777c0ca0d84e4b
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-25 02:02:54 +00:00
Automerger Merge Worker
7934472245
Merge "Add SELinux policy for credstore and update for IC HAL port from HIDL to AIDL." am: 1948c11d13
am: 19516eb39f
am: 5d5da562ba
...
Change-Id: Id5d55d29f52b7ed56c16de946c4c0e5fdf054f35
2020-02-19 23:18:16 +00:00
Automerger Merge Worker
efbd524476
Merge "Update file_contexts for contexthub HAL 1.1" am: c5953aba8b
am: ab1bf2c331
am: 5beece6e58
...
Change-Id: Ic709e86c1e9ff2337c710d3e521e3f97a8343d66
2020-02-19 22:20:14 +00:00
David Zeuthen
1948c11d13
Merge "Add SELinux policy for credstore and update for IC HAL port from HIDL to AIDL."
2020-02-19 21:14:40 +00:00
David Zeuthen
02bf814aa2
Add SELinux policy for credstore and update for IC HAL port from HIDL to AIDL.
...
The credstore service is a system service which backs the
android.security.identity.* Framework APIs. It essentially calls into
the Identity Credential HAL while providing persistent storage for
credentials.
Bug: 111446262
Test: atest android.security.identity.cts
Test: VtsHalIdentityTargetTest
Test: android.hardware.identity-support-lib-test
Change-Id: I5cd9a6ae810e764326355c0842e88c490f214c60
2020-02-19 13:46:45 -05:00
Anthony Stange
667b2fa6ec
Update file_contexts for contexthub HAL 1.1
...
Bug: 135951924
Test: Verify this lets contexthub HAL 1.1 run on a device that supports
it
Change-Id: I049e77d476ac0d090e48895a19a454b764aac74c
2020-02-18 23:12:05 +00:00
Automerger Merge Worker
db9794f0ed
Merge "rebootescrow: allow use of block file" am: ebbc1b43cc
am: d0cb7bf39a
am: 9f707e3c15
...
Change-Id: I93247f43f6b6ecd448d606a8bba2c620b41ba91b
2020-01-28 17:46:23 +00:00
Kenny Root
ebbc1b43cc
Merge "rebootescrow: allow use of block file"
2020-01-28 17:10:37 +00:00
Automerger Merge Worker
ad06d1c3ee
Merge "Allow reading dt fstab in boot control HAL." am: 23a3355004
am: b4f243d0b9
am: 2ef17e8b8c
...
Change-Id: I2d900fa38a7980227c4f60e109e0e30658145539
2020-01-28 16:35:43 +00:00
David Anderson
9853c7522d
Allow reading dt fstab in boot control HAL.
...
Fixes the following denial:
type=1400 audit(0.0:4): avc: denied { read } for comm="android.hardwar" name="compatible" dev="sysfs" ino=28205 scontext=u:r:hal_bootctl_default:s0 tcontext=u:object_r:sysfs_dt_firmware_android:s0 tclass=file permissive=0
This permission is needed for ReadDefaultFstab, which searches the device tree for fstab entries. Devices that use dt-fstab may fail to find the misc block device.
Bug: 143589455
Test: manual test
Change-Id: Ied52fe9b1056d26b4dd00811c4690fa4c505fae8
2020-01-28 01:03:38 +00:00
Kenny Root
960f73b75b
rebootescrow: allow use of block file
...
pmem uses a block file while access_ramoops uses a char file. Allow both for
now until we can unify on pmem.
Additionally allow the reading of vendor properties so it can read the
path to the character or block device to open.
Test: atest VtsHalRebootEscrowTargetTest
Bug: 146400078
Change-Id: Ief61534e0946480a01c635ce1672579959ec8db5
2020-01-27 12:28:44 -08:00
Automerger Merge Worker
e987034615
Merge "Add sepolicy for biometrics.face@1.1" am: 915ad1ecbf
am: 29b9d7d68e
am: 82045b4624
...
Change-Id: Id04a58be24ba92ea06d4e71d2ff26c05a769f10b
2020-01-23 12:25:34 +00:00
Ilya Matyukhin
536796c6dd
Add sepolicy for biometrics.face@1.1
...
Bug: 145027036
Test: build and run on cuttlefish
Change-Id: Ic3cc7755e65ba3537cbe817e0835ac34c04d6561
2020-01-22 17:17:12 -08:00
Automerger Merge Worker
ac2dd1ad0d
Merge "stable aidl Power HAL policy" am: fbe4afa7aa
am: 4cb024e790
am: 03a1842686
...
Change-Id: I83dd34152278d0b38ee50525950e06f7d77925d7
2020-01-16 23:09:09 +00:00
Wei Wang
fbe4afa7aa
Merge "stable aidl Power HAL policy"
2020-01-16 22:35:42 +00:00
Automerger Merge Worker
da1f8e6709
Merge "Fix spelling of 'system' for android.hardware.identity@1.0-service.example" am: 89277a412d
am: 91c15d1bc2
am: 550e7f28dd
...
Change-Id: I045e0fa2164a04541093637a72940ce3ec8e5982
2020-01-16 19:15:18 +00:00
Treehugger Robot
89277a412d
Merge "Fix spelling of 'system' for android.hardware.identity@1.0-service.example"
2020-01-16 18:43:34 +00:00
Automerger Merge Worker
6acd552f07
Merge "Add sepolicy for usb gadget hal v1.1" am: a1f829d3f8
am: 5b62692346
am: f8cafa6bec
...
Change-Id: Ie61864b459214892fa15bfe1a65651ce95fc071e
2020-01-16 11:29:01 +00:00
Treehugger Robot
a1f829d3f8
Merge "Add sepolicy for usb gadget hal v1.1"
2020-01-16 11:01:35 +00:00
Automerger Merge Worker
ea13ded3a3
Merge "Add rebootescrow default HAL rules" am: 1145b90b69
am: 4e4bb65056
am: f2bb2e241b
...
Change-Id: I86c5354a5203982cedff4a4884520839df35c52d
2020-01-16 01:32:34 +00:00
Wei Wang
32b24c0f0b
stable aidl Power HAL policy
...
Test: boot and dumpsys -l
Change-Id: I58022c9e0c24ba4e2d695acf63375c9f74c51b22
2020-01-15 16:53:40 -08:00
Treehugger Robot
1145b90b69
Merge "Add rebootescrow default HAL rules"
2020-01-16 00:24:59 +00:00
David Zeuthen
05ade22c65
Fix spelling of 'system' for android.hardware.identity@1.0-service.example
...
Bug: 111446262
Test: Manually
Change-Id: I37764f0ed580b4242e02c1958eabed88957adfd1
2020-01-15 19:05:24 -05:00
Automerger Merge Worker
5a24828f3e
Merge "Add SELinux policy for Identity Credential HAL" am: a5527b4e46
am: 8924b794a7
am: 700b98a507
...
Change-Id: If6578fc781106395bd8e47b13aba4994d41ba986
2020-01-15 23:43:10 +00:00
Kenny Root
70c40e05f3
Add rebootescrow default HAL rules
...
Bug: 63928581
Test: build and check HAL label
Change-Id: I057b26eb20c5a6b022c7f391a6c8535f2953051c
2020-01-15 13:14:35 -08:00
Howard Yen
a98cdefad6
Add sepolicy for usb gadget hal v1.1
...
Bug: 147645728
Test: build pass and service running correctly
Change-Id: I52b6bcae2c05998e3f22c39998597e2ecef55036
2020-01-15 16:44:39 +08:00
David Zeuthen
b8b5da4305
Add SELinux policy for Identity Credential HAL
...
Bug: 111446262
Test: VtsHalIdentityCredentialTargetTest
Change-Id: Icb5a0d8b24d463a2f1533f8dd3bfa84bf90acc6f
2020-01-14 20:13:39 -05:00
Automerger Merge Worker
a36a52b562
Add device file for Resume on Reboot am: 2073d5b685
am: 58b31517b1
am: c7d5d9fcd7
...
Change-Id: I04a00fd23f019dd32c5dcad4daa986b3028db2e7
2019-12-19 02:46:50 +00:00
Kenny Root
2073d5b685
Add device file for Resume on Reboot
...
This adds the type and permissions for the default implementation to talk to
its kernel module.
Bug: 63928581
Test: boot Pixel 4 with default implementation
Change-Id: Ie847e4db975b95e90ea64937401e8d8a8ed812cb
2019-12-18 10:39:21 -08:00