OSDN Git Service

android-x86/bionic.git
10 years agoam 3f985d31: am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."
Narayan Kamath [Tue, 4 Mar 2014 16:05:46 +0000 (16:05 +0000)]
am 3f985d31: am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."

* commit '3f985d31b6fc3fd61f76b71aa05c3c69d853452a':
  Implement pthread_condattr_{get,set}clock.

10 years agoam caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."
Narayan Kamath [Tue, 4 Mar 2014 13:41:52 +0000 (13:41 +0000)]
am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."

* commit 'caaae7f2e9a89df1514ba06d13e9eb5a0f04e94c':
  Implement pthread_condattr_{get,set}clock.

10 years agoMerge "Implement pthread_condattr_{get,set}clock."
Narayan Kamath [Tue, 4 Mar 2014 13:37:07 +0000 (13:37 +0000)]
Merge "Implement pthread_condattr_{get,set}clock."

10 years agoImplement pthread_condattr_{get,set}clock.
Narayan Kamath [Mon, 3 Mar 2014 15:38:51 +0000 (15:38 +0000)]
Implement pthread_condattr_{get,set}clock.

We only support CLOCK_REALTIME and CLOCK_MONOTONIC for now,
so we us a single bit from pthread_cond_t->value to denote
the clock type. Note that this reduces the width of the counter
to 30 bits, but this should be large enough for all practical
purposes.

bug: 13232338

Change-Id: I857e7da64b3ecbb23eeac7c9f3fbd460f60231bd

10 years agoam fea778b3: am 2c7c79e6: Merge "Switch to upstream alarm(3)."
Elliott Hughes [Tue, 4 Mar 2014 01:11:01 +0000 (01:11 +0000)]
am fea778b3: am 2c7c79e6: Merge "Switch to upstream alarm(3)."

* commit 'fea778b308be2dd0d75bd757129c3ef62ace3a61':
  Switch to upstream alarm(3).

10 years agoam 2c7c79e6: Merge "Switch to upstream alarm(3)."
Elliott Hughes [Tue, 4 Mar 2014 01:04:22 +0000 (01:04 +0000)]
am 2c7c79e6: Merge "Switch to upstream alarm(3)."

* commit '2c7c79e6e5e730553281b6d42e734ee2c532a660':
  Switch to upstream alarm(3).

10 years agoMerge "Switch to upstream alarm(3)."
Elliott Hughes [Tue, 4 Mar 2014 00:58:53 +0000 (00:58 +0000)]
Merge "Switch to upstream alarm(3)."

10 years agoSwitch to upstream alarm(3).
Elliott Hughes [Mon, 3 Mar 2014 22:38:20 +0000 (14:38 -0800)]
Switch to upstream alarm(3).

The only way the setitimer call can fail is if the unsigned number of seconds is
too large to fit in the kernel's signed number of seconds. If you schedule a
68-year alarm, glibc will fail by returning 0 and BSD will fail by returning -1.

Change-Id: Ic3721b01428f5402d99f31fd7f2ba2cc58805607

10 years agoam 337815ff: am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"
Mark Salyzyn [Mon, 3 Mar 2014 21:18:08 +0000 (21:18 +0000)]
am 337815ff: am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"

* commit '337815ffa2d4c899bf3c2b9798cb90665b497cea':
  libc: Make calls to new user-space logger (revisit)

10 years agoam f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"
Mark Salyzyn [Mon, 3 Mar 2014 21:12:03 +0000 (21:12 +0000)]
am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"

* commit 'f33df6a662934cd72a79195773d2745ae8f937d4':
  libc: Make calls to new user-space logger (revisit)

10 years agoMerge "libc: Make calls to new user-space logger (revisit)"
Mark Salyzyn [Mon, 3 Mar 2014 21:05:18 +0000 (21:05 +0000)]
Merge "libc: Make calls to new user-space logger (revisit)"

