Commit Graph

7436 Commits

Author SHA1 Message Date
Calin Juravle
4ab29a3e4a Merge "Update tzcode to 2013i" 2014-02-28 17:40:09 +00:00
Calin Juravle
d892892e8e Fix locatime.c indentation after sync
Bug: 12246757
Change-Id: I8186e75f4899161af48cbf66e8f907dac0a326a2
2014-02-28 17:15:00 +00:00
Elliott Hughes
77ed5f6b15 am 8fa8b75b: am e9db4a97: Merge "Vastly reduce the number of read(2)s done in tzload."
* commit '8fa8b75b54990cdabbfa108b92ace9cf511d45c0':
  Vastly reduce the number of read(2)s done in tzload.
2014-02-28 16:35:04 +00:00
Calin Juravle
bd33537fde Renamed the misleading libc/netbsd directory to libc/dns.
Bug: 13219633
Change-Id: Ide43add0b90b3081cc709a22d1ff1f59d65f1104
2014-02-28 16:31:04 +00:00
Elliott Hughes
8fa8b75b54 am e9db4a97: Merge "Vastly reduce the number of read(2)s done in tzload."
* commit 'e9db4a976f864ef180340fe37c58af93a03daf46':
  Vastly reduce the number of read(2)s done in tzload.
2014-02-28 16:28:52 +00:00
Elliott Hughes
e9db4a976f Merge "Vastly reduce the number of read(2)s done in tzload." 2014-02-28 16:23:40 +00:00
Calin Juravle
627d37cd1f Update tzcode to 2013i
Bug: 12246757
Change-Id: I3d5d2318155b1f54ef80afd58b1e5ca9a6d7018e
2014-02-28 14:38:14 +00:00
Elliott Hughes
034663774d am 331dd270: am e3345405: Merge "Fix a leak on error in tzload."
* commit '331dd2708232fb538de60e5aa807bbd4490910f7':
  Fix a leak on error in tzload.
2014-02-28 02:28:44 +00:00
Elliott Hughes
331dd27082 am e3345405: Merge "Fix a leak on error in tzload."
* commit 'e33454051677cd8953af558b67e525dda2231501':
  Fix a leak on error in tzload.
2014-02-28 02:22:36 +00:00
Elliott Hughes
fd3a9fb0c3 Vastly reduce the number of read(2)s done in tzload.
This costs us about 1000 fewer syscalls, which makes "adb shell strace date"
a lot more readable (which is the reason I've been meaning to fix this for a
long time now), but also actually saves a measurable amount of time.

Longer-term we should try to keep the tzdata mmap(2)ed in like libcore
does.

Change-Id: I1dd9c81968a13d3a6a55ba17f8a7d5c1f38cd103
2014-02-27 18:18:25 -08:00
Elliott Hughes
e334540516 Merge "Fix a leak on error in tzload." 2014-02-28 02:16:40 +00:00
Elliott Hughes
3073f90b17 Fix a leak on error in tzload.
Change-Id: Ib5d9aaa7a618e478ce8e5e82f967cf535bb1a5a3
2014-02-27 17:04:38 -08:00
Guillaume Ranquet
6ff0c75c83 Add recvmmsg and sendmmsg syscalls.
Also add the corresponding constant, struct, and function declarations
to <sys/socket.h>, and perfunctory tests so we know that the symbols
actually exist.

Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
Change-Id: Ib0d854239d3716be90ad70973c579aff4895a4f7
2014-02-27 14:29:01 -08:00
Calin Juravle
7c5a879095 am 3d1f6798: am ad2cfe2f: Merge "Fix x86_64 build"
* commit '3d1f6798ad3c299e66dcbc386943a6d566159a82':
  Fix x86_64 build
2014-02-27 21:42:51 +00:00
Calin Juravle
3d1f6798ad am ad2cfe2f: Merge "Fix x86_64 build"
* commit 'ad2cfe2f231506aed955f7e168a25fe1a1040f9a':
  Fix x86_64 build
2014-02-27 21:36:09 +00:00
Calin Juravle
ad2cfe2f23 Merge "Fix x86_64 build" 2014-02-27 21:31:13 +00:00
Pavel Chupin
7ba84d3108 Fix x86_64 build
Fix types after recent update:
https://android-review.googlesource.com/#/c/83435/

