Commit graph

4652 commits

Author SHA1 Message Date
Duane Sand
d4a80984fc [MIPS] Benchmark test for MIPS memset16/memset32
Author: Chris Dearman <chris@mips.com>
AuthorDate: 2011-07-26 19:24:40
Change-Id: I0a7b3360aaf45de8ee47744f7031b84f15f37611
2012-12-27 12:38:51 -08:00
Elliott Hughes
38219ee611 Merge "Track the setsebool change in the emulator init.rc." 2012-12-21 17:19:37 -08:00
Elliott Hughes
334ad0ed49 Track the setsebool change in the emulator init.rc.
setsebool's syntax changed in November. This is the sole
caller in AOSP.

Change-Id: I0da608ee974bc3a9060372ef68a71c52726a44a6
2012-12-21 14:45:27 -08:00
Colin Cross
b8e86c5aba Merge "android_filesystem_config: allow absolute paths" 2012-12-21 13:35:05 -08:00
Colin Cross
04aaf5a424 android_filesystem_config: allow absolute paths
SELinux policies use absolute paths, allow absolute paths in fs_config
as well.

Change-Id: Ic97ee0b4eb4df9eac965a8e819fde01df473de7e
2012-12-21 12:51:17 -08:00
Dima Zavin
82ea44f88f Merge "Change setsebool syntax to be consistent with other init built-ins." 2012-12-18 23:42:09 -08:00
Mike Lockwood
516943c0e9 Merge "libusbhost: generates a static library" 2012-12-17 14:34:53 -08:00
Mike Lockwood
dea9a93ddd Merge "libusbhost: permits client polling on inotify wd" 2012-12-17 14:34:20 -08:00
Stephen Smalley
0e23fee505 Change setsebool syntax to be consistent with other init built-ins.
Change setsebool syntax from name=value to name value.
This is to make it consistent with setprop and similar commands.
Update both the init built-in command and the toolbox command
for consistency.

Change-Id: I2c8e016ba26731c4a2ad4a49ae3b89362bf8f8a8
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2012-12-13 15:41:53 -05:00
David 'Digit' Turner
13306d95f6 Merge "adb: Improve ADB's forward redirection management." 2012-12-13 03:40:24 -08:00
Wink Saville
81077e5fae Merge "Use Rlog instead of Log" 2012-12-12 08:23:15 -08:00
Wink Saville
bf866aeda1 Merge "Add RLOGx" 2012-12-12 08:22:02 -08:00
Robert Greenwalt
abce9e85e4 Merge "libsysutils: Increase command buffersize and command args" 2012-12-11 15:50:50 -08:00
Ben Cheng
b0f8c70aa3 Merge "Fix ELF header parser bug." 2012-12-10 18:06:38 -08:00
Elliott Hughes
5fb042dd3a Merge "Expand crasher with a "thread-" prefix to crash on another thread." 2012-12-10 15:04:16 -08:00
Ben Cheng
0015a42942 Fix ELF header parser bug.
Program header size should be 32 instead of 40.

Bug: 7696928

Change-Id: I8298a030790e9c28e8e8a0d2ad4e9ef294708eb6
2012-12-10 14:53:03 -08:00
Elliott Hughes
aa4213057b Expand crasher with a "thread-" prefix to crash on another thread.
So "thread-nostack" runs the "nostack" code on a new thread, and
"thread-abort" runs the "abort" code on a new thread, and so on.

Bug: http://code.google.com/p/android/issues/detail?id=16672
Change-Id: I026a0e43eea147f1a7a74243846954599bcf4238
2012-12-10 14:15:42 -08:00
Elliott Hughes
5144fa28c5 Merge "Add missing signal codes to get_sigcode." 2012-12-10 11:18:37 -08:00
Elliott Hughes
8f7d4430f3 Add missing signal codes to get_sigcode.
The only common one we were missing is SI_TKILL, but we've had the full
set on the dalvik-dev branch for some time now.

Change-Id: I7cf52d352b8624e0adb17a2ed440e7a10f490dfd
2012-12-10 10:35:11 -08:00
Guillaume Ranquet
08c119910a libusbhost: generates a static library
due to limitations of the droidboot OS used for POS,
there's a need for a static libusbhost library.

this permits to include libusbhost in droidboot

Change-Id: I0f0c07817ad19b773b466b69fd6e997877d41b34
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
2012-12-10 11:12:44 +01:00
Guillaume Ranquet
dea46b6657 libusbhost: permits client polling on inotify wd
Modify libusbhost to expose the inotify watch descriptor to clients

