summaryrefslogtreecommitdiffstats
path: root/rootdir
Commit message (Collapse)AuthorAgeFilesLines
* 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
* restorecon_recursive /cacheNick Kralevich2014-07-091-3/+1
| | | | | | | | | | | Make sure all files / directories within /cache are properly labeled, not just the directory itself. Addresses the following denial: type=1400 audit(0.0:26): avc: denied { getattr } for comm="Thread-85" path="/cache/lost+found" dev="mmcblk0p27" ino=11 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir Change-Id: I5937b30043efeb696ffaa77258b7294d20d1494e
* Create a data directory for netd and other network-related files.Sreeram Ramachandran2014-07-081-0/+1
| | | | | | | Allows the 'shell' group (which is what dumpstate uses) to read the files in this directory. Change-Id: I69deb1a64d5d6647470823405bf0cc55b24b22de
* Remove sshd.dcashman2014-07-071-6/+0
| | | | | | | | This may require changes to other code, such as fastbootd, which relies on this service. sshd is not currently, used, however, so this change will force any such code to be changed. Bug: 11594902 Change-Id: I07e52008290dab5825be2ad062cbe730fa7dff71
* Add ability to adjust init log level at runtime.Riley Andrews2014-06-261-0/+3
| | | | | | | + Add a new property, sys.init_log_level, which can be set after init bootstrap. This will control the level at which init does prints to klog. Change-Id: Ia15b2110157b5e6b713785ece9b0fb94889be6c8
* Add ability to boot from charger mode.Riley Andrews2014-06-201-0/+25
| | | | | | | | | Add the ability to boot up directly from charger mode, instead of forcing charger mode to initiate a full restart to launch 'full' android. This should shave a few seconds off of boot time on supported devices (just manta for now). Change-Id: Ieec4494d929e92806e039f834d78b9002afd15c4
* Make indentation sane in init.rcRiley Andrews2014-06-191-26/+26
| | | | Change-Id: Ic632fbe1423eeef7ec958877d74db7b87fc385c6
* Regenerate init.environ.rc if PRODUCT_BOOTCLASSPATH changed.Ying Wang2014-06-181-1/+9
| | | | | | (cherry picked from commit 7011a85606bfdeefbd5f8db668c69b61e8d612a5) Change-Id: I025fe1f64c87fd406b3a3bf3d20fd3b78be8a940
* Merge "Create /data/dalvik-cache/profiles"Nick Kralevich2014-06-101-0/+1
|\
| * Create /data/dalvik-cache/profilesNick Kralevich2014-06-111-0/+1
| | | | | | | | | | | | | | | | Make sure /data/dalvik-cache/profiles gets the correct permissions and SELinux context, and ownership is properly assigned to the system UID. Change-Id: Ic1b44009faa30d704855e97631006c4b990a4ad3
* | make console shell run as GID=shellNick Kralevich2014-06-121-1/+1
|/ | | | Change-Id: I240bec07b04de1b26eef14e4f590af56c1aaa276
* Merge "Create world-searchable /data/misc/user directory"Robin Lee2014-06-051-0/+1
|\
| * Create world-searchable /data/misc/user directoryRobin Lee2014-04-291-0/+1
| | | | | | | | | | | | installd will create a separate subdirectory for each user. Change-Id: I95ec09169ea70f35443bbb3209237611e174ca29
* | am 967729b7: Merge "Add LD_PRELOAD for libsigchain.so to the environment"Dave Allison2014-05-291-0/+1
|\ \ | | | | | | | | | | | | * commit '967729b7ca675d6f2c895a1bd56216a62b217e50': Add LD_PRELOAD for libsigchain.so to the environment
| * \ Merge "Add LD_PRELOAD for libsigchain.so to the environment"Dave Allison2014-05-291-0/+1
| |\ \
| | * | Add LD_PRELOAD for libsigchain.so to the environmentDave Allison2014-05-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To remove the need to modify the bionic dynamic linker, add the signal chaining library as a preload in the environment. This will be picked up by the dynamic linker and will override sigaction and sigprocmask to allow for signal chaining. Change-Id: I6e2d0628b009bd01e0ed9aed0b311871b9c8363a
* | | | am c290bed0: Merge "Remove dmesg_restrict"Nick Kralevich2014-05-281-1/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'c290bed0350cded5620ed8dbb68b1cfb07d9828c': Remove dmesg_restrict
| * | | Merge "Remove dmesg_restrict"Nick Kralevich2014-05-281-1/+0
| |\ \ \
| | * | | Remove dmesg_restrictNick Kralevich2014-05-271-1/+0
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dmesg_restrict is too coarse of a control. In Android's case, we want to allow the shell user to see dmesg output, but disallow others from seeing it. Rather than rely on dmesg_restrict, use SELinux to control access to dmesg instead. See corresponding change in external/sepolicy . Bug: 10020939 Change-Id: I9d4bbbd41cb02b707cdfee79f826a39c1ec2f177
* | | | am 96109cf3: Merge "Add UID and directory for RELRO sharing support."Torne (Richard Coles)2014-05-281-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '96109cf36c3dd44e9ecfe4b810e21e77eaf834dc': Add UID and directory for RELRO sharing support.
| * | | Add UID and directory for RELRO sharing support.Torne (Richard Coles)2014-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define a UID to be used by the process responsible for creating shared RELRO files for the WebView native library, and create a directory owned by that UID to use to store the files. Bug: 13005501 Change-Id: I5bbb1e1035405e5534b2681f554fe16f74e3da1a
* | | | am 5fe6fcc3: Merge "Add a zygote 64/32 bit config."Narayan Kamath2014-05-271-0/+12
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '5fe6fcc35d10c88dd55213dc5b2303ea73c1883b': Add a zygote 64/32 bit config.
| * | | Add a zygote 64/32 bit config.Narayan Kamath2014-05-211-0/+12
| |/ / | | | | | | | | | | | | | | | | | | 64 bit zygote is the "primary" and the system server is run as a 64 bit process. Change-Id: Ie1c2b0809faa92937bc407dd66e7a606ebb4f8f3
* | | am 75a8eeb1: Merge "Change app_process reference to app_process32."Narayan Kamath2014-05-151-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '75a8eeb1ecf9f748b1d53e5ff3a5e138a0cdbebd': Change app_process reference to app_process32.
| * | Merge "Change app_process reference to app_process32."Narayan Kamath2014-05-151-1/+1
| |\ \
| | * | Change app_process reference to app_process32.Narayan Kamath2014-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Required due to change 5a7ee9ad63 which makes app_process a symlink to the primary zygote. Change-Id: I940f6302db97f74dd57112e310014e989dc586e5
* | | | am 09eaad79: Merge "Introduce fwmarkd: a service to set the fwmark of sockets."Sreeram Ramachandran2014-05-141-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '09eaad793a8cec9196255d740ecb89a1426c0bf7': Introduce fwmarkd: a service to set the fwmark of sockets.
| * | | Introduce fwmarkd: a service to set the fwmark of sockets.Sreeram Ramachandran2014-05-141-0/+1
| |/ / | | | | | | | | | | | | | | | (cherry picked from commit d5121e212c1f53b1cb6458ee83be892d94fdfef3) Change-Id: Ieb049fe34ea2b21a7f6108f2099d1a8b8f2c28f7
* | | am 32e4479d: Merge "Set kernel proc files for fwmark reflection and table ↵Sreeram Ramachandran2014-05-131-0/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | numbers for RAs." * commit '32e4479d5535887d03625b43b7e3574b458dfc8d': Set kernel proc files for fwmark reflection and table numbers for RAs.
| * | Set kernel proc files for fwmark reflection and table numbers for RAs.Sreeram Ramachandran2014-05-131-0/+7
| | | | | | | | | | | | | | | | | | (cherry picked from commit 2c2807ac1041751583e0c3b6892ca56eae423fa2) Change-Id: I5f0d759cb9b8590555af7f5503f00d3e455ece54
* | | am c7580819: Merge "ueventd: Ueventd changes the permission of sysfs files ↵Ruchi Kandoi2014-05-011-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | for max/min cpufreq" * commit 'c7580819934b85e93f58001f9b59b12712bb61b8': ueventd: Ueventd changes the permission of sysfs files for max/min cpufreq
| * | ueventd: Ueventd changes the permission of sysfs files for max/minRuchi Kandoi2014-05-011-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | cpufreq The owner and permissions for the sysfs file /sys/devices/system/cpu*/cpufreq/scaling_max/min_freq is changed. This would allow the PowerHAL to change the max/min cpufreq even after the associated CPU's are hotplugged out and back in. Change-Id: Ibe0b4aaf3db555ed48e89a7fcd0c5fd3a18cf233 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
* | Merge commit '4102af05a86aae36d2560fd8b3f740a52399342c' into HEADBill Yi2014-04-291-1/+15
|\ \ | |/ |/|
| * am f8f0531b: Merge "logd: core requirement"Mark Salyzyn2014-03-211-6/+7
| |\ | | | | | | | | | | | | * commit 'f8f0531bb69a90e87f1bafa875e665e3935610b1': logd: core requirement
| * \ am efbf36f2: init.rc: prep tcp_default_init_rwnd, set the default to 60JP Abgrall2014-03-141-1/+10
| |\ \ | | | | | | | | | | | | | | | | * commit 'efbf36f2dad8f083de6f48dbb682461d7cfa9781': init.rc: prep tcp_default_init_rwnd, set the default to 60
| | * | init.rc: prep tcp_default_init_rwnd, set the default to 60JP Abgrall2014-03-131-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel's default is between 4~20. Prepare for javaland to modify the value at runtime. It can be done via setprop sys.sysctl.tcp_def_init_rwnd <value> Bug: 12020135 Change-Id: Id34194b085206fd02e316401c0fbbb9eb52522d2 (cherry picked from commit 7c862c8b5e59cbe216a5bc092c01f1ecba8e9de4)
| * | | am 858d0dd1: Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"Mark Salyzyn2014-03-111-0/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '858d0dd1e529575181abd8de607e46f7b273cc9d': set /proc/sys/net/unix/max_dgram_qlen to large value
| * \ \ \ am 9453bce4: Merge "Apply restorecon_recursive to all of /data."Nick Kralevich2014-03-111-8/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '9453bce4cff952aab5c90f5b30c6c12d3e1521e5': Apply restorecon_recursive to all of /data.
| * \ \ \ \ am e9c8fb90: Merge "logd: initial checkin."Mark Salyzyn2014-03-111-0/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e9c8fb900a460699201208870ce9997a734261cc': logd: initial checkin.
| * \ \ \ \ \ am 27fd413d: Merge "Start debuggerd64 for 64-bit processes"Colin Cross2014-03-071-0/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '27fd413d6d02a53c453cf926717b67e9a8d1eb32': Start debuggerd64 for 64-bit processes
| * \ \ \ \ \ \ am ba023b06: Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to ↵Nick Kralevich2014-03-071-1/+5
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main init.rc file." * commit 'ba023b063d25b73923f2df536b6258967f756ff6': Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
| * \ \ \ \ \ \ \ am 0620e3dd: Merge "adbd: switch to su domain when running as root"Nick Kralevich2014-01-241-1/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0620e3ddb85582f66612d046d1295dc20bf1a4f5': adbd: switch to su domain when running as root
| * \ \ \ \ \ \ \ \ am e847f429: Merge "restorecon /data/misc/media."Nick Kralevich2014-01-151-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e847f429f43ae56aaa406697ca603c8469e2100b': restorecon /data/misc/media.
| * \ \ \ \ \ \ \ \ \ am aead003c: Merge "Don\'t set LD_LIBRARY_PATH globally."Elliott Hughes2014-01-141-1/+0
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'aead003c8bc677218329c535b063a5bb66695414': Don't set LD_LIBRARY_PATH globally.
| * \ \ \ \ \ \ \ \ \ \ am cd0f824a: Merge "Fix tracing on user builds"Colin Cross2014-01-091-0/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'cd0f824a7cfe91f4db24511830658228487ae919': Fix tracing on user builds
| * \ \ \ \ \ \ \ \ \ \ \ am 8830b53b: Merge "Label existing /data/mediadrm files."Nick Kralevich2014-01-081-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8830b53b76c05416c021df3eb0cea1dd541bc3ac': Label existing /data/mediadrm files.
| * \ \ \ \ \ \ \ \ \ \ \ \ am 5b8abdf6: Merge "Apply strict SELinux checking of PROT_EXEC on ↵Nick Kralevich2014-01-021-0/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mmap/mprotect calls." * commit '5b8abdf6278a4142736d918d1371d10c54c91db3': Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ am 2dcc2759: Merge "Run the console service shell in the shell domain."Colin Cross2013-12-271-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2dcc275936aefbb5badf3b4822d492260077144d': Run the console service shell in the shell domain.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 537f53b6: Merge "rootdir: add permissions for /dev/rtc0"Greg Hackmann2013-12-171-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '537f53b682eb0d99e90da2a3e7389ea474bc583d': rootdir: add permissions for /dev/rtc0