LuK1337
92511715f3
msm8976-common: sec_config: Drop Samsung / our changes
...
Change-Id: I6daee910a1afed3a0e37e36923dae3d567585184
2018-02-12 18:34:12 +01:00
Jaime A Lopez-Sollano
eff79cd317
msm8976-common: PDR: Allow ril to access the locator and notifier services.
...
In order to be notified of PDR status, ril needs access to the QMI SERVREG_LOG
and QMI_SERVREG_NOTIF services
Change-Id: I99866e34994159578faa8a689b66184ca5d5d99b
2018-02-12 18:34:12 +01:00
Jiju Kinattingal
0273a2301b
msm8976-common: Allow rild to communicate with QMI LTE service
...
Add IPC security rule to allow rild to communicate
with QMI LTE service
Change-Id: Id5204eb9a66d904313bf64915136aa64bf991809
CRs-Fixed: 1006583
2018-02-12 18:34:12 +01:00
Adnan Reza
3aaace0cba
msm8976-common: Allow qmi csvt service to have radio previlage
...
QMI Circuit Switched Video Telephony
Change-Id: I2a9ff770cf2558cd3807baa1f6ec0dd2351cf6bf
2018-02-12 18:34:12 +01:00
Yuanyuan Liu
69626a3f36
msm8976-common: sec_config: Add security rule for WLPS service
...
Add security rule for WLPS service, which allows WLPS client to
communicate without net_raw privileges.
Change-Id: I4f382c90838f8994f3df25ee40f7769a52376be5
CRs-Fixed: 1050486
2018-02-12 18:34:12 +01:00
Yuanyuan Liu
912466c7e8
msm8976-common: sec_config: Add security rule for WLFW service
...
Add security rule for WLFW service, which allows WLFW client to
communicate without net_raw privileges.
Change-Id: I772f1ebf145fb810c81abe93a15adbc32f0b2bd1
CRs-Fixed: 1048891
2018-02-12 18:34:12 +01:00
Rafeeqh Shaik
db0bd70cd4
msm8976-common: RILD access to new QMI HTTP service
...
Grant RILD access to new QMI HTTP service.
Change-Id: I485fb61598fba969306551c96ecec99a9785fc41
CRs-Fixed: 1015264
2018-02-12 18:34:12 +01:00
Mike Cailean
0e74c4c4d7
msm8976-common: Allow QMID service to aquire net_raw permission
...
Allow QMID service to aquire net_raw permission
for GPS to fix GTP WAA based Cell-id injection
Change-Id: Ibcbf2516d32f46fda358d9ec4db7cd68f6174a11
CRs-fixed: 2093489
2018-02-12 18:34:12 +01:00
Yuanyuan Liu
b53207d041
msm8976-common: sec_config: Add system permission for DMS QMI service
...
Add system permission for DMS as cnss-daemon runs in system group
and uses DMS service.
Change-Id: Iffcf23afc3940a7acf28bb9c9b47648475cc9152
CRs-Fixed: 1067995
2018-02-12 18:34:12 +01:00
Chris Lew
3a2de3a2f7
msm8976-common: sec_config: Add 2901 to IPC Router config
...
The diag node is moving to oem_2901 group permissions
instead of diag permissions. Update IPC Router security
config to allow diag communication through sockets.
Change-Id: I46411aff66a5e9fd6478924bfa92d575030305ea
2018-02-12 18:34:12 +01:00
Chris Lew
5147f4aee7
msm8976-common: diag: Change access permission for DIAG services to new value
...
There is a new value for AID_QCOM_DIAG on N builds. This change
updates the IPC security rules to use the new value.
CRs-Fixed: 1034114
Change-Id: I191be232fa9f55c2889c65f491ca2096b7f2a19b
2018-02-12 18:34:12 +01:00
Harikrishnan Hariharan
a4ebdb9718
msm8976-common: Remove unnecessary net_raw/net_admin from location modules
...
Remove net_raw/net_admin from groups for service properties
of loc_launcher in init.qcom.rc. For accessing qmi service
16, location modules need to have the qmi socket to give
permission to gps gid rather than net_raw. Modifies sec_
config for to allow this.
Change-Id: I2c687d3e396a055212951bb3f11534af718acba5
CRs-Fixed: 1026637
2018-02-12 18:34:12 +01:00
Shaikh Shadul
b03baaac78
msm8976-common: common: sec_config: Remove clients group id from sensors
...
Do not allow access to sensors services from clients group id 3011.
Change-Id: Iafe88f835af337d8745bc9be410740ed858e14d8
2018-02-12 18:34:12 +01:00
Mridul Singh
f4a3f205a2
msm8976-common: Sensors: Allow access to Sensors services from Cameraserver.
...
Allow cameraserver group to acess the sensors QMI services.
Change-Id: Icb033f28a4b8f925fadaff49cd8a4f641ea9eb73
2018-02-12 18:34:12 +01:00
Ananda Kishore
39e2d3d9dd
msm8976-common: Sensors: Allow access to Sensors services from System Group
...
Allow members of the System group, specifically the Android
System Server, and QSensorTest, to access the Sensors QMI services
Change-Id: I57d2a487269a2e7751c12f4d330c06531ec59228
2018-02-12 18:34:12 +01:00
LuK1337
71cc7f7a90
msm8976-common: Kill qseeproxydaemon
2018-02-12 18:34:12 +01:00
LuK1337
0b60118cf8
msm8976-common: sepolicy: Remove rules that are now in legacy-common
2018-02-12 18:34:12 +01:00
LuK1337
c6b26d88d7
msm8976-common: Build libsecnativefeature from source
2018-02-12 18:34:12 +01:00
Ziyan
61a4c37735
msm8976-common: ril: add squash of OSS libsecnativefeature
...
msm8976-common: ril: add open-sourced libsecnativefeature, used by libsec-ril
Change-Id: I2f487db23b31c63ba919863f393ca37cc9a81191
libsecnativefeature: fix build with clang
Change-Id: Ibda3234af2b1184e094913e35cb919a75f972c87
Change-Id: Iaaa06fa527cedce6609a95b21d787c13dda6a30a
2018-02-12 18:34:12 +01:00
LuK1337
2ff56657dd
msm8976-common: sepolicy: Sync timekeep rules with SODP
2018-02-12 18:34:12 +01:00
LuK1337
ee0365443e
msm8976-common: Timekeep is now in /vendor
2018-02-12 18:34:12 +01:00
Alin Jerpelea
8f9aac337d
msm8976-common: init: Remove the timekeep service
...
the service has been moved to the timekeep git
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2018-02-12 18:34:11 +01:00
Bruno Martins
32345609a6
msm8976-common: Update prefixes for audio system properties
...
* All vendor-specific properties are required to have vendor prefixes
Change-Id: If899944896a91c647d4111dac79eb25f9611d75c
2018-02-12 18:34:11 +01:00
LuK1337
dfde1bbb16
msm8976-common: sepolicy: Add rules for RIL
2018-02-12 18:34:11 +01:00
LuK1337
d44c7bd9b8
msm8976-common: sepolicy: Allow init to setattr on sysfs symlinks
...
* Required for sx9310_grip sensor.
2018-02-12 18:34:11 +01:00
LuK1337
a9f7ab090c
msm8976-common: Go back to CAF audio policy
2018-02-12 18:34:11 +01:00
LuK1337
4cb91ebb10
msm8976-common: rootdir: Remove unused cnd and dpmd services
2018-02-12 18:34:11 +01:00
LuK1337
650d131066
Revert "msm8976-common: Default OMX service to non-Treble"
...
This reverts commit a4c0788fb6a1c2342dcbd2427477d89ce758ad4d.
2018-02-12 18:34:11 +01:00
Pawin Vongmasa
8070c9bacb
msm8976-common: Create media_profiles_V1_0.xml
...
media_profiles_V1_0.xml is created from media_profiles.xml by replacing
the dtd schema inside media_profiles.xml with an external reference to
/system/etc/media_profiles_V1_0.dtd.
Change-Id: I0fbb03603a72d0108a96bfa0f0a4ceb12ef3d430
2018-02-12 18:34:11 +01:00
Bruno Martins
0022bdce3c
msm8976-common: Move media configs to vendor
...
Change-Id: Id589520e15ecd2066e6e3d002ee96c9364d25cac
2018-02-12 18:34:11 +01:00
Bruno Martins
436b2f46a9
msm8976-common: Move IPC router config to vendor
...
Change-Id: I8d6892c8205a307f3a236f7ce8c78f9bdead2ba5
2018-02-12 18:34:11 +01:00
Bruno Martins
c86d342b41
msm8976-common: Move Wi-Fi files to vendor
...
Change-Id: I7e95baa01490ec76cf8ddfa051f01fc9b0bc5c7a
2018-02-12 18:34:11 +01:00
Bruno Martins
63b6049a40
msm8976-common: Move keylayout files to vendor
...
Change-Id: Idaa0fe01f453afdf2ec419a4c514516e3b2196bd
2018-02-12 18:34:11 +01:00
Bruno Martins
2e0406f63a
msm8976-common: Move device-specific feature configs to vendor
2018-02-12 18:34:11 +01:00
LuK1337
60433896c0
msm8976-common: Move audio configuration files to /vendor
2018-02-12 18:34:11 +01:00
Daniel Reimer
7e5c3cf247
msm8976-common: Add gts28velte and gts210velte to build guard
2018-02-12 18:34:11 +01:00
Luca Stefani
f7f672f6fb
msm8976-common: Add rild socket shim
...
Change-Id: Ia5aa2cf867678045215625f6297708db6f49fdaa
2018-01-26 15:47:21 +01:00
Daniel Reimer
392bac6064
msm8976-common: audio: Decommonize audio_policy_configuration.xml
2018-01-26 15:47:21 +01:00
Daniel Reimer
75f78a6e5a
msm8976-common: overlay: Decommonize radio and network attributes
2018-01-26 15:47:21 +01:00
LuK1337
a8edb8f13a
msm8976-common: Include legacy QCOM sepolicy
2018-01-26 15:47:21 +01:00
LuK1337
6cc79a1df7
msm8976-common: sepolicy: Allow timekeep to read "since_epoch"
...
* We don't really need to relabel it since we trust
timekeep as it's just a simple OSS program.
2018-01-26 15:47:21 +01:00
LuK1337
eee9f90a82
msm8976-common: sepolicy: Allow system_server to read qti_debugfs
2018-01-26 15:47:21 +01:00
LuK1337
762edfede3
msm8976-common: sepolicy: Use regular expression when labeling BT sysfs
...
* Apparently gts28vewifi uses different number
than 125 thus we should be using [0-9]+ regex.
2018-01-26 15:47:21 +01:00
LuK1337
e13f6fe38a
msm8976-common: sepolicy: Allow Bluetooth to read firmware files
...
* Newer devices ship with bt_firmware partition but
we aren't so lucky so we have to allow bluetooth
to read firmware_file instead.
2018-01-26 15:47:21 +01:00
LuK1337
54f1428686
msm8976-common: Label BT_QCA6174 sysfs files
2018-01-26 15:47:21 +01:00
Ethan Chen
2bf275f870
msm8976-common: sepolicy: Use noatsecure for everything
...
* We rely on LD_SHIM_LIBS to provide missing symbols to
some of our proprietary libraries.
Change-Id: I17095630043bbd5af4436cd5625a0fdc3480ed05
2018-01-26 15:47:21 +01:00
LuK1337
25e027d85e
msm8976-common: Initial SELinux updates
...
* Drop domain_deprecated
* Use proper device block paths as
symlinks are no longer working.
2018-01-26 15:47:21 +01:00
Bruno Martins
2849bf85b3
msm8976-common: Update for moved hardware key overlays
...
* These have now been moved to the SDK
Change-Id: I551ddc8c58ccd7184fddb1c615b15cce8127daad
2018-01-26 15:47:21 +01:00
Bruno Martins
c22f31c686
msm8976-common: lineagehw: Apply LineageOS rebrand
...
* Adapt to the new Lineage SDK and temporarily disable the import
of currently non-existing Lineage common classes.
* Drop never required BOARD_USES_CYANOGEN_HARDWARE flag
(only required to opt-in for common light HALs).
Change-Id: I979bb57522b37a698b1de6afaea2ba41464e6277
2018-01-26 15:47:21 +01:00
Bruno Martins
60d3e23292
msm8976-common: overlay-lineage: Apply LineageOS rebrand
...
Change-Id: Idc537612efe4cf870d6a8164bd04844c1bb40b2b
2018-01-26 15:47:21 +01:00