10 years agoam 46215a8b: am dfeb42ed: Merge "If the kernel doesn\'t have MADV_MERGEABLE, stop...
Elliott Hughes [Mon, 3 Mar 2014 20:55:35 +0000 (20:55 +0000)]
am 46215a8b: am dfeb42ed: Merge "If the kernel doesn\'t have MADV_MERGEABLE, stop asking for it."

* commit '46215a8b53e149de3fc28600c2b2eebe66d36716':
  If the kernel doesn't have MADV_MERGEABLE, stop asking for it.

10 years agoam f6ce4490: am 15e71cd7: Merge "Remove deprecated and unused constants from <sys...
Elliott Hughes [Mon, 3 Mar 2014 20:55:35 +0000 (20:55 +0000)]
am f6ce4490: am 15e71cd7: Merge "Remove deprecated and unused constants from <sys/klog.h>."

* commit 'f6ce44900e5b94c18a026ac4ce4d5fd2c51663d4':
  Remove deprecated and unused constants from <sys/klog.h>.

10 years agoam dfeb42ed: Merge "If the kernel doesn\'t have MADV_MERGEABLE, stop asking for it."
Elliott Hughes [Mon, 3 Mar 2014 20:31:39 +0000 (20:31 +0000)]
am dfeb42ed: Merge "If the kernel doesn\'t have MADV_MERGEABLE, stop asking for it."

* commit 'dfeb42ede69a0dbea5735aed5fddaee3f810801d':
  If the kernel doesn't have MADV_MERGEABLE, stop asking for it.

10 years agolibc: Make calls to new user-space logger (revisit)
Mark Salyzyn [Mon, 3 Mar 2014 19:00:08 +0000 (11:00 -0800)]
libc: Make calls to new user-space logger (revisit)

* TARGET_USES_LOGD is true or false, yes is not valid
* was supposed to be in the libc_bionic definition

Change-Id: I7f15d0fe61205641f7310ba9762df885e6c959d0

10 years agoMerge "If the kernel doesn't have MADV_MERGEABLE, stop asking for it."
Elliott Hughes [Mon, 3 Mar 2014 20:26:12 +0000 (20:26 +0000)]
Merge "If the kernel doesn't have MADV_MERGEABLE, stop asking for it."

10 years agoam 15e71cd7: Merge "Remove deprecated and unused constants from <sys/klog.h>."
Elliott Hughes [Mon, 3 Mar 2014 20:21:25 +0000 (20:21 +0000)]
am 15e71cd7: Merge "Remove deprecated and unused constants from <sys/klog.h>."

* commit '15e71cd760c35a4eab09b850904581ebbdc9bee3':
  Remove deprecated and unused constants from <sys/klog.h>.

10 years agoIf the kernel doesn't have MADV_MERGEABLE, stop asking for it.
Elliott Hughes [Mon, 3 Mar 2014 19:54:21 +0000 (11:54 -0800)]
If the kernel doesn't have MADV_MERGEABLE, stop asking for it.

Note that a dynamically-linked binary will still probably see two attempts ---
one by the dynamic linker (which will set its copy of the flag so it won't try
again) and then one by the executable itself (which gets a new uninitialized
copy of the flag).

Change-Id: Id6b7e47780f0f24d2ca0384a75373f4824fa8f12

10 years agoMerge "Remove deprecated and unused constants from <sys/klog.h>."
Elliott Hughes [Mon, 3 Mar 2014 19:01:50 +0000 (19:01 +0000)]
Merge "Remove deprecated and unused constants from <sys/klog.h>."

10 years agoRemove deprecated and unused constants from <sys/klog.h>.
Elliott Hughes [Mon, 3 Mar 2014 18:57:28 +0000 (10:57 -0800)]
Remove deprecated and unused constants from <sys/klog.h>.

Change-Id: I23d54b5eaf918859480f927534a3f9e3af602311

10 years agoam 3c42b739: am ddad384d: Merge "Fix build."
Elliott Hughes [Sat, 1 Mar 2014 02:12:59 +0000 (02:12 +0000)]
am 3c42b739: am ddad384d: Merge "Fix build."

