Commit Graph

2323 Commits

Author SHA1 Message Date
Tom Marshall d553a9f8b5 cm: sepolicy: Remove vold external sdcard rules, moved to main sepolicy
Change-Id: I67756bad2c6e1361ecc0052003f2b4e5e4dbb007
2014-12-13 02:13:52 +00:00
Tom Marshall 66e2bc5c8c cm: Remove prebuilt Term.apk
* This is free on the Play Store, no need to bake it in.

Change-Id: Iffa24c3f2239ee06deee2fe7d1cec396200e1d79
2014-12-12 13:04:33 -08:00
Andy Mast 03555ad053 Sepolicy: Add theme service as system service
Change-Id: Idfb690be5d35c03610165b914c0a3f2260e68956
2014-12-12 01:00:34 +00:00
Abhisek Devkota eab1fbb75b Add Bulsatcom APN
Change-Id: Iedde9248dae63ce5ad030c7713192f0a64f1d038
(cherry picked from commit 12e4e186cb111adcaf628fae0c6471fd22770470)
2014-12-11 19:59:00 +00:00
Roman Birg 20114d672c cm: add sepolicy entry for lockscreen wallpaper
Change-Id: Ie779392ab8118d192873a01ec5c7de3e5938ed17
Signed-off-by: Roman Birg <roman@cyngn.com>
2014-12-11 18:17:04 +00:00
Adnan Begovic df2273ed95 Overlay for stats collection on cm.
Change-Id: I3ecec3507cd617a41ac2c37c5892f3e8ed0261f5
2014-12-10 22:19:35 +00:00
Ricardo Cerqueira 4df29e013d selinux: Workaround for devices with PR_SET_NO_NEW_PRIVS enforcement
PR_SET_NO_NEW_PRIVS blocks domain transitions from within app_process,
unless the new domain is bounded by the app's context. So we can't
switch to a domain that has perms not available to untrusted_app :(

This means any app can talk to the daemon, bypassing the su executable
client. That's not a good thing, and needs to be resolved.

Change-Id: I85b74f90b8737caaa193a0555b5262e7392519b2
2014-12-10 20:38:34 +00:00
Ricardo Cerqueira 7cd698341f Revert "SELinux: su: update policies"
This reverts commit 04fd9192b0.

Change-Id: I69e51fb6c151a48972cf81947c1c59c6f26f60e9
2014-12-10 17:19:14 +00:00
Steve Kondik 06ec5853f3 sepolicy: More rules for recovery
Change-Id: Ie50c04eb83cb9c62f679a1c1aa2ac482af159f7e
2014-12-09 22:20:14 +00:00
Steve Kondik c4f6b977c5 cm: Enable AudioFX
* Drop DSPManager and libcyanogen-dsp. Devices should switch to
   standard Android effects or offload-capable versions.

Change-Id: I4f4eec5747e9073e576fe70e720ac3ffebb3fdd9
2014-12-09 13:29:29 -08:00
Steve Kondik fd3b0e5c07 cm: Turn it up to Eleven
Change-Id: I61250192604498d9259470cbf1a3bb72acfe9eb6
2014-12-09 13:01:43 -08:00
Evan Widger b8dc3a3c3d Added telenor 'smart' ipv4v6 apn
per CYAN-6070

Change-Id: I7de3f829650672f1f3b668da01a8e5be05d82fec
2014-12-08 05:53:16 +00:00
Pawit Pornkitprasan 04fd9192b0 SELinux: su: update policies
- Integrate policies from domain.te (fixes ES File Manager which uses unix socket)
- Allow platform_app to use su (fixes CM File Manager)

Change-Id: I39dd55e63b44590575bbe6d889c8d77141ba8545
2014-12-08 05:43:14 +00:00
Marcos Marado 7eb224d3a5 Fix the Reliance MMS APN (mcc 405, mnc 01)
Change-Id: Ib1f3927aa55ae57d89e6389d685e340ca4b18063
2014-12-08 05:24:35 +00:00
Steve Kondik 20af50fd4c cm: Enable notification counters
Change-Id: I6e586bd3e32005df359faae95532c1ce4ac4bd97
2014-12-05 08:31:06 -08:00
Steve Kondik 21dc3b52d6 cm: Reenable disabledComponents list
Change-Id: Id845fb4676f94d7babc6380d2cd3bd5e423078b6
2014-12-05 15:34:13 +00:00
Evan Widger 2025232f55 apn updates for globul->telenor(bg), globalcom(ng)
per CYAN-6042 and CYAN-5623

Change-Id: I818b7884cc3311b8f51e9afab35e5d228e092de4
(cherry picked from commit 6bf2a26ee818f9452dd5056b4cec49d00ceef57d)
2014-12-03 00:17:30 +00:00
Abhisek Devkota 35c7518b04 India Hutch is no longer a valid APN
Change-Id: If458a45c9ba1ac39097b6157f7c222e16b779a7c
(cherry picked from commit ec073cf4e37e7ad1b2d1062985951e99f142e691)
2014-12-01 21:49:12 +00:00
Diogo Ferreira 5c9f9efba6 sepolicy: Fix permissions for service.adb.tcp.port
This makes the rule more specific by overriding the upstream sepolicy.
Also adds the adbd context which is necessary for "adb tcpip".

Change-Id: Ia17eb56fc1682ab248764329e88eebd2a4075c97
2014-12-01 20:36:13 +00:00
Ricardo Cerqueira d2248b27a8 otasigcheck: Use an explicit exit code for failures
Change-Id: I2b5860ea427a4db7e29b55cc632b92c6e2910494
2014-12-01 15:15:47 +00:00
Pawit Pornkitprasan e815923b0d vendor: add policies for netd
Required due to CAF's abc9c0f4fe574ee9847f118e5d2ae8c530bac650 in
system/netd

Fixes showing how many devices are connected to the tethered hotspot

Change-Id: I1d83f7ac0b28efa6973e0baf429de2a398c471e3
2014-11-29 23:33:52 -08:00
Chirayu Desai 9e0dba30b7 SELinux: su: Remove extra quote in a comment
* Fixes
  vendor/cm/sepolicy/su.te:46:WARNING 'unrecognized character' at token '''

Change-Id: I3957ba7ac05062766cbf6c8f3c3975f20c95532e
2014-11-30 03:05:41 +00:00
Ricardo Cerqueira e4016afa72 Allow SystemServer to set service.adb.tcp.* properties
Required for network adb enable/disable to function

Change-Id: I3e2aacb6b8e9b107dcd229187a5dd76128e20001
2014-11-29 09:01:56 -08:00
black a1998ab77a Update Japanese APNs
Change-Id: Ia145e566f9b8a65dfb17f8d43db5c92b537b34a6
2014-11-29 08:06:20 +00:00
Abhisek Devkota c73cf19cfd Update Reliance APNs
Change-Id: Ie223d4d485f94f374dd57fe660d44bcd0ed74a23
(cherry picked from commit e4704d95e5bba24c4f9fad0dc3966eb03caa4c04)
2014-11-29 08:05:40 +00:00
Tom Marshall 39a4244c77 cm: sepolicy: Add contexts for cm recovery
* Allow setup of secure adb (setup_adbd)

 * minivold in recovery

Change-Id: Id1243154f4016b59e54890404cadea46a2aad212
2014-11-27 23:05:26 +00:00
Ricardo Cerqueira d22efb80e1 selinux: Fix healthd's access to /dev nodes
Our healthd's support for power-on alarms adds some steps that imply
reading files its user doesn't own. Let it.

Change-Id: I3d4735aaab8fbec7acc460f812bc21f1dfa516ab
2014-11-27 22:57:21 +00:00
Howard Su 58f88184d5 vendor/cm: We are at CM-12 now.
Change-Id: If92ade1a3992c5e9d828f23a5bccd80df8d27dfc
2014-11-27 18:40:45 +00:00
Ricardo Cerqueira fa63e50707 selinux: Add a rule to label the extended keyhandler dex files
These should be treated as regular dex cache files, but they're
expanded outside of the normal cache dir

Change-Id: Id046e1b90116b35d2e7817ed4717fcef78135f08
2014-11-27 18:26:39 +00:00
Ricardo Cerqueira 09159ac7ce Add selinux policies for superuser
Change-Id: I878eaa9d25feaedf46e89083f91d6a21f4aff37a
2014-11-27 01:45:53 +00:00
myfluxi 12daaee8a5 vendor: Update SELinux policy for sysinit
Change-Id: I41d4c25d9d6246cd2ca0a8ff3b5a4e114e3bc4d4
2014-11-24 15:37:52 +01:00
Dave Daynard b920c072ef Re-enable default APNS
This partially reverts commit f2458128d0.

Change-Id: I3a99a0e51eb1a4319fc8127f727b754eb22cce6e
2014-11-24 08:01:23 +00:00
Abhisek Devkota 440c3266f6 More Asian APN updates
1) Added Airtel Live APN
2) Renamed Airtel GPRS & MMS APN
3) Add proxy to Reliance & Aircel MMS apns
4) Add two Aircel and one Airtel APNs

Change-Id: Idfbeac8d2b3d805bf0e31faa807ecb1b857771fa
(cherry picked from commit a6e2c09d95233b6980141db8d3530cb62b790433)
2014-11-24 08:00:20 +00:00
Abhisek Devkota 0d4ffee3a6 Split out Airtel, adjust other Asian APNs
Change-Id: I78bf0ef8a1de3549dcafd5d7554500983dabf582
(cherry picked from commit 2a371f19156b822486ac9195f11e90587a13bb9c)
2014-11-24 08:00:03 +00:00
Abhisek Devkota cfb5e79681 Update Asian APNs
Change-Id: Ie17b67130ce39f1378151688aa1a30bbbf9ec8f3
(cherry picked from commit 664877337465d9f602f5b302def87df8ac841deb)
2014-11-24 07:59:08 +00:00
Vaibhav Bhasin 97a19d33a6 vendor: contributors: Add HTC One Mini 2 and HTC Desire 816 maintainers
Change-Id: I10f4796ad8a2b88ee2641a6071b6fa3241979036
Signed-off-by: Vaibhav Bhasin <bhasinvaibhav97@gmail.com>
2014-11-24 04:29:15 +00:00
Chirayu Desai 78a526402f overlay: Enable more global actions
* Bring back airplane mode and reboot options
* Just like the old days :)

Change-Id: I26940d5874d4294883fae0d1dbe6031a13ed2645
2014-11-21 19:08:42 +05:30
Jorge Ruesga ee7999cf0b vendor: Add zip and unrar applets
Info-Zip: 3.0 (https://github.com/jruesga/android_external_zip)
Unrar: 4.2.4 (https://github.com/jruesga/android_external_unrar)

Require: http://review.cyanogenmod.org/#/c/76209

Change-Id: I979a2e1a4d7c2830e49bd782a6c2abbf591f8643
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2014-11-21 01:09:36 +01:00
Kyrylo Mikos 319b556868 [1/2] SEPolicy: Add Edgegesture service.
Change-Id: Id9fc2d68b954e1cd6792739309a0df40e2dc998c
2014-11-19 10:04:18 +02:00
Arne Coucheron 1a1b4dc7da cm: Update and add additional permissions
Change-Id: Iec6a6938209d8bdfa9f8cdc31a9929d2fbc27f76
2014-11-19 05:48:47 +00:00
Michael Bestas 0160f873c4 cm: Remove empty gsm/cdma makefiles
Change-Id: Ia037c7817ab4018e96be9959138369809c337783
2014-11-19 04:37:56 +00:00
Michael Bestas f4248ef2f6 cm: Add 1440 bootanimation
* Add normal & half resolution 1440 bootanimations

Change-Id: I89c4e02173b2395ae58d5f63cfe451dbd2f97f18
2014-11-13 16:12:20 +00:00
Ricardo Cerqueira 15df17f9ac selinux: Add rules for the audit daemon
Change-Id: I050a9ef39d58d2592d880d225d45eb64d8a40b7b
2014-11-09 17:20:54 +00:00
Steve Kondik f2458128d0 TEMPORARY :: disable various overlays for bringup
Change-Id: I906b8186bca71c62e048c4c094c6da2ee8a80b95
2014-11-08 07:15:17 -08:00
Ricardo Cerqueira 49a30e7d17 Updates for CM12 2014-11-06 14:54:32 +00:00
black 518514580a Update APNs for Japan
Change-Id: I200c7fe52bb2e5d51eaa021a69459f38c7c6e512
2014-10-29 06:06:49 -07:00
black 9f87e8cfeb Add SoftBank(Japan) APN
Change-Id: I28d41a90f41cc4ef6d83ae749822975b386e76a0
2014-10-23 09:31:18 -07:00
Oliver Middleton 077be3a323 APN: Giffgaff -> giffgaff
giffgaff is all lowercase

Change-Id: I9e999b6e0007e881f37054f4bd5f257463fdb7e8
2014-10-21 22:31:07 +00:00
Arne Coucheron 2f9f33b6c0 Migrate Telenor Norway APN to IPV6
Change-Id: Icd31b63c83bf3a5a08837a3fe2681c0c80e15fc8
2014-10-21 03:53:32 +00:00
Merudo 4333141c23 added mvno matching for Canada
mvno_match_data & mvno_type for Telus, Koodo, Public Mobile

Change-Id: I97ab7462d9d5b8e0fd58f8c11e54d455900fc8b5
2014-10-20 23:40:25 +00:00