summaryrefslogtreecommitdiffstats
path: root/rootdir
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Adding e4crypt support""Paul Lawrence2015-03-311-0/+11
| | | | | | | | Fix build break caused by original change This reverts commit 84b0bab58fcc7f225e9a17a15c531b0c2fc509c5. Change-Id: I99fbd7c3d1ed92db1f546033c8493bb71a327924
* Log more timing information from init.Elliott Hughes2015-03-281-2/+0
| | | | | | | | | | | | | | | | | Also make important events in init's life NOTICE rather than INFO, and ensure that NOTICE events actually make it to the kernel log. Also fix the logging so that if you have a printf format string error, the compiler now catches it. Also give messages from init, ueventd, and watchdogd distinct tags. (Previously they'd all call themselves "init", and dmesg doesn't include pids, so you couldn't untangle them.) Also include the tag in SELinux messages. Bug: 19544788 Change-Id: Ica6daea065bfdb80155c52c0b06f346a7df208fe
* Switch init over to _PATH_DEFPATH.Elliott Hughes2015-03-171-1/+0
| | | | | Bug: 19564110 Change-Id: I343b4a360b10319dca13ab01f2d411ff940e9052
* init.rc: logd --reinit on changes to persistent propertiesMark Salyzyn2015-03-121-0/+6
| | | | | Bug: 19681572 Change-Id: I3187aa348dae79fa5822ffb7ee9566919a7a04e6
* am f33c3bc9: Merge "init: drop dontpanic & apanic initialization"Mark Salyzyn2015-02-271-16/+0
|\ | | | | | | | | * commit 'f33c3bc9602e4a369c4cc5d28357b8f73a3eed6c': init: drop dontpanic & apanic initialization
| * init: drop dontpanic & apanic initializationMark Salyzyn2015-02-271-16/+0
| | | | | | | | | | | | Bug: 19050686 Bug: 19525200 Change-Id: Id81abe3b44283b439390b42db7a9da23748dee0a
* | am 7bb72b73: Merge "seclabel use on services out of system partition"Nick Kralevich2015-02-261-2/+0
|\ \ | |/ | | | | | | * commit '7bb72b73b0291636721d83a45adad175163361ec': seclabel use on services out of system partition
| * seclabel use on services out of system partitionWilliam Roberts2015-02-231-2/+0
| | | | | | | | | | | | | | These services can make use of type transitions already present in the base policy. Change-Id: Id785c39c4ea44598c64dc499bd943c73bc55ca85
* | am 29576ae8: Merge "/vendor is sometimes on a separate partition now."Elliott Hughes2015-02-141-3/+2
|\ \ | |/ | | | | | | * commit '29576ae8901eb95d4c8a34f242a282b2fb73d35f': /vendor is sometimes on a separate partition now.
| * /vendor is sometimes on a separate partition now.Elliott Hughes2015-02-131-3/+2
| | | | | | | | Change-Id: I3217c272ea38ab8212056e0432d0ededacd362f6
* | am 265df6f5: Merge "bootchart: fix bootchart can not be triggered problem"Elliott Hughes2015-02-121-0/+5
|\ \ | |/ | | | | | | * commit '265df6f50c508710f0b717d67650732baa906976': bootchart: fix bootchart can not be triggered problem
| * bootchart: fix bootchart can not be triggered problemYongqin Liu2015-02-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bootchart uses a file on the data partition to decide if it should collect data for bootchart, but the data partition will be mounted by the mount_all command in the "on fs" section, and it will be only added into the action queue when command "trigger fs" is executed, but that's after the bootchart_init action (late_init). This change makes bootchart_init a builtin command of init, and make it executed as the first command of "on post-fs" section which will be triggered after the "on fs" section. This change also refactors the bootchart code to all be in bootchart.cpp. Change-Id: Ia74aa34ca5b785f51fcffdd383075a549b2a99d9 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
* | am 317b4024: Revert "Make encryption configurable"Paul Lawrence2015-02-071-1/+1
|\ \ | | | | | | | | | | | | * commit '317b4024a2a46b8c57abfa08f2a649df13572bd3': Revert "Make encryption configurable"
| * | Revert "Make encryption configurable"Paul Lawrence2015-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit bda6272446454886339841a62daaa1b66c07ad60. The original fix seems to have led to boot failures in QA. Rather than risk shipping, revert the change. Bug 18764230 reopened. Requires change https://googleplex-android-review.git.corp.google.com/#/c/629764/ Bug: 19278390 Bug: 19199624 Change-Id: I8b6ab585666f2b0f585ffb2a5f61ac2e3462e06e
* | | am f52338fe: Merge "rootdir: enable armv8_deprecated swp hook"Greg Hackmann2015-02-051-0/+3
|\ \ \ | | |/ | |/| | | | | | | * commit 'f52338fe1e8f74123a895db591d6a2a53061a2b1': rootdir: enable armv8_deprecated swp hook
| * | rootdir: enable armv8_deprecated swp hookGreg Hackmann2015-02-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upstream kernel now includes support for emulating legacy AArch32 instructions on ARMv8 devices. By default this framework emulates deprecated instructions but not obsolete instructions. Android requires support for the obsolete SWP and SWPB instructions on all ARM devices, so override this default for the swp emulation hook. Change-Id: I82b9bdb564413ec7c1a101da75a9928aebe1606b Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | | am d07555db: Merge "ensure /data/tombstones exists on all Android devices"Nick Kralevich2015-01-311-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'd07555dba01d64011b0d611dd6d3b197b216c163': ensure /data/tombstones exists on all Android devices
| * | ensure /data/tombstones exists on all Android devicesNick Kralevich2015-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /data/tombstones is referenced by core platform code, but is not guaranteed to exist on all Android devices. Move the directory creation out of device specific files and into the core init.rc file. Bug: https://code.google.com/p/android/issues/detail?id=93207 Change-Id: I94ae5199a6a32c4fe555ca994fc4a8345e0c9690
| * | Make encryption configurablePaul Lawrence2015-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delay mounting encryptable but unencrypted volumes until we can check the ro.vold.forceencrypt flag, then optionally encrypt. Requires matching vold change from https://googleplex-android-review.git.corp.google.com/#/c/615309/ Bug: 18764230 Change-Id: If22008be8de6a4f3216b349f81ace49be1730314
* | | am bda62724: Make encryption configurablePaul Lawrence2015-01-261-1/+1
|\ \ \ | | |/ | |/| | | | | | | * commit 'bda6272446454886339841a62daaa1b66c07ad60': Make encryption configurable
| * | Make encryption configurablePaul Lawrence2015-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delay mounting encryptable but unencrypted volumes until we can check the ro.vold.forceencrypt flag, then optionally encrypt. Requires matching vold change from https://googleplex-android-review.git.corp.google.com/#/c/615309/ Bug: 18764230 Change-Id: If22008be8de6a4f3216b349f81ace49be1730314
| * | Ensure /data/adb existsNick Kralevich2014-11-051-0/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | automerge: 6672300 * commit '667230074b6e4e306a50d84a88a57bf4f1ec0291': Ensure /data/adb exists
| | * | Ensure /data/adb existsNick Kralevich2014-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that /data/adb always exists. This directory is used for writing adb debugging information when persist.adb.trace_mask is set. Bug: https://code.google.com/p/android/issues/detail?id=72895 (cherry picked from commit 89252ce31aacb27248e708b6487f730d3a024943) Change-Id: I44e01bee50125f4e6e5fff6e74c53bb2022ce355
* | | | am 3802b5d4: Merge "rootdir: add pstore"Mark Salyzyn2015-01-142-0/+3
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * commit '3802b5d4c5cb14864dcdd8820e9140b81a2d7d78': rootdir: add pstore
| * | | rootdir: add pstoreMark Salyzyn2015-01-142-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /dev/pmsg0 used to record the Android log messages, then on reboot /sys/fs/pstore/pmsg-ramoops-0 provides a means to pull and triage user-space activities leading up to a panic. A companion to the pstore console logs. Change-Id: Id92cacb8a30339ae10b8bf9e5d46bb0bd4a284c4
* | | | am d3119b19: Merge "Add ip6-localhost to /system/etc/hosts."Yabin Cui2015-01-131-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'd3119b1962ef5c0d15b9cc22beb9ded040b44dcb': Add ip6-localhost to /system/etc/hosts.
| * | | Add ip6-localhost to /system/etc/hosts.Yabin Cui2015-01-131-1/+2
| | | | | | | | | | | | | | | | | | | | Bug: 18791191 Change-Id: Id7cad8cfccadeb319f0dc7dcba8148a457f9f87d
* | | | am 8eb770d3: Merge "Remove long-dead readtty."Elliott Hughes2014-11-251-322/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '8eb770d37cd9470630fdbe496f22b7a04549fef7': Remove long-dead readtty.
| * | | Remove long-dead readtty.Elliott Hughes2014-11-241-322/+0
| | | | | | | | | | | | | | | | Change-Id: I15ae14542214a3802d43892da0d03cfb33e63c96
| * | | Merge commit 'b2042f7263c7bbacc5115de4a42c5a96b64a06f2' into HEADBill Yi2014-10-225-33/+52
| |\ \ \
| | * \ \ resolved conflicts for merge of 3f95c89d to lmp-dev-plus-aospDmitriy Ivanov2014-10-141-1/+0
| | |\ \ \ | | | |_|/ | | |/| | | | | | | Change-Id: I5184dcfa91a11a210c60e60a4fffc26d2c9f116f
* | | | | am 37d70f53: am c0b4b8b0: Merge "Ensure /data/adb exists"Nick Kralevich2014-10-211-0/+2
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | * commit '37d70f53672c8878a5ce5506d6d89b851400f8e6': Ensure /data/adb exists
| * | | Ensure /data/adb existsNick Kralevich2014-10-211-0/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | Ensure that /data/adb always exists. This directory is used for writing adb debugging information when persist.adb.trace_mask is set. Bug: https://code.google.com/p/android/issues/detail?id=72895 Change-Id: I9cee2a0202417ff72a5ede7742e25877f51732dd
| * | Remove libsigchain from LD_PRELOADsDmitriy Ivanov2014-10-071-1/+0
| | | | | | | | | | | | | | | | | | Bug: 15345057 Bug: 15426766 Change-Id: If0b7f59a59824e30aa0c33dad76c7a44932180de
| * | Change /dalvik-cache to be owned by root.Alex Light2014-08-271-1/+1
| | | | | | | | | | | | | | | | | | Bug: 16875245 Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
| * | Remove the /dev/.booting file before triggering boot.Riley Andrews2014-07-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | On mako only, there is a race condition such that core + main services must be started after releasing ueventd (by removing /dev/.booting). bug 16304711 bug 16333352
| * | Move unlink("/dev/.booting") until after filesystems are mounted.Riley Andrews2014-07-111-0/+7
| | | | | | | | | | | | | | | | | | | | | Move the unlink out of init.c and into init.rc, so that the file will be removed after all the filesystems with firmware are up. Change-Id: I7442df2042cc2788d0301f00e3c2fba7d6e0e1c7
* | | Merge "rootdir: Make trusty version readable by dumpstate" into lmp-mr1-devArve Hjønnevåg2014-10-201-0/+1
|\ \ \
| * | | rootdir: Make trusty version readable by dumpstateArve Hjønnevåg2014-10-161-0/+1
| | | | | | | | | | | | | | | | Change-Id: I761650d286b454f1fe01a585e7cd6ec769bfc527
* | | | Remove libsigchain from LD_PRELOADsDmitriy Ivanov2014-10-161-1/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15345057 Bug: 15426766 (cherry picked from commit c9f9f35efa43b3ac75b1a7e76fe1071a2e9d52ea) Change-Id: If54e1aeaa1e2abe061ac19666af4f4e058b81df2
* | | Make the default cgroup, the foreground cgroup.Riley Andrews2014-10-071-15/+8
| |/ |/| | | | | | | | | | | | | | | | | | | All kernel services will now be in the same cgroup as foreground applications. This will now make kernel threads not implicitly higher priority than android foreground services. Bug 17681097 Change-Id: I28e81c7aade50428d5395df86f00ce01c1e7af02
* | Merge "Add bootanimation to audio group so it can play boot sound" into lmp-devMike Lockwood2014-10-061-1/+1
|\ \
| * | Add bootanimation to audio group so it can play boot soundMike Lockwood2014-10-021-1/+1
| | | | | | | | | | | | | | | | | | Bug: 17674304 Change-Id: I5d31bc024fa36fedac2c0ba5c4a8b100937183ad
* | | init.trace.rc: fix race condition with class_start coreFred Fettinger2014-10-011-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The systrace permissions from init.trace.rc and the "class_start core" which launches surfaceflinger are both in an "on boot" section. However, the init.trace.rc commands are parsed after all commands in init.rc. This means that "class_start core" is executed before the chmod command which allows processes to write to trace_marker. If any services execute their first trace command before the chmod occurs, then that service won't be able to write traces until the service is restarted. To fix this, run all of the init.trace.rc commands in the "early-boot" section to ensure they are completed first. Bug: 17612265 Change-Id: Ibf544762173d5ba98272c66ef485d8eab7d70bf3
* | init.usb.rc: Change product id to for add only configBadhri Jagan Sridharan2014-09-051-3/+3
| | | | | | | | | | | | | | Change product id from D002 to 4EE7 when adb is the only supported function Change-Id: I8f6bcb9a1dc5ea6da0493a2dd730f9ac1f0bed24
* | Change /dalvik-cache to be owned by root.Alex Light2014-08-281-1/+1
| | | | | | | | | | | | | | | | Bug: 16875245 (cherry picked from commit 3878ebd72493427ea5537b36dfb9cd7cb38677bb) Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
* | Move bootanim and surfaceflinger to class coreAndres Morales2014-08-261-2/+2
| | | | | | | | | | | | | | | | | | They have no dependencies on /data so can be started early. This permits us to unmount /data while bootanimation is running, allowing an uninterrupted first boot encryption sequence. Bug: 17260550 Change-Id: I323fe23e8cf488d8bc136387efdd9fcea96625eb
* | Merge "Enable not rebooting during default encryption" into lmp-devPaul Lawrence2014-08-251-1/+0
|\ \
| * | Enable not rebooting during default encryptionPaul Lawrence2014-08-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to not set this property) during mount, since it can't be changed later (ro property) Also no reason to start class main on encryption cycle - we'll show surfaceflinger, which is enough UI for this short cycle. Bug: 17041092 Change-Id: Ica5339c54e45716d0fe20e23c0ab857f388d23ed
* | | Merge "Remove inputflinger from init. DO NOT MERGE" into lmp-devMichael Wright2014-08-161-7/+0
|\ \ \ | |/ / |/| |