* commit '3c42b73985817da87c32c2d97a58e5e4f21d48a6':
  Fix build.

10 years agoam ddad384d: Merge "Fix build."
Elliott Hughes [Sat, 1 Mar 2014 02:05:38 +0000 (02:05 +0000)]
am ddad384d: Merge "Fix build."

* commit 'ddad384dbf802bf258e19a8d18f5d9e9fba8f97b':
  Fix build.

10 years agoMerge "Fix build."
Elliott Hughes [Sat, 1 Mar 2014 01:59:55 +0000 (01:59 +0000)]
Merge "Fix build."

10 years agoFix build.
Elliott Hughes [Sat, 1 Mar 2014 01:59:29 +0000 (17:59 -0800)]
Fix build.

Change-Id: I71cde79263d5f5a8382865b8151f65c5c05ea17b

10 years agoam 5b9d3ddf: am 2ec592c3: Merge "Add recvmmsg and sendmmsg syscalls."
Elliott Hughes [Sat, 1 Mar 2014 01:24:39 +0000 (01:24 +0000)]
am 5b9d3ddf: am 2ec592c3: Merge "Add recvmmsg and sendmmsg syscalls."

* commit '5b9d3ddf372ca47e3065845487a770794021c760':
  Add recvmmsg and sendmmsg syscalls.

10 years agoam 796b7c7c: am ddc8cc7a: Merge "Add getprogname/setprogname for BSD compatibility."
Elliott Hughes [Sat, 1 Mar 2014 01:24:38 +0000 (01:24 +0000)]
am 796b7c7c: am ddc8cc7a: Merge "Add getprogname/setprogname for BSD compatibility."

* commit '796b7c7cf9404b59b2120177d2f2b40ecc58c3c8':
  Add getprogname/setprogname for BSD compatibility.

10 years agoam 2ec592c3: Merge "Add recvmmsg and sendmmsg syscalls."
Elliott Hughes [Sat, 1 Mar 2014 01:17:13 +0000 (01:17 +0000)]
am 2ec592c3: Merge "Add recvmmsg and sendmmsg syscalls."

* commit '2ec592c338f5c5021f127e92212d156cd909c617':
  Add recvmmsg and sendmmsg syscalls.

10 years agoam ddc8cc7a: Merge "Add getprogname/setprogname for BSD compatibility."
Elliott Hughes [Sat, 1 Mar 2014 01:17:12 +0000 (01:17 +0000)]
am ddc8cc7a: Merge "Add getprogname/setprogname for BSD compatibility."

* commit 'ddc8cc7a68415acb0694f7015ea0dae70ea04550':
  Add getprogname/setprogname for BSD compatibility.

10 years agoMerge "Add recvmmsg and sendmmsg syscalls."
Elliott Hughes [Sat, 1 Mar 2014 01:14:22 +0000 (01:14 +0000)]
Merge "Add recvmmsg and sendmmsg syscalls."

10 years agoMerge "Add getprogname/setprogname for BSD compatibility."
Elliott Hughes [Sat, 1 Mar 2014 01:12:12 +0000 (01:12 +0000)]
Merge "Add getprogname/setprogname for BSD compatibility."

10 years agoAdd getprogname/setprogname for BSD compatibility.
Elliott Hughes [Sat, 1 Mar 2014 00:23:27 +0000 (16:23 -0800)]
Add getprogname/setprogname for BSD compatibility.

This is one less change we have to make when porting BSD code.

Bug: https://code.google.com/p/android/issues/detail?id=34898
Change-Id: If9b1a8d16996c7a19abcce8d3a456afc3e105a41

10 years agoam 11e4513d: am d51db86a: Merge "Fix locatime.c indentation after sync"
Calin Juravle [Fri, 28 Feb 2014 18:13:28 +0000 (18:13 +0000)]
am 11e4513d: am d51db86a: Merge "Fix locatime.c indentation after sync"