This modification permits clients to add the watch descriptor to
their polling loop so that they don't have to use a dedicated
thread only for libusbhost.

Change-Id: I615bfcd56beab978135034b228d4d93337351eab
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
Signed-off-by: Luc Piguet-Lacroix <lucx.piguet-lacroix@intel.com>
2012-12-10 11:12:35 +01:00
Ben Cheng
523e21d366 Merge "Fail-proof the inline directives for SMP atomic operations." 2012-12-07 13:32:28 -08:00
Ben Cheng
5206d59712 Fail-proof the inline directives for SMP atomic operations.
The various atomic operations are declared as inline in the header files
to cut the function call overhead. However, the plain inline keyword is
just a suggestion to the compiler which makes its own decision on whether
to inline them or not. Worst, if they are not inlined, the
-fvisibility-inlines-hidden compiler flag will render them as hidden
symbols in the object file. If they are picked up by the linker over the
ones supplied in libcutils.so the following warning will be reported:

warning: hidden symbol 'android_atomic_inc' in foo.o is referenced by
DSO bar.so

One way is to add __attribute__((visibility("default"))) to those inline
functions to suppress the linker warnings. A better way is to force
inlining as with this patch.

Change-Id: Ie4fcfdfaaf06f42d351619a0d89671a9df15ca2f
2012-12-07 11:07:10 -08:00
Wink Saville
3761e963b3 Use Rlog instead of Log
Changing __android_log_write so the tag warns users relying on the
tag to direct log output to the radio buffer to instead use Rlog or RLOG.

Change-Id: I04b7bb5e620c1ab22b9b495382a252b539947e28
2012-12-06 10:28:34 -08:00
Wink Saville
9d7ad45eff Add RLOGx
This will eventually allow us to remove the code in
logd_write.c#__android_log_write which uses the tag
to direct logs to the radio buffer.

Change-Id: Ic992c0b8d1cf000b1814dc7786d2a40becf75eaf
2012-12-06 10:20:27 -08:00
Elliott Hughes
777991d939 Merge "Fixed improper size displaying in 'df' utility" 2012-12-03 07:33:38 -08:00
Colin Cross
2a2f640886 Merge "autosuspend_inited flag set even if initialization fails" 2012-12-01 20:02:34 -08:00
Kenny Root
a649fafbe8 Merge "Switch keystore to binder" 2012-11-27 11:20:55 -08:00
Kenny Root
9b82ce20eb Merge "Document the SELinux extensions to the Android init language." 2012-11-27 11:20:38 -08:00
David 'Digit' Turner
0d82fbf04d adb: Improve ADB's forward redirection management.
This adds a few new options/modes to 'adb forward':

  adb forward --list
  adb forward --remove <local>
  adb forward --remove-all
  adb forward --no-rebind <local> <remote>

For more context, see http://code.google.com/p/android/issues/detail?id=39631

Note that this only affects the host adb client and server programs,
i.e. it's compatible with devices running older adbd versions.

Change-Id: I9cda3ba12b5a8560a2061620bc7f948e5c1e70f7
2012-11-26 21:37:08 +01:00
Kyle Russell
a26b4caf4c autosuspend_inited flag set even if initialization fails
Prevents possible SIGSEGV on second autosuspend_enable attempt when
first intialization attempt fails.  autosuspend_inited should only
be set once autosuspend_ops has been assigned.

Consider the first call to autosuspend_enable().
autosuspend_init() sets its inited flag to true, and attempts to
set autosuspend_ops.  If all the other autosuspend_*_init() attempts
fail, autosuspend_init() returns -1, which autosuspend_enable()
will return as a failure.  A second call to autosuspend_enable()
will check autosuspend_init() and see that autosuspend has already
been initialized.  It will attempt to access autosuspend_ops, which
were not set in the first initialization attempt, causing a SIGSEGV.

Change-Id: Ib2d3ee62fee4c3b6d0323e5b7f3709a23c6b923f
2012-11-20 09:12:39 -05:00
Kenny Root
92781808ba Switch keystore to binder
Change-Id: I1607bc1f14af5115cefd6727be3815cdcce670a8
2012-11-13 12:19:47 -08:00
jp abgrall
3ddc0059bb am ee854b07: Merge "Allocate a UID for clatd"
* commit 'ee854b077766a85279fa1849b537c50837d1a204':
  Allocate a UID for clatd
