| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: Ie6c0bf593315d3507b3c4a6c8903a74a1fa053db
|
| |
|
|
|
|
| |
The header file is needed to add route to an IPv6 host from user space
Change-Id: I25c8a8d8e48013f127542199bc027f976b9672c1
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: I22410b27939e8f54da932d7a1104102550c4685f
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
|
| |\ \
| |/
|/|
| | |
clearenv() compiler warning and related comment typos"
|
| | |
| |
| |
| | |
bionic: fix clearenv() compiler warning and related comment typos
|
| | |
| |
| |
| |
| | |
Change-Id: Ic210fe9f740b9a8235a66d479ad4eddc869998bb
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
Add ip6t_get_target() to kernel_known_generic_statics in
libc/kernel/tools/defaults.py to be able to build ip6tables.
Change-Id: Iadb885db3faa85b2d0070dc2e0ac493af6e62bb6
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this patch _and_ an upcoming build/ patch, the destruction
of static C++ objects contained in shared libraries will happen
properly when dlclose() is called.
Note that this change introduces crtbegin_so.S and crtend_so.S which
are currently ignored by the build system.
+ move definition of __dso_handle to the right place
(before that, all shared libraries used the __dso_handle
global variable from the C library).
Note that we keep a 'weak' __dso_handle in aeabi.c to avoid
breaking the build until the next patch to build/core/combo/
appears. We will be able to remove that later.
+ move bionic/aeabi.c to arch-arm/bionic/ (its proper location)
NOTE: The NDK will need to be modified to enable this feature in
the shared libraries that are generated through it.
Change-Id: I99cd801375bbaef0581175893d1aa0943211b9bc
|
| |\
| |
| |
| | |
Change-Id: I408b5705b18d9e93e66bfbfeec0e3baefd618dec
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When calling sysconf with _SC_NPROCESSORS_ONLN, the value one (1) was
returned on systems with two or more cores, since '/proc/stat' was
incorrectly parsed.
The function line_parser_getc (LineParser* p) read 128 characters of
input for each invocation.
The proper and probably aimed for behavior is to read 128 characters
at the first call, then for each subsequent call only return the next
buffered character until a new read is needed and only then read
another 128 characters.
Due to a flipped comparison between the two variables in_len and
in_pos that track the number of bytes of data read into the input
buffer and how much of it has been parsed, a new group of 128
characters were read at almost every call to line_parser_getc,
overwriting the still unhandled bytes from the previous call to
read. This caused the lines to be read to be sampled more than parsed.
Change-Id: I93eec3c8c9b9f19ef798748579d0977111b5c0bb
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: I63e2bfcf87d190fb063c5b2457ebe6b0d50ddd26
|
| | |/
| |
| |
| | |
Change-Id: I32ee448abde4d5693d393030ed77ddc6d2ad1dfc
|
| |\ \
| |/
| |
| | |
Change-Id: I1cc2f1123a296b05c4faaa419374376395e05936
|
| | |\ |
|
| | | |
| | |
| | |
| | | |
Change-Id: Ied1871aa0a2e33473b89a4ac6d54e3c44be7f457
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: Ib7fc9c6f79f9b13e2175da137005d8968ea85eaf
|
| | |\ \
| | |/
| |/|
| | | |
threads"
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
... so that each cloned process at the kernel level can be named
independently. Tools like 'top' can display the CPU/memory statistics
for each process's thread if "Show Threads" mode is on.
With this function in place, we can convert dalvik/Thread.c setThreadName()
function over this function. This feature ought to be provided by the
underlying C library and not coded directly in Dalvik.
Change-Id: Ifa997665dbaa114e0b126f8c667708be9a4137fd
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: I5804d8850f2d4fb7b5d5c53d51e153f7ced9646e
|
| | |/
| |
| |
| |
| | |
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| |\ \
| |/
| |
| | |
Change-Id: I9c926a3cd680a96ece026cdec71c6e0fb0b7ad7c
|
| | |\ |
|
| | | | |
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: I2be62bce462ee53fe9519f433523bd7a44a73d40
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GDB looks for specific opcode sequences when trying to recognize a stack
frame as a signal trampoline. The sequences it looks for happen to be those
created when SA_RESTORER is set, since glibc always sets a restorer. This
patch does the same here, so that the trampolines can be correctly identified.
Change-Id: I0ac574a68818cb24d939c3527f3aaeb04b853d04
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: Iecfd2bd3069f70bbe508042cc249fcf7ff24800d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
... by removing extraneous NULL check, as free() already does it.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I0445f35c7ad0a049a0e4aee1fbe002ed2f13b94b
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It decreases code size:
text data bss dec hex filename
161 0 0 161 a1 strndup-BEFORE.o
153 0 0 153 99 strndup-AFTER.o
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| |\ \ \ \
| |/ / /
| | | |
| | | | |
Change-Id: If02d33af51017dbd85e91c79ac2e848eda6cf253
|
| | |\ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
log_channel_t contains fd member, which is file descriptor for
exact logging channel. change cc05d1271680d6a7804bc89d3b1fe14c40b32396
lacks initialization of this member in __write_to_log_init(), thus
logging code is not working, although not crashable.
Additional details may be found in comments here:
http://review.source.android.com/5617
|
| | |\ \ \ \ |
|
| | | |/ / /
| | | | |
| | | | |
| | | | | |
base on kernel 2.6.27 arch/sh/include/asm/
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I739c63c5a7344fff1775580044dc647edf246ebf
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
... by removing unneeded NULL check, as free() already does it.
By the way, we don't need to set a stack variable back to NULL.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: Id90eb8f042b5c922c5ff139b11ff8366fb404566
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
... by removing unneeded NULL check, as free() already does it.
By the way, we don't need to set a stack variable back to NULL.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: Id1f72e872f73366dddcea4abc75885a3d9a318c6
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1
|
| |\ \ \ \
| |/ / /
| | | |
| | | | |
Change-Id: If77618a329fc7b497c44c2585e644bc50e7e1406
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| | |\ \ \
| | | | |
| | | | |
| | | | | |
afterward"
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I5ddd93f0557e5a7401460dc9fc8a55b330a79c3a
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Merge commit '9163872132a3e92f986b1d684badb1dd4482ad8e' into froyo-plus-aosp
* commit '9163872132a3e92f986b1d684badb1dd4482ad8e':
kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
For: For http://b/issue?id=2576057
Change-Id: I553ca14974aaec4434e384979e0bb7007dcf6033
Signed-off-by: San Mehat <san@google.com>
|
| |\ \ \ \ \ \
| | |/ / / /
| |/| | | |
| | | | | | |
Change-Id: I950e9aca87cbb0c35099b1d53cff6378bd0f26f4
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
... by checking most probable condition first (elements do differ)
Change-Id: I424eab9c32a6d9eb82b686ca04025ec8c9097035
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | | |
Change-Id: I076e0df8656fdf58c229cc9a168cd6d8e16b6d8e
|