* commit '11e4513d328d9ae16ef5aa4b25d886c8bb6049a1':
  Fix locatime.c indentation after sync

10 years agoam d51db86a: Merge "Fix locatime.c indentation after sync"
Calin Juravle [Fri, 28 Feb 2014 18:07:48 +0000 (18:07 +0000)]
am d51db86a: Merge "Fix locatime.c indentation after sync"

* commit 'd51db86aafb988aea04355f2b6a6c925d67e5976':
  Fix locatime.c indentation after sync

10 years agoMerge "Fix locatime.c indentation after sync"
Calin Juravle [Fri, 28 Feb 2014 18:02:22 +0000 (18:02 +0000)]
Merge "Fix locatime.c indentation after sync"

10 years agoam 3926e9f4: am 4ab29a3e: Merge "Update tzcode to 2013i"
Calin Juravle [Fri, 28 Feb 2014 17:49:53 +0000 (17:49 +0000)]
am 3926e9f4: am 4ab29a3e: Merge "Update tzcode to 2013i"

* commit '3926e9f4039929d745692310a8a458e81ae72a52':
  Update tzcode to 2013i

10 years agoam 4ab29a3e: Merge "Update tzcode to 2013i"
Calin Juravle [Fri, 28 Feb 2014 17:44:15 +0000 (17:44 +0000)]
am 4ab29a3e: Merge "Update tzcode to 2013i"

* commit '4ab29a3e4a797cff05a3a1a6fea3db5a800ac5ba':
  Update tzcode to 2013i

10 years agoMerge "Update tzcode to 2013i"
Calin Juravle [Fri, 28 Feb 2014 17:40:08 +0000 (17:40 +0000)]
Merge "Update tzcode to 2013i"

10 years agoFix locatime.c indentation after sync
Calin Juravle [Fri, 28 Feb 2014 12:18:53 +0000 (12:18 +0000)]
Fix locatime.c indentation after sync

Bug: 12246757
Change-Id: I8186e75f4899161af48cbf66e8f907dac0a326a2

10 years agoam 8fa8b75b: am e9db4a97: Merge "Vastly reduce the number of read(2)s done in tzload."
Elliott Hughes [Fri, 28 Feb 2014 16:35:04 +0000 (16:35 +0000)]
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.

10 years agoam e9db4a97: Merge "Vastly reduce the number of read(2)s done in tzload."
Elliott Hughes [Fri, 28 Feb 2014 16:28:52 +0000 (16:28 +0000)]
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.

10 years agoMerge "Vastly reduce the number of read(2)s done in tzload."
Elliott Hughes [Fri, 28 Feb 2014 16:23:40 +0000 (16:23 +0000)]
Merge "Vastly reduce the number of read(2)s done in tzload."

10 years agoUpdate tzcode to 2013i
Calin Juravle [Fri, 28 Feb 2014 11:46:03 +0000 (11:46 +0000)]
Update tzcode to 2013i

Bug: 12246757
Change-Id: I3d5d2318155b1f54ef80afd58b1e5ca9a6d7018e

10 years agoam 331dd270: am e3345405: Merge "Fix a leak on error in tzload."
Elliott Hughes [Fri, 28 Feb 2014 02:28:44 +0000 (02:28 +0000)]
am 331dd270: am e3345405: Merge "Fix a leak on error in tzload."

* commit '331dd2708232fb538de60e5aa807bbd4490910f7':
  Fix a leak on error in tzload.

10 years agoam e3345405: Merge "Fix a leak on error in tzload."
Elliott Hughes [Fri, 28 Feb 2014 02:22:36 +0000 (02:22 +0000)]
am e3345405: Merge "Fix a leak on error in tzload."

* commit 'e33454051677cd8953af558b67e525dda2231501':
  Fix a leak on error in tzload.

10 years agoVastly reduce the number of read(2)s done in tzload.
Elliott Hughes [Fri, 28 Feb 2014 02:18:25 +0000 (18:18 -0800)]
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

