Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-core: Liste der Commits

system/core


RSS
Rev. Zeit Autor
c1385b6 kitkat-x86 android-x86-4.4-r2 android-x86-4.4-r3 2014-08-27 18:55:00 Chih-Wei Huang

Android 4.4.4 Release 2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAlO7IbgACgkQ6K0/gZqxDnglYACcCyZfLI+sfByvwDyVIM18gV3S
SuwAn3Glk0FMWJKvUijD1KlHPsmcD9hu
=H0kw
-----END PGP SIGNATURE-----

Merge tag 'android-4.4.4_r2' into kitkat-x86

Android 4.4.4 Release 2

0539dca 2014-08-27 10:33:58 Enrico Sau

init: support usbmisc devices

The patch allows to create usbmisc device nodes like /dev/cdc-wdm0.

9a18eeb android-x86-4.4-r1 2014-08-08 23:36:35 Chih-Wei Huang

libutils: fix incorrect calculation in utf8_length() method

The first character of utf-8 could be larger than 128. If use signed char
variable to hold it, it would be treated as negative. That may result in
some unexpected errors.

For example, without this patch, suppose the code is 0xE88888, then
first_char is 0xE8 and converted to int32_t type (0xFFFFFFE8) and
masked with (~to_ignore_mask). The result utf32 is FFF08208
which is incorrect.

Change-Id: I72b355f380865bc375251eb287fc225fd585a115

6b743df 2014-07-24 15:44:34 Abylay Ospan

fix ueventd segfault on android-ia

fix incorrect realloc size in setup_dep causing ueventd segfault on
android-ia when module dep string contains more than LDM_INIT_DEP_NUM
(10) items

Signed-off-by: Abylay Ospan <aospan@netup.ru>

09e4512 2014-04-28 19:29:51 Kyle Evans

libsuspend: do not fail when sending on signal fails

b9e8453 2014-04-28 19:27:29 Nick Kralevich

Remove obsolete vdc call.

Since ca8e66a8b0f843812014a28d49208f9f6f64ecbc, init has
been handling reboots and filesystem unmounts. Remove obsolete
call to vdc.

Bug: 12504045
Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881

56cf430 2014-03-25 23:41:43 Ricardo Cerqueira

Add libminshacrypt static lib

This is a sha-only version of libmincrypt, to provide the new
SHA_hash implementation to binaries that require libcrypto_static

efbf36f 2014-03-13 09:25:51 JP Abgrall

init.rc: prep tcp_default_init_rwnd, set the default to 60

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)

6941a83 2014-03-05 04:14:34 Nick Kralevich

don't load property_contexts from /data

Bug: 12613118
Change-Id: I5a84b13d2151075d5136e3682431fbcc9307df13
(cherry picked from commit dc3a42bb11dc2aefee37f799b5a1cce87cf35aaf)

02916aa 2014-03-04 13:54:00 Nick Kralevich

Remove obsolete vdc call.

Since ca8e66a8b0f843812014a28d49208f9f6f64ecbc, init has
been handling reboots and filesystem unmounts. Remove obsolete
call to vdc.

Bug: 12504045
Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881
(cherry picked from commit 225459a5da21e9397ca49b0d9af7d5fe3462706b)

11f1e7e 2014-01-22 03:11:32 Elliott Hughes

Let external/mksh install directly into /system/bin/sh.

Change-Id: I3ac60af2b5c6bba98c33cb63952eb4d35676d73f

5f073aa 2014-01-22 03:11:29 Elliott Hughes

Dispose of ash.

We haven't used ash for several releases. Remove ash and its
companion liblinenoise.

I've left the support for an alternative shell here for now,
but we can move that out to external/mksh later if we want.
(For now this seemed like a somewhat useful signpost to the real shell.)

Change-Id: I634c7969f6cbe375a2bc56fc1077e64888380f3d

f872453 2014-01-22 03:11:06 Chih-Wei Huang

