Commit Graph

2557 Commits

Author SHA1 Message Date
myfluxi
8501771607 sepolicy: Make superuser_device and sudaemon mlstrustedobjects
Address:
avc: denied { write } for pid=8782 comm="su" name="su-daemon" dev="tmpfs" ino=9462
scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:superuser_device:s0
tclass=sock_file permissive=0

avc: denied { connectto } for pid=6666 comm="su" path="/dev/socket/su-daemon/su-daemon"
scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:sudaemon:s0
tclass=unix_stream_socket permissive=0

And thus fix su.

Change-Id: I666277067c5ff9f2a985c243075c63fd87090b27
2015-11-05 23:53:50 +01:00
Dan Pasanen
48f0b94fff contributors: update d855 maintainer
Change-Id: I34469cba8c0329da78a6b6fa113087fd5352eb57
2015-11-05 15:40:56 -06:00
Abhisek Devkota
df76a1fd89 Remove instance of server=""
Change-Id: I973f9a49aef09b56eeccfee6fbe26ad609bb592c
(cherry picked from commit d9d3201c077dc697a5a76480cf4cc6948e08d704)
2015-11-05 11:01:44 -08:00
Arne Coucheron
3ae1edd009 cm: Include ExactCalculator in the build
Change-Id: Ib5e29677c9a3c375d46839cf32596df58a5be8c1
2015-11-05 02:35:12 +01:00
Dan Pasanen
fc254862bb common: always include the minor version number
Change-Id: I253d468fd84dd5753912e54bb0c84b70a1bb5747
2015-11-04 14:49:03 -06:00
Steve Kondik
aeea5ad7a3 perf: Moving PerformanceManager to CMSDK
* Devices will need to update their configurations!

Change-Id: I22cf4ec96656b98f515cf28fef95443cf6adb397
2015-11-03 18:55:49 -08:00
Michael Bestas
c37028d952 cm: Update packages
* Build new AOSP messaging app
* Remove no longer used WhisperPush/CMHome
* Messaging no longer depends on SoundRecorder

Change-Id: I202203449c97814972f1aad1af4d69afa1a61e7d
2015-11-03 21:52:13 +02:00
Konsta
ce4c12cc35 cm: remove face recognition files
Change-Id: I4c1d5c6a37f5bcec78679e7d3ce073743d6032f2
2015-11-03 21:49:15 +02:00
Konsta
c62be65882 cm: remove non-existing packages
Change-Id: Icde03d961078154dd9fc8e83050aa82d2fe15073
2015-11-03 21:49:07 +02:00
Per Lycke
ce9163ff77 Correct Tele2 Sweden APNs and remove Comviq Sweden.
Tele2 is the parent company of Comviq and it's operating in Tele2s network,
hence using the same APNs as Tele2

Change-Id: I99ea6798bf74a1c2368f2b920f9269597bbc1809
2015-11-02 13:27:45 -08:00
Christopher Tate
792c74dbd2 Update example backup-transport resource overlay
Make sure that the example overlay for configuring a product's
default-active backup transport names the latest incarnation.

Change-Id: I867062f703d3b5f39d40736805ba15f0d21b1afd
2015-11-01 23:42:48 +02:00
Steve Kondik
714a761061 cm: Remove duplicate SEPolicy items
* These are handled by the master SEPolicy now due to neverallow
   exceptions which occur on non-production builds.

Change-Id: Id50d9e41e1c8b0b1f26df7921def9e7a201f49d9
2015-10-31 02:08:33 -07:00
Ricardo Cerqueira
c5e2cf0bf3 LatinIME: Refresh dictionaries
Rebuild those for which source wordlists are available.
Also, remove a couple of redundant ones provided by LatinIME

Change-Id: Ida10e7523f1af760a8fa7866dcea2caf16903d90
2015-10-30 14:31:37 +00:00
d34d
1e9adc4000 Themes: Include aapt on device
Change-Id: I123ba9519dd8c3f31582f0847de31939bdf6ac04
2015-10-27 18:29:27 -07:00
cretin45
d4996dbb7f Ze Yukaay redux
Change-Id: I1beb7d1fd85afd04d011980574f3b396020f9b57
2015-10-23 10:57:48 -07:00
cretin45
87aaca8718 Ze Yukaay
Change-Id: Idc0fa23cac3dbadc46d5ba4f49f195c37f59e713
2015-10-23 10:20:55 -07:00
myfluxi
48b8cdf5db vendor/cm: Build tcmiface
Change-Id: Iacd713c08c502abe45e0c0836df7fd6962571fe6
2015-10-17 17:40:12 -07:00
Dan Pasanen
9ca9d95a76 sepolicy: remove sudaemon type declaration
* this is already defined in external/sepolicy