10 years agoMerge "Fix a leak on error in tzload."
Elliott Hughes [Fri, 28 Feb 2014 02:16:40 +0000 (02:16 +0000)]
Merge "Fix a leak on error in tzload."

10 years agoFix a leak on error in tzload.
Elliott Hughes [Fri, 28 Feb 2014 01:04:38 +0000 (17:04 -0800)]
Fix a leak on error in tzload.

Change-Id: Ib5d9aaa7a618e478ce8e5e82f967cf535bb1a5a3

10 years agoAdd recvmmsg and sendmmsg syscalls.
Guillaume Ranquet [Mon, 10 Feb 2014 12:11:29 +0000 (13:11 +0100)]
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

10 years agoam 3d1f6798: am ad2cfe2f: Merge "Fix x86_64 build"
Calin Juravle [Thu, 27 Feb 2014 21:42:51 +0000 (21:42 +0000)]
am 3d1f6798: am ad2cfe2f: Merge "Fix x86_64 build"

* commit '3d1f6798ad3c299e66dcbc386943a6d566159a82':
  Fix x86_64 build

10 years agoam ad2cfe2f: Merge "Fix x86_64 build"
Calin Juravle [Thu, 27 Feb 2014 21:36:09 +0000 (21:36 +0000)]
am ad2cfe2f: Merge "Fix x86_64 build"

* commit 'ad2cfe2f231506aed955f7e168a25fe1a1040f9a':
  Fix x86_64 build

10 years agoMerge "Fix x86_64 build"
Calin Juravle [Thu, 27 Feb 2014 21:31:13 +0000 (21:31 +0000)]
Merge "Fix x86_64 build"

10 years agoFix x86_64 build
Pavel Chupin [Thu, 27 Feb 2014 20:36:10 +0000 (00:36 +0400)]
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>
10 years agoam 9d40389a: am 000ffd8a: Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_*...
Elliott Hughes [Thu, 27 Feb 2014 01:04:25 +0000 (01:04 +0000)]
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.

10 years agoam 000ffd8a: Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
Elliott Hughes [Thu, 27 Feb 2014 00:58:14 +0000 (00:58 +0000)]
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.

10 years agoMerge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
Elliott Hughes [Thu, 27 Feb 2014 00:52:35 +0000 (00:52 +0000)]
Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."

10 years agoam 663916f7: am 3ba62f73: Merge "libc: Make calls to new user-space logger"
Mark Salyzyn [Thu, 27 Feb 2014 00:41:33 +0000 (00:41 +0000)]
am 663916f7: am 3ba62f73: Merge "libc: Make calls to new user-space logger"

* commit '663916f77747297e36dbc2b0f25192f3fa05ab9f':
  libc: Make calls to new user-space logger

10 years agoam 3ba62f73: Merge "libc: Make calls to new user-space logger"
Mark Salyzyn [Thu, 27 Feb 2014 00:34:50 +0000 (00:34 +0000)]
am 3ba62f73: Merge "libc: Make calls to new user-space logger"

* commit '3ba62f733bdc39262a5a9927a6ebaa29a4f4aad4':
  libc: Make calls to new user-space logger

10 years agoMerge "libc: Make calls to new user-space logger"
Mark Salyzyn [Thu, 27 Feb 2014 00:28:47 +0000 (00:28 +0000)]
Merge "libc: Make calls to new user-space logger"

10 years agoEnsure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.
Elliott Hughes [Wed, 26 Feb 2014 19:10:32 +0000 (11:10 -0800)]
Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.

Needed to build strace at their tip of tree.

Change-Id: I64db00a332088e08e25bc30357293a9308b8a226

10 years agolibc: Make calls to new user-space logger
Mark Salyzyn [Fri, 8 Nov 2013 14:58:01 +0000 (06:58 -0800)]
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

10 years agoam 42f6ad96: am d4ee6b62: Merge "Fix mips build"
Calin Juravle [Wed, 26 Feb 2014 22:39:02 +0000 (22:39 +0000)]
am 42f6ad96: am d4ee6b62: Merge "Fix mips build"

