| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
These boot properties are used by android wear emulator to configure
round and chin shaped devices.
Bug: 23324757
Change-Id: I812da02d771bba0ffc63b14459c7de7cbdeed142
|
|
|
|
|
|
|
|
|
| |
Size increase taken as a precaution against recent built breakage
due to lack of space on a number of targets (e.g. x86, ARM64).
System and user-data image sizes set to match currently most common
setup for the emulator: system image: 1.25gb, user-data image 700mb.
Change-Id: I7118eb26dd78f5fa9e4f0006e15c8d47dee8e28c
|
|
|
|
|
| |
Bug: 23093319
Change-Id: I5e493ef4715cee96ae6ab40d6415f5330075fad6
|
|
|
|
|
|
|
| |
Seems sdk_google_phone_x86 is building larger than 750MB
Bug: 23093319
Change-Id: Ib3ddbbb96a9dcea02eb6da7362ac0142bdfae4de
|
|
|
|
|
|
|
|
| |
Addresses the following denial:
avc: denied { create } for pid=1 comm="init" name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=0
Bug: 22084499
Change-Id: Icffef8330d07b00f36fda11374e39e0df7181ca3
|
|
|
|
|
|
|
| |
(cherrypicked from commit fd8c30177c472fe1cbff30312144b2a0b231bd35)
Bug: 19608716
Change-Id: I5c76648a4bcbbb15a033465e8af66b12af6e0a18
|
|
|
|
|
|
|
|
|
| |
Deal with a build failure in conflict with cl/152105
(cherrypicked from commit 1cc7735ffa5194b9651429b2a96d6f6f319ca5eb)
Bug: 19608716
Change-Id: I1078046db3b159c1baf0a22435c3e777424453a1
|
|
|
|
|
|
| |
Bumped from 1G to 1.25G
Change-Id: I8d04166c43c792030f346cbe6ba9d6889b31359b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goldfish-setup service (essentially /system/etc/init.goldfish.sh)
executes the following commands when certain conditions are met:
setprop ro.radio.noril yes
stop ril-daemon
so as to stop the RIL daemon and emulate a WiFi-only device. Both would
fail, though, because goldfish-setup does not have the permissions to
set relevant properties.
This CL modifies the emulator's SELinux policy to grant the necessary
permissions. It is a step towards fixing the ril-daemon-keeps-getting-
killed-and-restarted problem with the new ("ranchu") emulator, which
does not support telephony emulation yet. (The other step is to have
init start goldfish-setup, which will be done in a seperate CL.)
(cherrypicked from commit 33dca8090f8eb1be27e6c6426b7a13a73314e464)
Change-Id: Ice7e7898804b7353ac4a8c49d871b1b2571d7a5f
Signed-off-by: Yu Ning <yu.ning@intel.com>
|
|
|
|
|
|
|
| |
(cherrypicked from commit cccc90163946c0273a165a1ea50f2a87756610c7)
Change-Id: I630ba0178439c935d08062892990d43a3cc1239e
Signed-off-by: William Roberts <william.c.roberts@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In goldfish kernel 3.10, the goldfish_tty device instantiates virtual
serial ports as /dev/ttyGF* (e.g. /dev/ttyGF0), not as /dev/ttyS* as in
goldfish kernel 3.4. However, in the emulator's SELinux security policy,
there is no specific security context assigned to /dev/ttyGF*, and the
one inherited from /dev (u:object_r:device:s0) prevents services such as
qemud and goldfish-logcat from reading and writing ttyGF*. Consequently,
qemud terminates abnormally on the classic x86_64 emulator:
init: Service 'qemud' (pid XXX) exited with status 1
Fix this issue by assigning /dev/ttyGF* the same security context as
/dev/ttyS*.
(cherrypicked from commit 478346792282aba990111d736ba9928c616f9eb6)
Change-Id: Ia7394dc217bd82f566c4d1b7eda3cc8ce3ac612f
Signed-off-by: Yu Ning <yu.ning@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In goldfish kernel 3.10, qemu_pipe has been renamed to goldfish_pipe.
However, in the emulator's SELinux policy, there is no specific security
context assigned to /dev/goldfish_pipe, and the one inherited from /dev
(u:object_r:device:s0) prevents various processes (qemud, qemu-props,
etc.) from reading and writing goldfish_pipe. Consequently, the classic
x86_64 emulator will not boot if GPU emulation is enabled ("-gpu host"),
and does not render the UI correctly if launched with "-gpu off".
Fix this issue by assigning /dev/goldfish_pipe the same security context
as /dev/qemu_pipe.
This CL also benefits the new ("ranchu") emulator, where all supported
ABIs (arm64, mips64, x86 and x86_64) use 3.10-based kernels. Without
this fix, the new emulator boots and works, but there are avc denials
related to goldfish_pipe.
Last but not least, it is now possible to boot the classic x86 emulator
with a 3.10-based kernel instead of the current 3.4-based one, without
disabling SELinux.
(cherry-pick of commit: a5053e6b35fa1188d94a851a3032126141e5c87f)
Change-Id: I52e75c94d3ae3758cbbf5bc0e1d84254fdf5c6cb
Signed-off-by: Yu Ning <yu.ning@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Define BOARD_SEPOLICY_DIRS for the arm64, mips64, and x86_64
emulator targets. As a first cut, simply inherit from the
existing policy directories used for generic and generic_x86.
We may need further board-specific policy added for these targets
but testing will require first enabling SELinux in the relevant
kernel configs.
(cherrypicked from commit 21ebc213bb3717ec3e692991eeadc423113943ab)
Change-Id: I7b4459b32298698fc2908cbbdd0e3afadbe5ac24
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|
|
|
|
|
|
| |
To fix broken build of arm system images.
Change-Id: I960dbb2a5a895557499fcf38655cd8907e768ef9
(cherry picked from commit 9f42be14b8864c123d3df29ade44e3a92096679e)
|
|\
| |
| |
| |
| | |
* commit '4e94ed11855e56ed498a2e7e83e312d5b691c5b9':
Drop BOARD_SEPOLICY_UNION.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As suggested in the comments on
https://android-review.googlesource.com/#/c/141560/
drop BOARD_SEPOLICY_UNION and simplify the build_policy logic.
Union all files found under BOARD_SEPOLICY_DIRS.
Change-Id: I4214893c999c23631f5456cb1b8edd59771ef13b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|\ \
| |/
| |
| |
| | |
* commit '62086971c0616c325fd80ef172de1478ade52fbc':
Bump generic_mips64 system partition size.
|
| |
| |
| |
| |
| |
| | |
Fix broken mips64 build via 20% increase.
Change-Id: Ie30418c6fc7cf8810139abe53537ef8259a49a2f
|
|\ \
| |/
| |
| |
| | |
* commit '00391a43166a4271ad2471adffb75849be1984a8':
Bump generic_arm64 system partition size.
|
| |
| |
| |
| | |
Change-Id: Ic53fdaa0143ee2c0cce5a2f750da4c52adc6fdb9
|
|\ \
| |/
| |
| |
| | |
* commit 'b9583756eecda3dbad41b83fcba51ef7c07ac907':
Bump generic_mips system partition size.
|
| |
| |
| |
| | |
Change-Id: Ieb3becc3ddc1efa19c6e6d34b4a31c0440d3479d
|
|\ \
| |/
|/|
| |
| |
| |
| | |
lmp-mr1-dev
* commit '292427b69f7b1a753c0636f916382e2a4f9648ba':
Bump generic_x86_64 system partition size - DO NOT MERGE
|
| |\
| | |
| | |
| | | |
Change-Id: I9f1a80746a5d945c704cd126efebca0941e27e47
|
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it big enough to hold Orla, unbreaking the build
Change-Id: I5a131dfbaaa3aa2bb1bc24e4f859cc3507b671b0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The extra system space is needed for mips64r6/mips32r6 quick
mode images and the extra userdata is needed to run ART tests.
Change-Id: I96dc1553d950dcf046b57feff10a369e9155bd4d
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* commit '58aeaed9ce5c3738dd8eb36d56484a9614fb00e0':
goldfish_logcat: remove permissive_or_unconfined()
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I1a26b07bf723c944c7dcb8beec96537500a3bc60
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'aa67c0ce9a9697f5ac192020ee8b75734862b129':
qemud: remove permissive_or_unconfined()
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ia15cf87de1d03364f80d3d0cbc546475abfef448
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '4be75b37333f22e8ce10cc8aff7e9756b2f82689':
qemu_props: remove permissive_or_unconfined()
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I29f37822ccac22dd884d88f9dcd23237b5a3e2de
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '5d47a481fb88ca4dba853d064eb5dfd671f9b68a':
goldfish_setup: remove permissive_or_unconfined()
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I3b44f24554f288f4fb1e18a53fa68e8a7cd8c8c7
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
mips64."
* commit 'bdfec89d96819cf78faa4a61635c2ec536b4545f':
Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64.
|
| |\ \ \ \ \
| | | |_|/ /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
partition size" into lmp-mr1-dev
* commit 'd857abd1ff8b3436d15765e93b0d4d0ec1a9147a':
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
|
| |\ \ \ \ \
| | | |_|/ /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
for Mips."
* commit '7a1125bc632e150b934538036102807374406d2f':
Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.
|
| |\ \ \ \ \
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | | |
* commit '8750cfc5b5af821c90b224e727729e721c981e78':
Bump generic_arm64 system partition size to 900M.
|
| | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes the arm64 sdk build.
Change-Id: Ic7b7ada79027845974cbcfc68941cfc87ed050fd
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'ea6113f0f1a7069f1dd16bb2c0c7c29700bfda96':
arm: Support qemu-android on generic arm targets
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '1cffe219790a316ba36ef2495867d7b306b0f861':
Switch qemud to permissive_or_unconfined().
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
types."
* commit '54e1837910cb3c40d22436bc40a7c0469df184b0':
Label goldfish block devices with their own types.
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '4fe702e4dcf5ff3e6dcc4dea1e842d7977ff3393':
Mark qemu_device as a mlstrustedobject.
|
| |\ \ \ \ \ \ \ \
| | | |_|_|_|/ / /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
arm64 cts build.
* commit '9318a22f96dd1d4ffcae76fb20520a303ef10fdf':
Use the lowest common denominator 32-bit abi for arm64 cts build.
|