Change-Id: I541b5de5bb6057f4fa3d88b6e9b9425b65f9963e
2015-10-17 09:22:14 -05:00
Adnan Begovic
c3d3969971 vendor/cm: Fix up service contexts for sepolicy.
Change-Id: Ibb04e967bd027c6d1118b8b471ec328c3b034d9d
2015-10-16 13:20:33 -07:00
Rashed Abdel-Tawab
07beb8f161 contributors: Add Oppo R7 and R7 Plus
Change-Id: I574ba0bad5d973654c95d8558da5f72679ac289a
2015-10-12 13:40:24 -07:00
Michael Bestas
8286b4d6c1 Remove VisualizationWallpapers as it does not comply with API 23 rules
Change-Id: I2cb868713ab13b13c5ebb6d468375c4511aca81d
Reference: 1bde1e17aa%5E%21/#F0
2015-10-10 18:32:49 +03:00
Brandon McAnsh
84f699d4c8 Add fugu maintainers
Change-Id: I557e045710af301eb93145911e252b25c7aff7d5
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-10-08 12:07:15 -04:00
Dan Pasanen
6ac91cb6d3 sepolicy: remove BOARD_SEPOLICY_UNION
* this is a no-op now

Change-Id: I3703a9670285017ce7aec9ac20c63a6f733b8ffa
2015-10-07 12:49:00 -07:00
Michael Bestas
eb83dba7ce Updates for cm-13.0
Change-Id: I6a0efff3bf6ea2e332cacd7cbb2f2b132b2c73dd
2015-10-07 21:15:52 +03:00
Ricardo Cerqueira
b026605629 sepolicy: Underp the context for persistent storage
The dir's context need love, too

TICKET: CYNGNOS-1185
Change-Id: I659b3ba06079825fe850cf66858a9d98b5f61c46
2015-10-05 13:18:31 -07:00
herriojr
6576661e4a Fix MimeType Case
Even though mimetypes are supposed to be case insensitive, Android
treats them as case sensitive so it is best practice to do it all
in lowercase.

Change-Id: I2ce2ac2df4db4989d8be36479f07d4bab97dc7bf
2015-10-05 11:52:22 -07:00
LuK1337
17adbaa207 vendor: cm: contributors: Add maintainers for Motorola Moto G 4G 2014
Change-Id: I24b975c6d29034ad0e396bdc18f008089cca2617
2015-10-02 16:42:19 -04:00
herriojr
5d2c998920 Add libcore.net.MimeUtils Overrides
This will allow us to add supported mimetypes in libcore.net.MimeUtils
which in turn will allow more recognized mimetypes for anything that
uses android.webkit.MimeTypeMap.

Change-Id: I97febe17cff1d196f479b557fef3bca1b11bdd74
Issue-Id: CYNGNOS-1176
2015-10-01 12:16:46 -07:00
Ed Falk
95682234f1 sepolicy: allow vold to trim persist
Change-Id: I6441c00bfd173f1f3fd4c09a67c678c5bd4f8090
Issue-id: SYSTEMS-62
2015-09-30 14:04:23 -07:00
Danesh M
eb659fe64f VendorCm : Overlay additional dialers
Change-Id: I620ace8fc67a43e024e5bae0f9721d71927cec22
2015-09-29 15:36:26 -07:00
Adnan Begovic
6f4802ad65 vendor/cm: Bump API level for cmsdk.
Change-Id: I49584b7a41370b7bcc2af616b6214e7a903ff1f2
2015-09-29 11:28:29 -07:00
Michael Bestas
344e44876a Build CMSettingsProvider for all devices
* common_mini_* configs don't inherit from common_full

Change-Id: If31e57620299fa54bc808de0b80f58ebfabdc718
2015-09-25 16:32:21 -07:00
Abhisek Devkota
8a5d3bb670 Update HK APNs
Per partner list

HAM-267 | HAM-934

Change-Id: Icb80c9020a8a9ac370d6dbac0efd1d6833e44c1b
2015-09-25 14:35:28 -07:00
Yvonne Wong
6a5fc00d0e cm: Add defaults for CMSettingsProvider
Change-Id: I08a725db89df57657742ebea0d209d288cfaf203
issue-id: CYNGNOS-829
2015-09-25 12:42:50 -07:00
Dan Pasanen
5318973c8a apns: combine internet and mms apns for vzw
Change-Id: I551746204893ecd13b5b238286cfb2566928de92
2015-09-22 13:26:26 -07:00
myfluxi
688479223e sepolicy: Allow system app to set boot anim property
Addresses denials observerd when using QuickBoot:

<4>[  224.756971] avc:  denied  { set } for property=ctl.bootanim scontext=u:r:system_app:s0 tcontext=u:object_r:ctl_bootanim_prop:s0 tclass=property_service
<3>[  224.757094] init: sys_prop: Unable to start service ctl [bootanim] uid:1000 gid:1000 pid:6039
<4>[  226.306456] avc:  denied  { set } for property=ctl.bootanim scontext=u:r:system_app:s0 tcontext=u:object_r:ctl_bootanim_prop:s0 tclass=property_service

Change-Id: I338a0a1d5fa12c10e413769ea9638c10ed137000
2015-09-21 18:16:18 -07:00
Brian Deery
da7d187848 APN: add Sprint MVNO Ringplus, Ting update
Added Sprint's MVNO ringplus.  it was added in e1d6d09de7
but removed later in e980819a9c6bb404a7a24772687e88065f434020/b28ca702333739b132b51926eff7b2ec6d2fa2fd
for an unknown reason.
Also, Ting (another Sprint MVNO) was updated so that it shows as active when revisting
the "Access Point Names" menu.

Change-Id: I4f8fc540235a8f8ad0df8656de0ffdbde2b83852
2015-09-21 15:12:57 -07:00
Steve Kondik
b61b6df53f cm: Clean up cgroups even more!
* Only one is needed!

Change-Id: Ib79864bf2b7a3d86a2bad91de01a9b82279f4a91
2015-09-20 20:58:43 -07:00
Steve Kondik
dcbf2aa77e cm: Clean up cgroups
* Remove unnecessary intermediate groups which are more harmful than
   helpful in some cases.
 * Remove weights, we're not using these.
 * Lock down the display group to system only.

Change-Id: I3a848fcc32459b53fa92317c253a20399637033e
2015-09-20 03:33:31 -07:00
Steve Kondik
e2f23f0e91 cm: Fix a few denials
* Missed a few things when cleaning up devices.

Change-Id: Ib71afd696a564aeeaa80c34ca9744a39891f4b63
2015-09-19 22:49:20 -07:00
Steve Kondik
100cc8ea1b cm: Remove xattr option from bfqio cgroup
* This was leftover from testing and breaks the feature when running
   on older kernels which don't support it.

Change-Id: Idb959b37b88238aee87c221d6accc899bf497aea
2015-09-19 12:41:38 -07:00
Steve Kondik
4462dfa518 cm: Update shared init.rc
* Remove cruft
 * Add LiveDisplay sysfs

Change-Id: I6e3ca9048c9196dbc85151f102fb22ff5a4222b4
2015-09-18 20:05:06 -07:00
herriojr
d36909b973 Removes Empty String For Resolver
This removes the empty string here since it was overwriting anything
declared in our usual places for.

Change-Id: Ia46cc45938dfaa9a66014bfdbe8c3fd097298742
2015-09-18 14:31:38 -07:00
Steve Kondik
c815f700e0 cm: Set IOPS mode for CFQ and BFQ automatically
* Always set slice_idle to 0 for CFQ and BFQ (IOPS mode).
   This is a guaranteed performance boost for nonrotational storage
   and is also the new default in Linux 4.2+

Change-Id: Id271a4283219beb272c174de0e452c6c42c4e572
2015-09-17 23:30:41 -07:00
Adnan Begovic
78c6df1db2 vendor/cm: Remove custom resolver from OSS builds.
Change-Id: I37950d2f788c1325f9215d05430b568ee90bd78f
2015-09-17 10:32:56 -07:00
Steve Kondik
28dbc8b311 cm: Create cgroups for BFQIO
* This creates the interface for a new ioprio management system
   which dramatically boosts performance and interactivity across
   the entire system.

Change-Id: I3c402dd2cf6ed0a356a828257c2f373800f6a6cf
2015-09-15 15:32:29 -07:00
Steve Kondik
b5c2cf0408 cm: sepolicy: Create central place for QC-specific policy
* We have a number of policy items due to changes in our BSPs or for
   other things which interact with the QC sepolicy. Add a place
   for us to store this stuff so we don't need to copy it around to
   every device.

Change-Id: I155ca202694501d42b42e2bd703d74049d547df0
2015-09-15 15:31:38 -07:00
Steve Kondik
b5dbbdf9cb cm: sepolicy: Create standard policy for LiveDisplay
Change-Id: Icb0047f261861c8fae99ffa4e9053de8d3aa8c73
2015-09-15 15:31:19 -07:00
Andreas Schneider
9cfe968a73 backuptool: Add checks if it makes sense to execute commands
Change-Id: Ic83fc1168ac459b1bba5cef97d184ce2a9db4c68
2015-09-15 16:02:45 +03:00
herriojr
c6d40c01f7 Enable The AppSuggestService
We need to enable our custom AppSuggestService in order to show
possible suggestions.

Change-Id: I9489723dfec315c7ff4ab414ebe88c3880876bd3
2015-09-14 10:25:22 -07:00