* commit '42f6ad96036e8a73ffdb8e42ecd3fe8c44ba9c95':
  Fix mips build

10 years agoam d4ee6b62: Merge "Fix mips build"
Calin Juravle [Wed, 26 Feb 2014 22:31:00 +0000 (22:31 +0000)]
am d4ee6b62: Merge "Fix mips build"

* commit 'd4ee6b62d77ccea61c4b43d82c63455920e221bc':
  Fix mips build

10 years agoMerge "Fix mips build"
Calin Juravle [Wed, 26 Feb 2014 21:34:56 +0000 (21:34 +0000)]
Merge "Fix mips build"

10 years agoFix mips build
Calin Juravle [Wed, 26 Feb 2014 21:33:36 +0000 (21:33 +0000)]
Fix mips build

Change-Id: Ica843d387e115d0b27afd961af73237ec9109ed9

10 years agoam adc3d96f: am 35036961: Merge "Moved to a more openbsd-like fenv.h"
Calin Juravle [Wed, 26 Feb 2014 20:44:57 +0000 (20:44 +0000)]
am adc3d96f: am 35036961: Merge "Moved to a more openbsd-like fenv.h"

* commit 'adc3d96fce0ae1b3d2166893b9951629dc367db4':
  Moved to a more openbsd-like fenv.h

10 years agoam 35036961: Merge "Moved to a more openbsd-like fenv.h"
Calin Juravle [Wed, 26 Feb 2014 20:39:58 +0000 (20:39 +0000)]
am 35036961: Merge "Moved to a more openbsd-like fenv.h"

* commit '35036961f85945483b6b833b976d12e6a58c2313':
  Moved to a more openbsd-like fenv.h

10 years agoMerge "Moved to a more openbsd-like fenv.h"
Calin Juravle [Wed, 26 Feb 2014 20:34:41 +0000 (20:34 +0000)]
Merge "Moved to a more openbsd-like fenv.h"

10 years agoMoved to a more openbsd-like fenv.h
Calin Juravle [Tue, 25 Feb 2014 14:49:41 +0000 (14:49 +0000)]
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

10 years agoam ddcba6e8: am 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64...
Elliott Hughes [Tue, 25 Feb 2014 23:45:51 +0000 (23:45 +0000)]
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.

10 years agoam 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64 fix."
Elliott Hughes [Tue, 25 Feb 2014 23:42:00 +0000 (23:42 +0000)]
am 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64 fix."

* commit '27c7dbeee6c5e0cee488ce5085cc0b8c5e0301bd':
  Fix log_backtrace assertion failure caused by LP64 fix.

10 years agoMerge "Fix log_backtrace assertion failure caused by LP64 fix."
Elliott Hughes [Tue, 25 Feb 2014 23:36:42 +0000 (23:36 +0000)]
Merge "Fix log_backtrace assertion failure caused by LP64 fix."

10 years agoam 73efa96c: am 901553aa: Merge "Switch to current OpenBSD system.c."
Elliott Hughes [Tue, 25 Feb 2014 23:32:29 +0000 (23:32 +0000)]
am 73efa96c: am 901553aa: Merge "Switch to current OpenBSD system.c."

* commit '73efa96c06b60621dbb7317e3ade47e4a179c909':
  Switch to current OpenBSD system.c.

10 years agoFix log_backtrace assertion failure caused by LP64 fix.
Elliott Hughes [Tue, 25 Feb 2014 23:32:01 +0000 (15:32 -0800)]
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

10 years agoam 6c793540: am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."
Elliott Hughes [Tue, 25 Feb 2014 23:28:49 +0000 (23:28 +0000)]
am 6c793540: am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."

* commit '6c7935408ed92bbc322468f13e19c08c626cd018':
  Fix LP64 builds after OpenBSD string changes.