2012-11-12 15:57:02 -08:00
jp abgrall
ee854b0777 Merge "Allocate a UID for clatd" 2012-11-12 14:49:50 -08:00
Josef Kindberg
6d358ae44c libsysutils: Increase command buffersize and command args
Needed to support tethering of multiple remote Bluetooth devices.

Change-Id: I9f736affd83226e8b2fa4f0faacd3654175dd8c9
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
2012-11-12 14:40:21 +01:00
The Android Open Source Project
1ca4b7d26a am 270ee0c6: am ba70ed9a: Reconcile with jb-mr1-release - do not merge
* commit '270ee0c6c62e1bcf278892094653e7ab008b3685':
2012-11-08 06:27:03 -08:00
Xavier Ducrohet
493d04d2fe am f621d62a: am c4244565: am d1e39491: Add usb vendor id for Teleepoch.
* commit 'f621d62adcbcd81d6479223d9afe47c1d966710d':
  Add usb vendor id for Teleepoch.
2012-11-08 06:14:18 -08:00
The Android Open Source Project
270ee0c6c6 am ba70ed9a: Reconcile with jb-mr1-release - do not merge
* commit 'ba70ed9ae7dab75bde317a8dc8886da309831eca':
2012-11-07 10:24:18 -08:00
The Android Open Source Project
ba70ed9ae7 Reconcile with jb-mr1-release - do not merge
Change-Id: I70866c059c12fdba45761ecbbb6e2a4cf2aa8107
2012-11-07 10:20:22 -08:00
The Android Automerger
31da9db0d1 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-11-06 18:04:30 -08:00
Xavier Ducrohet
f621d62adc am c4244565: am d1e39491: Add usb vendor id for Teleepoch.
* commit 'c424456542cacc7d776e1adc859ed1c0e784dee0':
  Add usb vendor id for Teleepoch.
2012-11-06 17:10:14 -08:00
Xavier Ducrohet
c424456542 am d1e39491: Add usb vendor id for Teleepoch.
* commit 'd1e39491f063626e026304ba8abe084cc43c94da':
  Add usb vendor id for Teleepoch.
2012-11-06 17:07:54 -08:00
Xavier Ducrohet
d1e39491f0 Add usb vendor id for Teleepoch.
Change-Id: I82bbfed598fc3a886681c4139600cf487034c59c
2012-11-06 12:56:14 -08:00
The Android Open Source Project
63766a89a1 am b64246ae: am c8e3a27b: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit 'b64246ae1b00eacd5323f8a8db7249bd726c4f33':
2012-11-06 12:27:06 -08:00
The Android Open Source Project
b64246ae1b am c8e3a27b: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit 'c8e3a27b43407268b2bb76b1d4fceee4fa3b314a':
  init: Set ADDR_COMPAT_LAYOUT before spawning processes.
  Dump 256 bytes per chunk pointed by general-purpose registers.
  Wrap system calls in TEMP_FAILURE_RETRY.
  Bring back ADB_EXTERNAL_STORAGE.
  Revert "Upgrade to dlmalloc 2.8.5."
  bluetooth: bring up with bluedroid stack
  add command-line arguments to mkbootimg to move kernel, ramdisk, etc.
2012-11-06 12:23:39 -08:00
The Android Open Source Project
c8e3a27b43 Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
Change-Id: I89230f756ce6caee4d7fa4514f47b6b0fc44d1f3
2012-11-06 12:19:18 -08:00
Stephen Smalley
3fb6110830 Document the SELinux extensions to the Android init language.
Change-Id: I9b066e0789c93e5147c28a60baeed91c44dd9359
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2012-11-02 15:22:34 -04:00
The Android Open Source Project
62edaa59a5 Reconcile with jb-mr1-release - do not merge
Change-Id: I74d83ad681e16b5e548eb2be6af985d6349ee83e
2012-10-31 09:18:57 -07:00
Elliott Hughes
3427e80ef3 am a6fb0e05: Merge "Fix debuggerd\'s use of readdir_r(3)."
* commit 'a6fb0e05aa95995445c6f2b65f07db26bdbfd46c':
  Fix debuggerd's use of readdir_r(3).
2012-10-30 16:57:51 -07:00
Elliott Hughes
a6fb0e05aa Merge "Fix debuggerd's use of readdir_r(3)." 2012-10-30 15:53:18 -07:00