libsuspend: add debug.autosleep property

Only use autosleep first if debug.autosleep=1.

2544b80 2014-01-22 03:11:05 Chih-Wei Huang

ueventd: load modules in a forked process

Loading some modules (e.g., ath3k) will be blocked to wait for
firmware. The forking is necessary, otherwise ueventd has no
chance to load the firmware.

7c1566c 2014-01-22 03:11:03 Chih-Wei Huang

allow to load modules from standard module path

e40b779 2014-01-21 19:06:47 Chih-Wei Huang

Merge branch 'android-ia3' into kitkat-x86

Conflicts:
init/init.c

9fac4ff 2014-01-21 19:05:53 llin4

core: houdini hook rebase on KK

BZ: 150804

system/core houdini hook rebase on KK

Change-Id: Ibdb009940a272c407634fdffa0e63f68dc05fc58
Signed-off-by: llin4 <ling.lin@intel.com>

8464bca 2014-01-21 19:05:53 Andy Ross

Allow for overriding environment variables in export

Don't silently append duplicates, delete the older version. Also
increase the size limit, as the set of shell variables on my test
system is already at 28.

Change-Id: Id2373cc197662ae14fabad4de5e4516fe30d44cc
For: AXIA-2870
Signed-off-by: Andy Ross <andy.ross@windriver.com>

a2c98ed 2014-01-21 19:05:53 Ken Lierman

cleanup ADB's debug output

The server was using stderr to talk back to the client to ACK it
starting correctly, which made the debug output from the server get
lost (before it later gets redirected to a file). Change it to stdout
and add a fflush() to force the output.

Add the pid to the output so you can tell which process the output is
coming from.

Add basename to the __FILE__ part of the output to remove the unnecessary
and redundant system/core/adb path info from every output line.

Remove the duplicated fdevents debug output macro so it gets redirected
into the server log file like it should.

Change-Id: I8eaf3c8ccbca62f907b0ee7b52a0e179db5ff82d

7fe8c69 2014-01-21 19:05:53 Sean V Kelley

system: Add hw specific pixel format

Relocate hw pixel format to graphics header for convenience
from drm_gralloc codebase.

Change-Id: I405398b172fab19949fef33c89a60132b1bd0ea9
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>

754a3cb 2014-01-21 19:05:49 Billy

Init: Setting system time back to utc

Fix:
When rtc_local_time is enabled (ro.rtc_local_time = 1),
system time loaded from rtc should be local time too during boot.
Setting system time back to utc as soon as fast, which avoid programs
get confused about it.

For convert local time to utc, we need to get timezone information.
Android store timezone in property variable "persist.sys.timezone", and
its raw file stored on /data partition. So, the reasonalbe time when we
trigger sysclk should be after /data partition loaded and persist_props
loaded. We must add a new property variable for triggering sysclk if we
want to trigger it after load_persist_props commmand, which will make code
more complicated. Thinking about above, I add sysclk command on post-fs-data
section in init.bigcore.rc. At this point, partitions loaded, persist_props
not loaded yet. I get the timezone infromation through reading raw file
directly instead of call propert_get function

Issue: AXIA-2051
Change-Id: I0ff1d5932c5b1aaa8695129de44c06dba31cb443
Signed-off-by: Xiaobing Feng <xiaobing.feng@windriver.com>

3002e26 2014-01-21 19:05:33 Thomas Daniel

adbd: set sent file ownership per android fs config table

do_send() uses fs_config() to retrieve mode, user and group for a sent file but
handle_send_file() only gets passed the mode. User and group are discarded.
This causes problems as it means any files updated with adb sync will have their
owner set to root.

For example, the file "/system/etc/dbus.conf" should be owned by "bluetooth" as
specified in android_filesystem_config.h, and its permissions should be read for
user and group but nothing for other. Using adb sync to send this file means
that the owner is set to root, and no access permissions for others. This means
that when a process running as "bluetooth" tries to access the file it fails,
resulting in a boot failure.