10 years agoam 901553aa: Merge "Switch to current OpenBSD system.c."
Elliott Hughes [Tue, 25 Feb 2014 23:25:38 +0000 (23:25 +0000)]
am 901553aa: Merge "Switch to current OpenBSD system.c."

* commit '901553aaf4960c4ab21c9a090919aee8be5e62ab':
  Switch to current OpenBSD system.c.

10 years agoam c380385f: Merge "Fix LP64 builds after OpenBSD string changes."
Elliott Hughes [Tue, 25 Feb 2014 23:21:55 +0000 (23:21 +0000)]
am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."

* commit 'c380385f0b8826ab7c02429dd48b07670516f964':
  Fix LP64 builds after OpenBSD string changes.

10 years agoMerge "Switch to current OpenBSD system.c."
Elliott Hughes [Tue, 25 Feb 2014 23:21:00 +0000 (23:21 +0000)]
Merge "Switch to current OpenBSD system.c."

10 years agoSwitch to current OpenBSD system.c.
Elliott Hughes [Tue, 25 Feb 2014 23:19:26 +0000 (15:19 -0800)]
Switch to current OpenBSD system.c.

Change-Id: Ie2df60f0d55dca69149ffe064f10183411407987

10 years agoMerge "Fix LP64 builds after OpenBSD string changes."
Elliott Hughes [Tue, 25 Feb 2014 23:15:39 +0000 (23:15 +0000)]
Merge "Fix LP64 builds after OpenBSD string changes."

10 years agoFix LP64 builds after OpenBSD string changes.
Elliott Hughes [Tue, 25 Feb 2014 23:12:29 +0000 (15:12 -0800)]
Fix LP64 builds after OpenBSD string changes.

Change-Id: I07202f6484e716d153d0387fcfc023e119438251

10 years agoam 6358fc2d: am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."
Elliott Hughes [Tue, 25 Feb 2014 21:54:13 +0000 (21:54 +0000)]
am 6358fc2d: am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."

* commit '6358fc2d0b11417ccabd97b36b8e24f1b23fd662':
  More OpenBSD cleanup (primarily string).

10 years agoam 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."
Elliott Hughes [Tue, 25 Feb 2014 21:47:41 +0000 (21:47 +0000)]
am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."

* commit '5c7816f425cb70ca6920e816aba33ce3d691ef10':
  More OpenBSD cleanup (primarily string).

10 years agoMerge "More OpenBSD cleanup (primarily string)."
Elliott Hughes [Tue, 25 Feb 2014 21:41:47 +0000 (21:41 +0000)]
Merge "More OpenBSD cleanup (primarily string)."

10 years agoam 5a600f59: am a92b57c7: Merge "Added ftw64, nftw64"
Calin Juravle [Tue, 25 Feb 2014 10:53:51 +0000 (10:53 +0000)]
am 5a600f59: am a92b57c7: Merge "Added ftw64, nftw64"

* commit '5a600f59d7212a670c9fda0edd81b14f044136a0':
  Added ftw64, nftw64

10 years agoam dfb02bcd: am 7c1efffc: Merge "Added mkstemp64"
Calin Juravle [Tue, 25 Feb 2014 10:53:50 +0000 (10:53 +0000)]
am dfb02bcd: am 7c1efffc: Merge "Added mkstemp64"

* commit 'dfb02bcdf46ebdf3ac37e2fd26ebc2e81392f28a':
  Added mkstemp64

10 years agoam a92b57c7: Merge "Added ftw64, nftw64"
Calin Juravle [Tue, 25 Feb 2014 10:47:38 +0000 (10:47 +0000)]
am a92b57c7: Merge "Added ftw64, nftw64"

* commit 'a92b57c7f8230661d911f2fd6dd67a81e9a90cef':
  Added ftw64, nftw64

10 years agoam 7c1efffc: Merge "Added mkstemp64"
Calin Juravle [Tue, 25 Feb 2014 10:47:37 +0000 (10:47 +0000)]
am 7c1efffc: Merge "Added mkstemp64"