Change-Id: I17ed28af84b7adeb8572e18834e66f3264ec061d
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-02-28 00:52:09 +04:00
Elliott Hughes
a22674050c am 9d40389a: am 000ffd8a: Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
* commit '9d40389ac288a603632de35beed7460ea3300e0c':
  Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.
2014-02-27 01:04:25 +00:00
Elliott Hughes
9d40389ac2 am 000ffd8a: Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
* commit '000ffd8ab0b4112173ce319869f4111f08fbe975':
  Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.
2014-02-27 00:58:14 +00:00
Elliott Hughes
000ffd8ab0 Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants." 2014-02-27 00:52:36 +00:00
Mark Salyzyn
ffc797c3b8 am 663916f7: am 3ba62f73: Merge "libc: Make calls to new user-space logger"
* commit '663916f77747297e36dbc2b0f25192f3fa05ab9f':
  libc: Make calls to new user-space logger
2014-02-27 00:41:33 +00:00
Mark Salyzyn
663916f777 am 3ba62f73: Merge "libc: Make calls to new user-space logger"
* commit '3ba62f733bdc39262a5a9927a6ebaa29a4f4aad4':
  libc: Make calls to new user-space logger
2014-02-27 00:34:50 +00:00
Mark Salyzyn
3ba62f733b Merge "libc: Make calls to new user-space logger" 2014-02-27 00:28:48 +00:00
Elliott Hughes
3434727b3e Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.
Needed to build strace at their tip of tree.

Change-Id: I64db00a332088e08e25bc30357293a9308b8a226
2014-02-26 15:51:01 -08:00
Mark Salyzyn
0336e35368 libc: Make calls to new user-space logger
* libc (fatal) logging now makes socket connection to the
  user-space logging service.
* Add a TARGET_USES_LOGD make flag for BoardConfig.mk to manage
  whether logd is enabled for use or not.

Change-Id: I96ab598c76d6eec86f9d0bc81094c1fb3fb0d9b4
2014-02-26 15:33:13 -08:00
Calin Juravle
beef4b0759 am 42f6ad96: am d4ee6b62: Merge "Fix mips build"
* commit '42f6ad96036e8a73ffdb8e42ecd3fe8c44ba9c95':
  Fix mips build
2014-02-26 22:39:02 +00:00
Calin Juravle
42f6ad9603 am d4ee6b62: Merge "Fix mips build"
* commit 'd4ee6b62d77ccea61c4b43d82c63455920e221bc':
  Fix mips build
2014-02-26 22:31:00 +00:00
Calin Juravle
d4ee6b62d7 Merge "Fix mips build" 2014-02-26 21:34:57 +00:00
Calin Juravle
26349d8c2e Fix mips build
Change-Id: Ica843d387e115d0b27afd961af73237ec9109ed9
2014-02-26 21:33:36 +00:00
Calin Juravle
04e9001c2b am adc3d96f: am 35036961: Merge "Moved to a more openbsd-like fenv.h"
* commit 'adc3d96fce0ae1b3d2166893b9951629dc367db4':
  Moved to a more openbsd-like fenv.h
2014-02-26 20:44:57 +00:00
Calin Juravle
adc3d96fce am 35036961: Merge "Moved to a more openbsd-like fenv.h"
* commit '35036961f85945483b6b833b976d12e6a58c2313':
  Moved to a more openbsd-like fenv.h
2014-02-26 20:39:58 +00:00
Calin Juravle
35036961f8 Merge "Moved to a more openbsd-like fenv.h" 2014-02-26 20:34:41 +00:00
Calin Juravle
2d367905a2 Moved to a more openbsd-like fenv.h
Factored out common declarations to include/fenv.h and pushed
the implementation to .c files.

Bug: 11050744
Change-Id: I446b13cc4bc599d328343a8d392b07de280f6304
2014-02-26 12:30:44 +00:00
Elliott Hughes
3fc5dce69e am ddcba6e8: am 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64 fix."
* commit 'ddcba6e8eefb4331b103f60b2d233a2cb114874f':
  Fix log_backtrace assertion failure caused by LP64 fix.
2014-02-25 23:45:51 +00:00
Elliott Hughes
ddcba6e8ee am 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64 fix."
* commit '27c7dbeee6c5e0cee488ce5085cc0b8c5e0301bd':
  Fix log_backtrace assertion failure caused by LP64 fix.
