commit | 18dfeaf46de92aeb8bfa96b7ab154fc5ab634723 | [log] [tgz] |
---|---|---|
author | Joel Kitching <kitching@google.com> | Wed Mar 07 16:09:22 2018 +0800 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Sat Mar 10 11:06:06 2018 +0000 |
tree | 259c43a7e1f7f32e34a2d370d68ffc22241723d0 | |
parent | 75961b0d848ba20d124d916b8750f46c683613bd [diff] |
hammerd: init script forwards minijail exit status In the current version of the hammerd init script, the exit status from minijail0 is acted on correctly (write or delete tag file), but that exit status is not forwarded on to upstart correctly. This prevents service failure crash reports from showing the correct exit status. This CL modifies the init script to correctly forward the exit status to upstart. It also checks for failure to write into the WRITE_SYSFS_PATH tag file. BUG=b:69892693 TEST=Run `start hammerd` on DUT, and check /var/log/messages for one of - INFO minijail0[11215]: libminijail[11215]: child process 11216 exited with status 11 WARNING kernel: [ 3391.302614] init: hammerd main process (11214) terminated with status 11 - NOTICE hammerd[11502]: FAILED to write into WRITE_SYSFS_PATH tag file WARNING kernel: [ 3558.213973] init: hammerd main process (11497) terminated with status 1 Change-Id: Ifd4c2a53a3bc88a972949c54a649d94b0e01198c Reviewed-on: https://chromium-review.googlesource.com/952119 Commit-Ready: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> (cherry picked from commit 0d1e49eb5c5eaa66d792f56b6097d4cd26b90230) Reviewed-on: https://chromium-review.googlesource.com/958044 Commit-Queue: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org>
This repo holds (most) of the custom code that makes up the Chromium OS platform. That largely covers daemons, programs, and libraries that were written specifically for Chromium OS.
We moved from multiple separate repos in platform/ to a single repo in platform2/ for a number of reasons:
While most projects were merged, not all of them were. Some projects were standalone already (such as vboot), or never got around to being folded in (such as imageloader). Some day those extra projects might get merged in.
Similarly, some projects that were merged in, were then merged back out. This was due to the evolution of the Brillo project and collaboration with Android. That means the AOSP repos are the upstream and Chromium OS carries copies.
Project | Description |
---|---|
arc | Tools/deamons/init-scripts to run ARC |
arc-networkd | Tools for managing ARC network settings |
attestation | Daemon and client for managing remote attestation |
authpolicy | Daemon for integrating with Microsoft Active Directory (AD) domains |
avtest_label_detect | Test tool for OCRing device labels |
biod | Biometrics daemon |
bootstat | Tools for tracking points in the overall boot process (for metrics) |
buffet | Daemon for reacting to cloud messages |
chaps | PKCS #11 implementation for TPM 1 devices |
chromeos-config | CrOS unified build runtime config manager |
chromeos-dbus-bindings | Simplifies the implementation of D-Bus daemons and proxies |
common-mk | Common build & test logic for platform2 projects |
container_utils | Support tools for containers (e.g. device-jail) |
crash-reporter | The system crash handler & reporter |
cromo | modemmanager compatible D-Bus interface to support closed source modem drivers |
cros-disks | Daemon for mounting removable media (e.g. USB sticks and SD cards) |
cros_component | |
crosh | The Chromium OS shell |
cryptohome | Daemon and tools for managing encrypted /home and /var directories |
debugd | Centralized debug daemon for random tools |
disk_updater | Utility for updating root disk firmware (e.g. SSDs and eMMC) |
easy-unlock | Daemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device) |
feedback | Daemon for headless systems that want to gather feedback (normally Chrome manages it) |
fitpicker | |
gobi-cromo-plugin | plugin for supporting gobi3k modems with cromo |
goldfishd | Android Emulator Daemon |
hammerd | Firmware updater utility for hammer hardware |
image-burner | Daemon for writing disk images (e.g. recovery) to USB sticks & SD cards |
imageloader | Daemon for mounting signed disk images |
init | CrOS common startup init scripts and boot time helpers |
installer | CrOS installer utility (for AU/recovery/etc...) |
libchromeos-ui | |
libcontainer | |
libpasswordprovider | Password Provider library for securely managing credentials with system services |
libweave | Library for cloud messaging |
login_manager | Session manager for handling the life cycle of the main session (e.g. Chrome) |
lorgnette | Daemon for managing attached USB scanners via SANE |
metrics | Client side user metrics collection |
midis | MIDI service |
mist | Modem USB Interface Switching Tool |
modem-utilities | |
modemfwd | Daemon for managing modem firmware updaters |
mtpd | Daemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones) |
p2p | Service for sharing files between CrOS devices (e.g. updates) |
peerd | Daemon for communicating with local peers |
permission_broker | |
power_manager | Userspace power management daemon and associated tools |
regions | |
run_oci | Minimalistic container runtime |
salsa | Touchpad experimentation framework |
secure_erase_file | Helper tools for securely erasing files from storage (e.g. keys and PII data) |
smbprovider | Daemon for connecting Samba / Windows networking shares to the Files.app |
smogcheck | Developer library for working with raw I2C devices |
st_flash | |
thd | Thermal daemon to help keep systems running cool |
timberslide | Tool for working with EC crashes for reporting purposes |
touch_firmware_calibration | |
touch_keyboard | Utilities for a touch based virtual keyboard |
tpm2-simulator | A software TPM 2.0 implementation (for testing/debugging) |
tpm_manager | Daemon and client for managing TPM setup and operations |
trim | Service to manage filesystem trim operations in the background |
trunks | Middleware and resource manager for interfacing with TPM 2.0 hardware |
u2fd | U2FHID emulation daemon for systems with secure elements (not TPMs) |
userfeedback | Various utilities to gather extended data for user feedback reports |
userspace_touchpad | |
virtual_file_provider | |
vm_tools | Utilities for Virtual Machine (VM) orchestration |
vpn-manager | |
webserver | Small web server with D-Bus client backends |
wimax_manager |
These projects can be found here: https://chromium.googlesource.com/aosp/platform/