Ying Wang
723d003929
am aa67c0ce
: Merge "qemud: remove permissive_or_unconfined()"
...
* commit 'aa67c0ce9a9697f5ac192020ee8b75734862b129':
qemud: remove permissive_or_unconfined()
2015-02-23 17:34:37 +00:00
Ying Wang
4ca5ab5d4a
am 4be75b37
: Merge "qemu_props: remove permissive_or_unconfined()"
...
* commit '4be75b37333f22e8ce10cc8aff7e9756b2f82689':
qemu_props: remove permissive_or_unconfined()
2015-02-23 17:34:36 +00:00
Ying Wang
a65c7cf1a6
am 5d47a481: Merge "goldfish_setup: remove permissive_or_unconfined()"
...
* commit '5d47a481fb88ca4dba853d064eb5dfd671f9b68a':
goldfish_setup: remove permissive_or_unconfined()
2015-02-23 17:34:35 +00:00
Ying Wang
58aeaed9ce
Merge "goldfish_logcat: remove permissive_or_unconfined()"
2015-02-23 17:30:50 +00:00
Ying Wang
aa67c0ce9a
Merge "qemud: remove permissive_or_unconfined()"
2015-02-23 17:30:43 +00:00
Ying Wang
4be75b3733
Merge "qemu_props: remove permissive_or_unconfined()"
2015-02-23 17:30:28 +00:00
Ying Wang
5d47a481fb
Merge "goldfish_setup: remove permissive_or_unconfined()"
2015-02-23 17:30:28 +00:00
Bill Yi
251412b472
Merge commit 'b89ec38113a22d09b0832ed2d3cb8fc413a14a75' into HEAD
2015-02-19 14:30:26 -08:00
Elliott Hughes
24374e5752
Merge "Remove ARCH_ARM_HAVE_TLS_REGISTER."
2015-02-17 17:47:10 +00:00
Elliott Hughes
e033c6df7d
Remove ARCH_ARM_HAVE_TLS_REGISTER.
...
This was only needed for platform builds, and was removed in the gap between
armv5 being removed and being added back again for tapas builds. Otherwise it
would have been removed back then.
(I suspect that we don't need the system.prop file in here, either, but I
don't really know how to test that.)
Change-Id: I212ff7b3568b5d5ff3cc66150ec7c4fa0b8cac92
2015-02-13 20:51:12 -08:00
Ying Wang
f5a6279c4c
am bdfec89d
: Merge "Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64."
...
* commit 'bdfec89d96819cf78faa4a61635c2ec536b4545f':
Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64.
2015-02-12 20:11:19 +00:00
bohu
05defc16b6
am d857abd1
: am 151205c3
: Merge "Bump generic_mips and generic_x86_64 system partition size" into lmp-mr1-dev
...
* commit 'd857abd1ff8b3436d15765e93b0d4d0ec1a9147a':
Bump generic_mips and generic_x86_64 system partition size
2015-02-12 01:16:22 +00:00
bohu
4c49eaadf3
Bump generic_mips and generic_x86_64 system partition size
...
This fixes the sdk_google_phone_mips and sdk_google_phone_x86-64
builds
Change-Id: I971d02b07a6aa917d7e0f3750b48e657205aae52
2015-02-11 16:51:54 -08:00
Stephen Smalley
7b4a69adf4
qemud: remove permissive_or_unconfined()
...
Change-Id: Ia15cf87de1d03364f80d3d0cbc546475abfef448
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-02-10 17:29:01 -05:00
Stephen Smalley
25a150c5e1
qemu_props: remove permissive_or_unconfined()
...
Change-Id: I29f37822ccac22dd884d88f9dcd23237b5a3e2de
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-02-10 17:28:41 -05:00
Stephen Smalley
063b6b85d6
goldfish_setup: remove permissive_or_unconfined()
...
Change-Id: I3b44f24554f288f4fb1e18a53fa68e8a7cd8c8c7
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-02-10 17:28:11 -05:00
Stephen Smalley
de78c2776a
goldfish_logcat: remove permissive_or_unconfined()
...
Change-Id: I1a26b07bf723c944c7dcb8beec96537500a3bc60
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-02-10 17:27:41 -05:00
Douglas Leung
206cbdb68e
Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64.
...
This is needed to build mips64 ART in quick mode.
Change-Id: I8a9e62389a3d4edb84bf1d6814d6594565bc98ba
2015-02-10 11:55:12 -08:00
Brian Carlstrom
d169346b05
am 7a1125bc
: Merge "Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips."
...
* commit '7a1125bc632e150b934538036102807374406d2f':
Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.
2015-01-09 18:02:20 +00:00
Douglas Leung
3cf3d78600
Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.
...
This is used to set --instruction-set-variant for dex2oat.
Change-Id: Ic93d1bfab634489e004ccf1195cdcfc767f092ef
2015-01-07 18:50:06 -08:00
Ying Wang
904e88b5be
am 8750cfc5
: am 111ba923
: Bump generic_arm64 system partition size to 900M.
...
* commit '8750cfc5b5af821c90b224e727729e721c981e78':
Bump generic_arm64 system partition size to 900M.
2014-12-10 22:36:49 +00:00
Ying Wang
111ba923be
Bump generic_arm64 system partition size to 900M.
...
This fixes the arm64 sdk build.
Change-Id: Ic7b7ada79027845974cbcfc68941cfc87ed050fd
2014-12-10 09:56:06 -08:00
Ying Wang
276a543e71
am ea6113f0
: Merge "arm: Support qemu-android on generic arm targets"
...
* commit 'ea6113f0f1a7069f1dd16bb2c0c7c29700bfda96':
arm: Support qemu-android on generic arm targets
2014-11-20 17:27:35 +00:00
Christoffer Dall
a60edd110f
arm: Support qemu-android on generic arm targets
...
When building a generic arm 32-bit target, we also want to include
support for the ranchu board model for the updated Android emulator
based on recent upstream QEMU.
Since the emulator.mk file is included by both the generic and
generic_arm64 targets and already defines a PRODUCT_COPY_FILES and
PRODUCT_PACKAGES, move duplicate entries from
target/board/generic*/device.mk to target/product/emulator.mk.
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Change-Id: I7922ec0c4097776a185dbb245301d760ff332386
2014-11-19 12:17:59 -08:00
Daniel Cashman
111efa94bf
am 1cffe219
: am b0efa98d
: Merge "Switch qemud to permissive_or_unconfined()."
...
* commit '1cffe219790a316ba36ef2495867d7b306b0f861':
Switch qemud to permissive_or_unconfined().
2014-11-06 19:27:48 +00:00
Daniel Cashman
1cffe21979
am b0efa98d
: Merge "Switch qemud to permissive_or_unconfined()."
...
* commit 'b0efa98d97c04f4f97f57aae954aa61cb14683fe':
Switch qemud to permissive_or_unconfined().
2014-11-06 19:22:01 +00:00
Stephen Smalley
82b6f21be3
Switch qemud to permissive_or_unconfined().
...
Switch the qemud domain from unconfined_domain() to
permissive_or_unconfined() so that we can start collecting and
addressing denials in -userdebug/-eng builds.
Also allow access to the serial device.
Change-Id: I9c7a6ddc8c2e64bfc6c5bb896eed1729ab205d60
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-11-06 09:36:40 -05:00
Nick Kralevich
8de5b64a08
am 54e18379
: am 36084e64
: Merge "Label goldfish block devices with their own types."
...
* commit '54e1837910cb3c40d22436bc40a7c0469df184b0':
Label goldfish block devices with their own types.
2014-10-31 18:34:12 +00:00
Nick Kralevich
54e1837910
am 36084e64
: Merge "Label goldfish block devices with their own types."
...
* commit '36084e64a1b603f0ca848bba5ca91938f853dc4c':
Label goldfish block devices with their own types.
2014-10-31 18:31:34 +00:00
Stephen Smalley
2ef5bf74fa
Label goldfish block devices with their own types.
...
This assigns block device types as per device/generic/goldfish/fstab.goldfish.
Eliminates (permissive) avc: denied messages for fsck.
Change-Id: Ia72bdfb16975f051548b6b2c0636e4f907295789
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-10-31 14:19:55 -04:00
Nick Kralevich
61d13ba425
am 4fe702e4
: am dfa2f8a6
: Merge "Mark qemu_device as a mlstrustedobject."
...
* commit '4fe702e4dcf5ff3e6dcc4dea1e842d7977ff3393':
Mark qemu_device as a mlstrustedobject.
2014-10-31 17:40:47 +00:00
Nick Kralevich
4fe702e4dc
am dfa2f8a6
: Merge "Mark qemu_device as a mlstrustedobject."
...
* commit 'dfa2f8a6e309bca516a11d83abd1aa8733acce69':
Mark qemu_device as a mlstrustedobject.
2014-10-31 17:36:28 +00:00
Stephen Smalley
968ce565f7
Mark qemu_device as a mlstrustedobject.
...
Allow apps running with any level to write to it.
Change-Id: I8fca1f377e14c624db5273bdacf8400addc6210d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-10-31 13:28:09 -04:00
Ying Wang
9e4f5326b0
am 9318a22f
: am b6f60d57
: Use the lowest common denominator 32-bit abi for arm64 cts build.
...
* commit '9318a22f96dd1d4ffcae76fb20520a303ef10fdf':
Use the lowest common denominator 32-bit abi for arm64 cts build.
2014-10-23 19:46:53 +00:00
Ying Wang
b6f60d57e3
Use the lowest common denominator 32-bit abi for arm64 cts build.
...
So the 32-bit code can be run any supported 32-bit arm devices.
Bug: 18038310
Change-Id: Ie8864cfdb87a4759d1a775d43cb5316b1f022e2b
2014-10-21 21:20:41 -07:00
Vince Harron
7320c4f535
am ee2dbee3
: am 3e8b79c2
: Merge "Increase system image partition size to fix build" into lmp-dev
...
* commit 'ee2dbee387b46323e6bc68cf0f51cf290d5f756f':
Increase system image partition size to fix build
2014-10-08 07:48:53 +00:00
Vince Harron
4f9438ba15
am 3e8b79c2
: Merge "Increase system image partition size to fix build" into lmp-dev
...
* commit '3e8b79c2b3c84b2c6ef7b28903a719b10248e63d':
Increase system image partition size to fix build
2014-10-07 23:23:18 +00:00
Vince Harron
c1a9edd7a8
Increase system image partition size to fix build
...
Build of sdk_google_phone_x86_64-sdk_addon product was failing with
the following error message:
error: ext4_allocate_best_fit_partial: failed to allocate 2420 blocks,
out of space?
Change-Id: Ib9e2d21bac86b12b6f8f75d4f30806dd20abcb90
2014-10-07 15:54:19 -07:00
Andreas Gampe
e859956e01
am 7b5efad1
: am a815a009
: Merge "Build: Increase system image for generic_arm64" into lmp-dev
...
* commit '7b5efad12e34c819efea3d67f9c4b8433ef78be9':
Build: Increase system image for generic_arm64
2014-10-03 17:16:30 +00:00
Andreas Gampe
ef14938abf
am a815a009
: Merge "Build: Increase system image for generic_arm64" into lmp-dev
...
* commit 'a815a009844586b01f525bc1e68335d6af078727':
Build: Increase system image for generic_arm64
2014-10-03 16:59:35 +00:00
Andreas Gampe
65650a2ecb
Build: Increase system image for generic_arm64
...
Prebuilts are now preopted. This requires a bump in system image
size. Technically a 13M bump would have been fine, but round up
to 50M for a little bit of future breathing space.
Bug: 17772057
Change-Id: Ib10dc24960c0b2e03ef28c55c3c199382802d4e1
2014-10-03 02:37:45 -07:00
Brian Carlstrom
1d6f1c630f
am 807a28b9
: am 00bd658e
: Merge "Remove obsolete libffi"
...
* commit '807a28b90eda138db0079e47f33cc7e081d7c106':
Remove obsolete libffi
2014-09-30 06:03:29 +00:00
Brian Carlstrom
668c991b62
am 807a28b9
: am 00bd658e
: Merge "Remove obsolete libffi"
...
* commit '807a28b90eda138db0079e47f33cc7e081d7c106':
Remove obsolete libffi
2014-09-29 22:38:33 +00:00
Brian Carlstrom
894aaf4039
Remove obsolete libffi
...
Change-Id: I092e643be8bde9dbf00dd0d3314275e1ac3db409
2014-09-29 13:05:03 -07:00
Nick Kralevich
4e202cfcf4
am 67463061
: am 9d5f5d0e
: Merge "Add domains for goldfish services."
...
* commit '67463061850da489782b5023e0a6178e06f602fb':
Add domains for goldfish services.
2014-09-28 00:23:36 +00:00
Nick Kralevich
63df0a5591
am 67463061
: am 9d5f5d0e
: Merge "Add domains for goldfish services."
...
* commit '67463061850da489782b5023e0a6178e06f602fb':
Add domains for goldfish services.
2014-09-28 00:23:32 +00:00
Stephen Smalley
704744ad81
Add domains for goldfish services.
...
goldfish-setup, goldfish-logcat, and qemu-props are goldfish-specific
oneshot services that lacked domain definitions and thus were left in init's
domain.
This depends on a change to external/sepolicy with the same Change-Id
to define non-goldfish-specific types for properties and logcat.
Change-Id: Idce1fb5ed9680af84788ae69a5ace684c6663974
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-09-22 14:41:56 -04:00
Dan Albert
b7af531ecc
Remove the vbox target from the build system.
...
I've been told this is no longer in use, and it's the only user of
external/grub, which is distressingly out of date.
Change-Id: I434a55e0d68f6db97fa71e294e983ff1802e9ba6
(cherry picked from commit de21059acf
)
2014-09-11 13:48:15 -07:00
Dan Albert
38dc420e19
resolved conflicts for merge of fa21f9db
to lmp-dev-plus-aosp
...
Change-Id: I8cd590e7e6f764d6651dcaacd4beb8c72a23164f
2014-09-10 16:15:18 -07:00
Dan Albert
de21059acf
Remove the vbox target from the build system.
...
I've been told this is no longer in use, and it's the only user of
external/grub, which is distressingly out of date.
Change-Id: I434a55e0d68f6db97fa71e294e983ff1802e9ba6
2014-09-10 15:10:31 -07:00
Andrew Hsieh
360b851034
Change mips64 default to mips64r6 from mips64r2
...
Also add back mips flags previously can't be handled by clang
See aosp/build
13066a8d4c
10326b3d7f
Change-Id: Iedc8dadd24f72fbd9c5589eec34677c1827290f3
2014-09-04 19:01:22 -07:00
Ying Wang
180b22590d
am 729c9ff5
: am 7754e0ce
: Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."
...
* commit '729c9ff5ec2085461027a5174d053e77b8c9a100':
[MIPS64] Modify the default MIPS64 build to MIPS64R6.
2014-09-03 19:59:17 +00:00
Raghu Gandham
10326b3d7f
[MIPS64] Modify the default MIPS64 build to MIPS64R6.
...
Change-Id: I797e4c2e5b69c6991545c26886b5b25e6f8c2a67
2014-09-02 16:30:00 -07:00
David 'Digit' Turner
4d3f581d87
resolved conflicts for merge of 7a58de4e
to lmp-dev-plus-aosp
...
Change-Id: I74491684909c34022c20932e1acd57887b1f0c15
2014-08-25 16:14:02 +02:00
David 'Digit' Turner
d3e8cb7fda
arm64: Fix aosp_arm64 system image.
...
This patch ensures that the system image produced for the 'aosp_arm64'
build products can actually run under emulation with the new qemu-android
binaries [1]
The main issue is that the virtual board is named 'ranchu' instead of
'goldfish' (because the virtual hardware is _very_ different), and thus
requires specific files for the boot to start properly
(in particular fstab.ranchu is required to mount the system, data and
cache partitions, otherwise init will fail badly because /system/bin/
and /data/ are missing important files).
IMPORTANT: This requires the files under device/generic/goldfish/ from:
https://android-review.googlesource.com/#/c/105020/
[1] Binaries built from https://qemu-android.googlesource.com/qemu-android
BUG=17154406
Change-Id: Ic40360bf56e32aab708551c810000467d23793d4
2014-08-22 11:15:01 +02:00
Narayan Kamath
24b7840aa1
Add CPU_ABIs for the second generic_arm64 architecture.
...
This was accidentally removed by commit 8dc227f482
.
Breaks builds for apps that use gnustl_static for 32 bit compiles
on an arm64 target.
bug: 16951392
Change-Id: I89480943284944fd95543cccbf40a8de22852197
2014-08-19 13:03:27 +01:00
Narayan Kamath
8dc227f482
Let aosp_arm64 / emulator assume NEON / cortex-a15.
...
It's only unbundled app builds that need to assume the
worst.
bug: 16951392
Change-Id: I5fda39c4132dafa58fefe02b767a4d2a208f3b12
2014-08-18 19:20:07 +01:00
Deepanshu Gupta
ec02094d3e
Merge "Use fonts from generic device for the SDK." into lmp-dev
2014-08-10 19:43:29 +00:00
Deepanshu Gupta
4e5e582522
Use fonts from generic device for the SDK.
...
This removes the explicit list of fonts for the SDK and replaces it with
the fonts built for the generic device.
Also, the symlinked fonts are copied becuase Windows doesn't support
symlinks.
Change-Id: I8b18b2ab0149ab24448f27dbd5f9716e5d360029
2014-08-09 00:37:31 +00:00
Narayan Kamath
3930fbdd7c
Make the 32-bit architecture for arm64 generic.
...
The idea is that we want to be able to build a single 32+64 APK
whose 32 bit code can run on 32 bit devices, where we can't assume
cortex-a15 or NEON.
Change-Id: Ia6bf400fa472924a94b08cef83e9e5dea09222ab
2014-08-08 18:26:44 +01:00
Duane Sand
02f285208c
[MIPSR6] Add mips64r6 and mips32r6 targets
...
Add mips64r6 target and corresponding mips32r6 target.
Defaults remain as mips64r2 and mips32r2.
Apply -FP64A codegen subsetting to mips32r6 only.
Access FR=0 odd-numbered 32-bit float regs only via
double-prec even-numbered regs, not by single-prec ops.
(cherry picked from commit 6bab974cdc
)
Change-Id: I447337ce56c15e86cec505d68a6b45294fc3ba77
2014-08-05 12:39:28 -07:00
Duane Sand
1d04a53ba3
[MIPS64] Enable mips64 clang
...
(cherry picked from commit 41ca444637
)
Change-Id: I0b141c58c88fe86e3a59844f53acc9a0e0a5271c
2014-08-05 12:38:31 -07:00
Duane Sand
3c4fcd8451
[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
...
Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
Tell ld when 32-bit links are required.
Override 4.9's changed defaults for mips floating point
register use, to get same assembler rules as 4.8 and earlier.
Also: drop unused soft-fp build targets, cleanout redundant
compiler options, and remove extraneous Android.mk file.
(cherry picked from commit 6670e24aed
)
Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
2014-08-05 12:28:44 -07:00
Duane Sand
6bab974cdc
[MIPSR6] Add mips64r6 and mips32r6 targets
...
Add mips64r6 target and corresponding mips32r6 target.
Defaults remain as mips64r2 and mips32r2.
Apply -FP64A codegen subsetting to mips32r6 only.
Access FR=0 odd-numbered 32-bit float regs only via
double-prec even-numbered regs, not by single-prec ops.
Change-Id: I1740a6c658304b6c41242be58d68753e6f171658
2014-07-24 11:19:21 -07:00
Duane Sand
6670e24aed
[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
...
Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
Tell ld when 32-bit links are required.
Override 4.9's changed defaults for mips floating point
register use, to get same assembler rules as 4.8 and earlier.
Also: drop unused soft-fp build targets, cleanout redundant
compiler options, and remove extraneous Android.mk file.
Change-Id: I86f1075266349edb2b08a7709b9f5472d8cfda32
2014-07-23 14:16:00 -07:00
Duane Sand
41ca444637
[MIPS64] Enable mips64 clang
...
Change-Id: I737f40ff1d4c71c21bea5159d1b0acee89fe32a2
2014-07-23 14:10:39 -07:00
Brian Carlstrom
ed9f839d03
am 515907a9
: am 696f9d3e
: am e0be9135
: Merge "Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64"
...
* commit '515907a98c3ddff2be42479364fd685103d06fe2':
Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64
2014-06-20 23:14:35 +00:00
Brian Carlstrom
6bf07cc4de
Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64
...
Change-Id: Ia856159017f6228dbfd5a7100e3731b82e6e8fe4
2014-06-20 13:09:25 -07:00
Stephen Smalley
a49411f49b
Coalesce generic_x86 and generic sepolicy where possible.
...
We originally forked a complete copy of generic/sepolicy into
generic_x86/sepolicy, but we can instead inherit from it and
merely add rules as needed under generic_x86/sepolicy.
Change-Id: I21e1a1425ce08676a8ea69685a4761db3bfde628
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-06-17 09:35:56 -04:00
Stephen Smalley
78eee96a72
Restore generic_x86 sepolicy zygote.te file.
...
I87d0976800557d73064e2da038315b0d019d7a60 removed zygote.te from
generic/sepolicy and generic/BoardConfig.mk but also incorrectly
removed it from generic_x86/BoardConfig.mk, even though
generic_x86/sepolicy/zygote.te still exists and contains rules
needed on the x86 emulator. Otherwise the zygote fails with
execmem denials on the x86 emulator.
(x86 emulator is also broken currently due to yaffs2 /cache yielding
unlabeled denials, but that is unrelated to this change).
Change-Id: Ie36ed4ed7ba478a377f9a0d4383d006b49bde5cc
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-06-17 09:20:17 -04:00
Nick Kralevich
06b895ea48
am f9172a61
: am 2eb95ac2
: am ad6107c3
: Merge "Coalesce generic_x86 and generic sepolicy where possible."
...
* commit 'f9172a61d742ac048fced2c264585068a42527b3':
Coalesce generic_x86 and generic sepolicy where possible.
2014-06-17 18:06:10 +00:00
Nick Kralevich
e96f961efc
am 7be1a519
: am 331f4d58
: am cc7aebb8
: Merge "Restore generic_x86 sepolicy zygote.te file."
...
* commit '7be1a5197ffb97aebc8a175b7a5dcbed248ac8a7':
Restore generic_x86 sepolicy zygote.te file.
2014-06-17 13:54:23 +00:00
dcashman
6672745d18
am cac1fc6d
: am 5bb6eeb9
: am d9c312b5
: Merge "Allow all domains access to /dev/qemu_trace."
...
* commit 'cac1fc6dd5daf5f03bacf8749f888d196985fda8':
Allow all domains access to /dev/qemu_trace.
2014-06-17 01:30:39 +00:00
dcashman
38a261a82b
Allow all domains access to /dev/qemu_trace.
...
/dev/qemu_trace is used by memcheck on qemu to get memory allocation events
from all processes on the system. Allow all domains to access this device, and
other qemu-specific devices.
Addresses the following denials:
type=1400 audit(1402674828.500:3): avc: denied { read write } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.500:4): avc: denied { open } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.520:5): avc: denied { read write } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.520:6): avc: denied { open } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.610:7): avc: denied { read write } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.610:8): avc: denied { open } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.000:9): avc: denied { read write } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.000:10): avc: denied { open } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.180:11): avc: denied { read write } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.200:12): avc: denied { read write } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.200:13): avc: denied { open } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.200:14): avc: denied { open } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.280:15): avc: denied { read write } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.280:16): avc: denied { open } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674830.580:17): avc: denied { read write } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674830.580:18): avc: denied { open } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674930.860:22): avc: denied { read write } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674930.870:23): avc: denied { open } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
Bug: 15570479
Change-Id: I87d0976800557d73064e2da038315b0d019d7a60
2014-06-16 14:17:05 -07:00
dcashman
42971a6ad7
Revert "Allow all domains access to /dev/qemu_trace."
...
This reverts commit b1b12f8ad4
.
(cherry picked from commit 097e840b06
)
Change-Id: I89a9a0879a415c177091852a579c6dfd8c8a5b0a
2014-06-16 12:16:32 -07:00
dcashman
4b445e8998
am 3aeceecd
: am cd978db2
: am 96df14d6
: Merge "Allow all domains access to /dev/qemu_trace."
...
* commit '3aeceecddf2c7ee7f785e7e16c54d8bb99e3c9f1':
Allow all domains access to /dev/qemu_trace.
2014-06-16 18:11:30 +00:00
dcashman
097e840b06
Revert "Allow all domains access to /dev/qemu_trace."
...
This reverts commit b1b12f8ad4
.
2014-06-16 10:45:16 -07:00
dcashman
b1b12f8ad4
Allow all domains access to /dev/qemu_trace.
...
/dev/qemu_trace is used by memcheck on qemu to get memory allocation events
from all processes on the system. Allow all domains to access this device, and
other qemu-specific devices..
Addresses the following denials:
type=1400 audit(1402674828.500:3): avc: denied { read write } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.500:4): avc: denied { open } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.520:5): avc: denied { read write } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.520:6): avc: denied { open } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.610:7): avc: denied { read write } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674828.610:8): avc: denied { open } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.000:9): avc: denied { read write } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.000:10): avc: denied { open } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.180:11): avc: denied { read write } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.200:12): avc: denied { read write } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.200:13): avc: denied { open } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.200:14): avc: denied { open } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.280:15): avc: denied { read write } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674829.280:16): avc: denied { open } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674830.580:17): avc: denied { read write } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674830.580:18): avc: denied { open } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674930.860:22): avc: denied { read write } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
type=1400 audit(1402674930.870:23): avc: denied { open } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file
Bug: 15570479
Change-Id: I4999a1eb5c25b4238c53fe1e989bcf5fed1ae355
2014-06-16 10:10:38 -07:00
Ying Wang
fa3aebf762
am b3529761
: am 2d4a27ee
: am d707b5aa
: Merge "AArch64: Set TARGET_2ND_CPU_VARIANT for Arm64 to cortex-a15"
...
* commit 'b3529761af24d19cd8cefa2c93f91920f0dfb28f':
AArch64: Set TARGET_2ND_CPU_VARIANT for Arm64 to cortex-a15
2014-06-11 21:38:20 +00:00
Serban Constantinescu
93694e63ee
AArch64: Set TARGET_2ND_CPU_VARIANT for Arm64 to cortex-a15
...
A sensible default for the 32bit CPU_VARIANT of an ARM64 build is
cortex-a15. Please note that the AArch32 execution state of ARMv8
is a superset of ARMv7.
Change-Id: Id2b655172750e04609ae9ba22d621fe83cd69b1a
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2014-06-04 16:19:24 +01:00
Elliott Hughes
7c9a8e6400
am 55b2c360
: am ad319779
: am 4afe808c
: Merge "Fix all the system image sizes."
...
* commit '55b2c3600fcbdc6bd0dbf3319eb219188553429c':
Fix all the system image sizes.
2014-05-28 18:01:54 +00:00
Elliott Hughes
368600b1e8
Fix all the system image sizes.
...
x86 just bit me. I did manage to build mips today, but I assume it
can't be long before we hit the limit there too if every other target
has hit it already.
Change-Id: I28dfe3b4f9565cb79e0bf6b0ffc55a9d6e64a9b0
2014-05-27 16:47:44 -07:00
Narayan Kamath
7d55bea91f
resolved conflicts for merge of 38c3c930
to master
...
Change-Id: I88bb5131ce15bc5a4d7a7870d33c78fc9d952bb2
2014-05-27 12:29:41 +01:00
Narayan Kamath
62da5fd161
Switch x86_64 emulator to 64 bit primary.
...
Also siezes the opportunity to remove the hardcoded
TARGET_PREFER_32_BIT_APPS directing in core_64_bit.mk.
This avoids the need for further hacks but needs supporting
changes to a few apps to force them to 32 bit.
Change-Id: I36ba9e5f5b08dd87d6a4afc27961a436306eed99
2014-05-27 12:12:00 +01:00
Elliott Hughes
5ef394b824
am d72b3164
: am e972f9ff
: am 0dbcff95
: Merge "The generic_arm64 system image is full."
...
* commit 'd72b3164bdb731dd9871b221fe8db099a1f94514':
The generic_arm64 system image is full.
2014-05-21 00:01:45 +00:00
Elliott Hughes
0499399231
The generic_arm64 system image is full.
...
Change-Id: I454c674033525f2f7847d2c91979dff8093c335b
2014-05-20 14:44:26 -07:00
Ji-Hwan Lee
d9af5a5458
am d9f11a3f
: am c0f0e8ca
: am 13b48588
: Merge "Allow qemu_device read-write access to various processes"
...
* commit 'd9f11a3f2b0670ac68bfae782c5fe8c58032efc6':
Allow qemu_device read-write access to various processes
2014-05-19 17:01:10 +00:00
Ji-Hwan Lee
93e450767f
Allow qemu_device read-write access to various processes
...
Basically, allow access of qemu_device where gpu_device is allowed, for the
case when the emulator runs with OpenGL/ES emulation. Most noticably,
surfaceflinger crashes without qemu_device access.
Bug: 15052949
Change-Id: Ib891365a6d503309bced64e2512c4d8f29d9a07e
2014-05-19 20:49:17 +09:00
Ji-Hwan Lee
b32ea89a6a
am 38c18c3b
: am acfb2723
: am c60783c9
: Merge "Increase system image size to 650M for generic_arm64"
...
* commit '38c18c3b9adca416517fb332628253e2bb43fe23':
Increase system image size to 650M for generic_arm64
2014-05-18 07:58:11 +00:00
Ji-Hwan Lee
c89e1826ba
Increase system image size to 650M for generic_arm64
...
Change-Id: I7969ec54dc4225bbe36651c4d9c6a09de1eb89f4
2014-05-18 02:42:14 +09:00
Ji-Hwan Lee
02fba08334
am 0994317a
: am 658d89e9
: am 4ec7007f
: Merge "Increase system image size to 650M for generic_x86"
...
* commit '0994317a003a8e3e1891d4f3ae44fcfc3191b2bf':
Increase system image size to 650M for generic_x86
2014-05-16 02:03:58 +00:00
Ji-Hwan Lee
f942e496a3
Increase system image size to 650M for generic_x86
...
Change-Id: I4457796bdaff8c2626eb0788199be75f3ab4cd47
2014-05-16 08:03:21 +09:00
David 'Digit' Turner
edc702c7d6
am 873782cc
: am 9e3259f5
: am fb67f05d
: Merge changes I53b2ada9,I30794ea5
...
* commit '873782ccd44349c766f5d74e65b3b323618dd6ed':
Disable emulator from platform builds.
envsetup.sh: Use prebuilt emulator binaries if available.
2014-05-11 09:28:16 +00:00
David 'Digit' Turner
f6e2694dd2
Disable emulator from platform builds.
...
Now that emulator prebuilts are available under prebuilts/android-emulator/,
disable building the emulator from source in all platform builds, except
if one defines BUILD_EMULATOR to 'true' in its environment.
NOTE: This patch should be applied after this one to avoid issues
with the GPU emulation libraries:
https://android-review.googlesource.com/93980
Change-Id: I53b2ada9ca0c2e159dccee7cdca7f55f6b0d1d42
2014-05-09 15:32:39 +02:00
Tsu Chiang Chuang
7e9d23d9e7
am c0d50f62
: am 5bd1da1e
: am 41d8760d
: Merge "Bump userdata image size from 200 MB to 550 MB"
...
* commit 'c0d50f6295e9c552456c825f9c8045dced05a409':
Bump userdata image size from 200 MB to 550 MB
2014-05-08 23:12:40 +00:00
Tsu Chiang Chuang
27a026c802
Bump userdata image size from 200 MB to 550 MB
...
Change-Id: Ibdf319091a7187dc894f4a923d40868cec4b7b41
2014-05-06 17:40:23 -07:00
Ying Wang
40227dfaaf
am 876dca69
: am 2c32044d
: am b7e0bdc0
: Merge "Increase system image size of generic_x86_64 to 750MB."
...
* commit '876dca695d1be00054fe7c4b5ac4e7c36b6c1eb9':
Increase system image size of generic_x86_64 to 750MB.
2014-05-06 02:09:46 +00:00
Ying Wang
ff4aa89db8
Increase system image size of generic_x86_64 to 750MB.
...
Change-Id: I0c3264c7f629bc4d8c30539590de00967188807b
2014-05-05 19:01:28 -07:00
Ying Wang
15f6287e09
am 0049c40e
: am 54a570bd
: am 57df0c7b
: Merge "Increase system image size of generic_x86_64 to 650MB."
...
* commit '0049c40efd053d0fae186515e7cfc3fc0671c4cd':
Increase system image size of generic_x86_64 to 650MB.
2014-05-05 18:50:19 +00:00
Ying Wang
edf99a23ee
Increase system image size of generic_x86_64 to 650MB.
...
Change-Id: Iacf6dcd00d78039d1b19595db6f293f8f202ac5a
2014-05-05 11:34:30 -07:00