* commit '7c1efffc249283b47309846abba8795f3fb91555':
  Added mkstemp64

10 years agoMerge "Added ftw64, nftw64"
Calin Juravle [Tue, 25 Feb 2014 10:44:25 +0000 (10:44 +0000)]
Merge "Added ftw64, nftw64"

10 years agoMerge "Added mkstemp64"
Calin Juravle [Tue, 25 Feb 2014 10:43:30 +0000 (10:43 +0000)]
Merge "Added mkstemp64"

10 years agoMore OpenBSD cleanup (primarily string).
Elliott Hughes [Tue, 25 Feb 2014 02:00:43 +0000 (18:00 -0800)]
More OpenBSD cleanup (primarily string).

This patch removes the string/ and wchar/ directories.

Change-Id: Ia489904bc67047e4bc79acb1f3eec21aa3fe5f0d

10 years agoam 633502c1: am ba40a560: Merge "Remove <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:14:43 +0000 (00:14 +0000)]
am 633502c1: am ba40a560: Merge "Remove <asm/page.h>."

* commit '633502c1771dfecb6bbaaa7f9e38ee889bc173ac':
  Remove <asm/page.h>.

10 years agoam ba40a560: Merge "Remove <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:06:51 +0000 (00:06 +0000)]
am ba40a560: Merge "Remove <asm/page.h>."

* commit 'ba40a560176e6ea753d09a6a71343b81ea4c8c1e':
  Remove <asm/page.h>.

10 years agoMerge "Remove <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:01:44 +0000 (00:01 +0000)]
Merge "Remove <asm/page.h>."

10 years agoRemove <asm/page.h>.
Elliott Hughes [Mon, 24 Feb 2014 23:55:31 +0000 (15:55 -0800)]
Remove <asm/page.h>.

If we have PAGE_SIZE/PAGESIZE, POSIX says they should be in <limits.h>.

Change-Id: I3c2d574ea2aea81f524874a156361411a4ffa18e

10 years agoAdded ftw64, nftw64
Calin Juravle [Mon, 24 Feb 2014 16:13:50 +0000 (16:13 +0000)]
Added ftw64, nftw64

Bug: 13076637
Change-Id: I5b926526f935b00bba14c2807b61d85f95089c33

10 years agoAdded mkstemp64
Calin Juravle [Fri, 21 Feb 2014 15:11:03 +0000 (15:11 +0000)]
Added mkstemp64

Bug: 13076637
Change-Id: I41bf28ab3e6c7325470781e9323eeec023483df5

10 years agoam 9b823726: am b26e4944: Merge "Fix 64-bit build."
Narayan Kamath [Mon, 24 Feb 2014 14:32:18 +0000 (14:32 +0000)]
am 9b823726: am b26e4944: Merge "Fix 64-bit build."

* commit '9b82372626092139e8ee09d6bdb4da798af38ced':
  Fix 64-bit build.

10 years agoam e425856b: am c6d96bb8: Merge "Move system_properties over to C++."
Narayan Kamath [Mon, 24 Feb 2014 14:32:17 +0000 (14:32 +0000)]
am e425856b: am c6d96bb8: Merge "Move system_properties over to C++."

* commit 'e425856b1a943c32acf0bede50555d500eaf00ca':
  Move system_properties over to C++.

10 years agoam b26e4944: Merge "Fix 64-bit build."
Narayan Kamath [Mon, 24 Feb 2014 14:25:31 +0000 (14:25 +0000)]
am b26e4944: Merge "Fix 64-bit build."

* commit 'b26e4944e2a5bf4b7e33fa38fb17a3b76c7fe0f7':
  Fix 64-bit build.

10 years agoam c6d96bb8: Merge "Move system_properties over to C++."
Narayan Kamath [Mon, 24 Feb 2014 14:25:31 +0000 (14:25 +0000)]
am c6d96bb8: Merge "Move system_properties over to C++."

* commit 'c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad':
  Move system_properties over to C++.