2014-02-25 23:42:00 +00:00
Elliott Hughes
27c7dbeee6 Merge "Fix log_backtrace assertion failure caused by LP64 fix." 2014-02-25 23:36:43 +00:00
Elliott Hughes
2388fd78c6 am 73efa96c: am 901553aa: Merge "Switch to current OpenBSD system.c."
* commit '73efa96c06b60621dbb7317e3ade47e4a179c909':
  Switch to current OpenBSD system.c.
2014-02-25 23:32:29 +00:00
Elliott Hughes
ba76572789 Fix log_backtrace assertion failure caused by LP64 fix.
When libc.debug.malloc is enabled, stack backtraces fail with:

bionic/libc/bionic/libc_logging.cpp:378: assertion "conversion
    specifier unsupported" failed

The cause was a change to the format specifier from "%08x" to
"%0*x" to pass the field width as an additional parameter.
Unfortunately this modifier isn't supported by out_vformat() in
libc_logging.cpp.

Changed to use "%016x" if __LP64__ is defined; "%08x" otherwise.

Bug: 13177507
Change-Id: Ibf07263acf14da086d3c3788872f4b5477bd5708
2014-02-25 15:32:01 -08:00
Elliott Hughes
4e95b270f3 am 6c793540: am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."
* commit '6c7935408ed92bbc322468f13e19c08c626cd018':
  Fix LP64 builds after OpenBSD string changes.
2014-02-25 23:28:49 +00:00
Elliott Hughes
73efa96c06 am 901553aa: Merge "Switch to current OpenBSD system.c."
* commit '901553aaf4960c4ab21c9a090919aee8be5e62ab':
  Switch to current OpenBSD system.c.
2014-02-25 23:25:38 +00:00
Elliott Hughes
6c7935408e am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."
* commit 'c380385f0b8826ab7c02429dd48b07670516f964':
  Fix LP64 builds after OpenBSD string changes.
2014-02-25 23:21:55 +00:00
Elliott Hughes
901553aaf4 Merge "Switch to current OpenBSD system.c." 2014-02-25 23:21:00 +00:00
Elliott Hughes
1e4378ea06 Switch to current OpenBSD system.c.
Change-Id: Ie2df60f0d55dca69149ffe064f10183411407987
2014-02-25 15:19:26 -08:00
Elliott Hughes
c380385f0b Merge "Fix LP64 builds after OpenBSD string changes." 2014-02-25 23:15:39 +00:00
Elliott Hughes
b6208836cb Fix LP64 builds after OpenBSD string changes.
Change-Id: I07202f6484e716d153d0387fcfc023e119438251
2014-02-25 15:12:29 -08:00
Elliott Hughes
806f3bd7aa Upgrade to tzdata2013i.
From the release notes:

  Changes affecting near-future time stamps:

    Jordan switches back to standard time at 00:00 on December 20, 2013.
    The 2006-2011 transition schedule is planned to resume in 2014.
    (Thanks to Steffen Thorsen.)

  Changes affecting past time stamps:

    In 2004, Cuba began DST on March 28, not April 4.
    (Thanks to Steffen Thorsen.)

Bug: 13193205
Change-Id: I8f26cc50f6b571804a18ff2113b4a47a22bc56dd
2014-02-25 22:47:29 +00:00
Elliott Hughes
d19de168c8 am 6358fc2d: am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."
* commit '6358fc2d0b11417ccabd97b36b8e24f1b23fd662':
  More OpenBSD cleanup (primarily string).
2014-02-25 21:54:13 +00:00
Elliott Hughes
6358fc2d0b am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."
* commit '5c7816f425cb70ca6920e816aba33ce3d691ef10':
  More OpenBSD cleanup (primarily string).
2014-02-25 21:47:41 +00:00
Elliott Hughes
5c7816f425 Merge "More OpenBSD cleanup (primarily string)." 2014-02-25 21:41:48 +00:00
Calin Juravle
51c25e1dc5 am 5a600f59: am a92b57c7: Merge "Added ftw64, nftw64"
* commit '5a600f59d7212a670c9fda0edd81b14f044136a0':
  Added ftw64, nftw64
2014-02-25 10:53:51 +00:00