| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't follow symlinks. Suggestion from Jann Horn.
Also, add O_CLOEXEC. This prevents file descriptor leakage should
this code ever run in a multithreaded environment.
I'm not sure if either of these changes actually address any
security concerns, but it's harmless, so go ahead and add it.
Bug: 15675141
Change-Id: I7ba4e9d10439b7150f59759b54e3ad8ccba411e3
|
|\
| |
| |
| |
| | |
* commit '46ed1c8c99fce33c78e239d4155ece84feca069d':
Fix windows sdk build.
|
| |
| |
| | |
Change-Id: I53c9f43a5f9ae2f40de686316185d162d0e0503a
|
|\ \
| |/
| |
| |
| |
| |
| | |
ioprio_get/ioprio_set."
* commit '6dfe949568fa9413db72cdccb26baca2c4592a2a':
Use syscall(2) instead of ioprio_get/ioprio_set.
|
| |
| |
| |
| | |
Change-Id: Ibfd0bdd3dd0bad9804ec9fd9292f4b68a510afdb
|
|\ \
| |/
| |
| |
| |
| |
| | |
x86_64."
* commit 'f6d8dedd87eb8bbccbbdeb17a6d226f089449d92':
Port libcutils memset16/32 to x86_64.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Port libcutils memset16/32 assembly SSE2 optimizations to x86_64
architecture. Ensures the same performance on 64-bit arch.
Change-Id: I874a71a884c0d28a152933ddff9cb886c9a6e99e
Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
32-bit and 64-bit libraries."
* commit '928821bd123aa38094289b9c62debb4d92b84069':
Host multilib build of both 32-bit and 64-bit libraries.
|
| |
| |
| |
| | |
Change-Id: I54f91f385b109fc664a1a1f9320affb2a846fef1
|
|\ \
| |/
| |
| |
| | |
* commit 'e7110ac09bdc77c4a8f7823aa666c9929a33984c':
Fix libcutils/dlmalloc_stubs.c build breakage.
|
| |\ |
|
| | |
| | |
| | |
| | | |
Change-Id: I344c410c100ce13c7a88063bf5354ad61c50094b
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '04511126a6e127705abce84735a3fe4eb48d882c':
Fix build.
|
| | |
| | |
| | |
| | | |
Change-Id: I7b0cf6a248c74f1a06e0b5d51a5be13124ced6a0
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '5a8335c3185ec329bf43b1edc733aef38ce76c36':
Fix build.
|
| |/
| |
| |
| | |
Change-Id: I6bafe6221e1ce7e4b04269df90996ab08b050e93
|
|\ \
| |/
| |
| |
| | |
* commit 'b85c2494df1e1003b3101e36b29faace3a51dc3f':
Make host ashmem_create_region seed only once.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Not seeding this each call should help reduce collisions when multiple
threads are calling ashmem_create_region. Also cleaned up code by
deleting gotos, and making formatting consistent.
Bug: 15394258
Change-Id: Iafdaea57b2317e0eb7c40d7b5595c523814fd88c
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
check issue"
* commit 'c99dd0c58d2a7572740599f81b5a20ddb18dbf9e':
libcutils: fix rw FS remount check issue
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some condition, some of FS would set disable_roll_forward option.
In this case, when we do power off or reboot, the power down progress
would stuck at android_reboot for 360 sec.
The reason is, remount_ro_done function check key word "rw" to determine
whether all the read-write FS has been remounted as read-only FS.
Unfortunately, it takes disable_roll_forward as a rw flag too by
mistake, so the check would always fail, until reach 360 sec threshold.
The patch would match "rw," from mount options, this can avoid the issue
successfully.
Change-Id: I409f9dc88c9ee5cf049615ea9dcccaf195b6bc5a
Signed-off-by: Hong-Mei Li <a21834@motorola.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
to `_socket_network_client_timeout\'."
* commit 'f7a7e3c301fdf7d98d8bcabf6fefb0fcf5bbf90d':
Fix win32 undefined reference to `_socket_network_client_timeout'.
|
| |
| |
| |
| | |
Change-Id: I063213957b8452f4690da0f64872075f7c27b4cd
|
|\ \
| |/
| |
| |
| |
| |
| | |
socket_network_client.c build failures."
* commit '87d0f45b3c30dff02bd92f542e5e9e64816f5315':
Fix Windows socket_network_client.c build failures.
|
| |
| |
| |
| | |
Change-Id: Ie67a2305ade02e078bf0edf54104c295b091b1b7
|
|\ \
| |/
| |
| |
| |
| |
| | |
with a non-blocking connect"
* commit 'b42f141315ae0929325335645d397db04a500c88':
Bound the ADB connect time with a non-blocking connect
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After a disconnect, the initial blocking connect takes
a long time to return, while subsequent calls return
quicks. Switch to a non-blocking connect to make the
re-connect time more consistent and faster overall.
Change-Id: I21d02b22a8eb9a457c2f1fa95eb17894d5612ccd
Signed-off-by: Ken Lierman <ken.lierman@windriver.com>
Reviewed-by: Gumbel, Matthew K <matthew.k.gumbel@intel.com>
Reviewed-by: Jovanovic, Radivoje <radivoje.jovanovic@intel.com>
Reviewed-by: Boie, Andrew P <andrew.p.boie@intel.com>
|
|\ \
| |/
| |
| |
| | |
* commit 'b18da571f90eebedd99fe5607a6b0d7ae4e91893':
Remove unused LOCAL_LDLIBS.
|
| |
| |
| |
| | |
Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
|
|\ \
| |/
| |
| |
| |
| |
| | |
cache sizes"
* commit 'b389440c8bdc06fc6d3fdaad6acb8f9c124e40a7':
Add Silvermont architecture cache sizes
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds Silvermont specific cache sizes for memset16/32 SSE optimization.
Change-Id: Ib5ea086d57544e74ac384ee1ef516b8511392f70
Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '027e4e77c26652948f43ac07ca8a738c469d39f0':
libcutils: win_sdk build issues
|
| | |
| | |
| | |
| | | |
Change-Id: Ic431166f686aebfd0ee00ad3224b95237ff7a0de
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
__unused from sys/cdefs.h"
* commit 'b3eefcaa934986f72a3daddf6ad86e276d14d476':
libcutils: Mac build pulls in __unused from sys/cdefs.h
|
| | |
| | |
| | | |
Change-Id: I2da8a52e07cef0b749f7e60709536e98bd96660e
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a0a461d3b7d85484c10db64f078427a5be3da189':
libcutils: turn on -Werror
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Deal with some -Wunused / -Wunused-variable issues
Change-Id: I28c23fb213382a392ec30935749fb359e072d664
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
passes us."
* commit '29941ec81705bdcad2b43f0059e1288304c523e8':
Use the si_code value bionic passes us.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bionic needs to re-raise various signals, which means the si_code
debuggerd sees has been clobbered. If bionic sends us the original
si_code value, we can use that instead of the one we see when the
ptrace the crashed process' siginfo.
Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
422852ef5c0c2b0b5e031f80f480486df3d185a0 for non-linux hosts.
Change-Id: I00b9c99b9d9d072f19549b3a9970a27e75cd49b7
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia998f349129acf4602b767d1ff94839607fdbdbd
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
|
| | |
| | |
| | |
| | | |
Change-Id: I07c5eb59b9395734ad3fc25eba753564c0f096a0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Read out system properties with same syntax as SystemProperties.java
* Also adds unit test suite to validate correctness of properties
* Also fixes buffer overrun in property_get
Change-Id: Ifd42911f93e17da09e6ff1298e8875e02f3b6608
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
corrupt str_parms"
* commit '4fe186159386a75ce17ca0b7ba6ace4294187cb2':
Handle errno properly to avoid corrupt str_parms
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A normal sequence of calls is as follows:
str_parms_create_str, str_parms_add_str, str_parms_destroy.
In some cases the destroy caused double free.
str_parms_add_str will clone the input and send it to hashmapPut
for storage. If hashmapPut did not store the strings it will raise
errno = ENOMEM and leave caller with ownership of the strings.
In any of these cases it will be safe to destroy the str_parms.
But what if it wasn't hashmapPut that said NOMEM? What if there
was a stale NOMEM already before a successful hashmapPut?
In that case the strings will be successfully added to the list
(if new), but when str_parms_add_str sees the NOMEM it will free
them anyway, leaving dangling pointers in the str_parms!!
It is the responsibility of the caller to clear errno before any
interesting call. This patch makes sure that str_parms_add_str
reacts only on errno emmitted from hashmapPut.
Change-Id: If87e4bcc482f09e1c66133d33517b152ebdac65f
|
|/
|
| |
Change-Id: I1af5c260a1a820b65f0850ea9adb38b01fcb183c
|
|\ |
|
| |
| |
| |
| |
| |
| | |
- Use inttypes.h to print uint64_t values.
Change-Id: Ia10a3b67cadcce282563467a464ec07066cc2051
|
|/
|
|
| |
Change-Id: I55e8311bae97703be26e57b415a8ab0a6d9b4361
|