This change adds a new wrapper function adb_chown() which calls chown() to match
the existing pattern for wrapping file I/O functions. This adb_chown() is now
called in do_send() to correctly set the owner and group as specified in the
fs_config table.

Change-Id: I37661273780346a6a868e58d9069171052e81e34

6a32942 2014-01-21 19:05:33 Andrew Boie

charger: fix build

Change-Id: I796c71dca32cd879405f10be9fa17edba8aa100e
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

04abbbb 2014-01-21 19:05:33 Daniel Leung

libsparse: Use BIONIC implementation of mmap64()

Change-Id: Ifad484c8b1a22f7b1a0ef5dfd52d7fe12fd892c6
Signed-off-by: Daniel Leung <daniel.leung@intel.com>

f9b8840 2014-01-21 19:05:33 Andrew Boie

ueventd: Increase uevent buffer size

As it turns out, no, 64K is not enough. A device provisioning
tool was generating many uevents as it manipulated the GPT,
causing events near the end of the process (including events
as a result of the final BLKRRPART ioctl()) to get lost.

It's not clear what the best value for this should be, but
increasing to 256K fixed the problem in this case.

Change-Id: I4883b34e96c89e8a6fa581bc9cd121bb021b5694
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

19bcdac 2014-01-21 19:05:33 Andrew Boie

init: expand usage of property lookup and allow file lookup

Currently, the init.rc syntax ${prop.name} to substitute a value
looked up from the property service is only supported for the
setprop, write, and import commands. Here we generalize it so that
the arguments for all commands and services allow for references like
this.

We also introduce the syntax $[/path/to/file] to substitute the
contents of a file (typically a sysfs node), pruning any trailing
newlines from the file first.

Substitutions are always done at the last possible moment; right
when the command is executed or the service is started. If a service
is started/stopped multiple times, the substitutions will always be
re-done each time it starts.

If any substitition fails, the command will not run/service will not
start.

The deprecated syntax $prop.name is no longer supported.

Change-Id: I8560b70f48c0396832d9a7fadc546441e8e81ff9
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

12532b1 2014-01-21 19:05:33 Jin Wei

fix valgrind ioctl warning.

BZ: 62797
[CLEAN]

Initialize local variable to avoid syscall ioctl warning.

Change-Id: Ic1d0daeaf03ca3f60dfbe1aa6601cc47bc75447e
Orig-Change-Id: I6893f17ab8b036c8723707fba2b2bdcf49cae075
Category: aosp improvement
Domain: AOSP-General
Origin: internal
Upstream-Candidate: yes
Signed-off-by: Jin Wei <wei.a.jin@intel.com>

bb77799 2014-01-21 19:05:33 Andrew Boie

init: remove logo code

This code is legacy and should never need to be used. The bootloader
should put an image on the screen and the kernel shouldn't reconfigure
the display controller until userland is ready to draw something,
such as the boot animation, charger, recovery console, etc.

Instead of hard-coding tty0, the "A N D R O I D" text is written out
to whatever the active console is.

Change-Id: I5fd21413f721d2ba6966d34d632d8fc3913ca073
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

7dec791 2014-01-21 19:05:33 Daniel Leung

libsuspend: Use autosleep first if available

Change the order to look for sysfs nodes to do autosleep first,
then early suspend.

Change-Id: Iff34b9354dd8e5104befd05e8097962d7f7eee7f
Signed-off-by: Daniel Leung <daniel.leung@intel.com>

100b6b9 2014-01-21 19:05:29 Andrew Boie

init: Allow for configurable init.rc path

If androidboot.initrc is passed in the kernel command line,
the path it refers to will be used for the initial init.rc
and not /init.rc.

This is to support specialized boot modes using the same
ramdisk.

Change-Id: Icfa179c422bf1d548c4ddef33c41cc89718d762d
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

Show on old repository browser