Commit Graph

7697 Commits

Author SHA1 Message Date
Elliott Hughes
40488560c1 Include what you use.
Don't rely on transitive includes. (Even though that works fine in AOSP.)

Change-Id: Ifc06575e4aea383cfff24d6c5c14fc0a7aabdf2b
2014-03-12 13:50:38 -07:00
Elliott Hughes
2282e16d76 Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h" 2014-03-12 20:48:39 +00:00
Pavel Chupin
2725ca95b2 Use [u]int32_t instead of __[u]int32_t in sys/types.h
Avoid this error in -ffreestanding mode:
sys/types.h:45:1: error: unknown type name '__uint32_t'

Change-Id: I826b36873862d1d70b47401f31f4369a77666b8e
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-03-13 00:23:43 +04:00
Mark Salyzyn
c1005aaf8e logd: default user space logger
Change-Id: Id205b01537940051c72d79def28a3c1a8b169a21
2014-03-12 13:17:38 -07:00
Elliott Hughes
ef43a6fb0e Merge "Clean up our termios implementation." 2014-03-12 02:25:22 +00:00
Elliott Hughes
8d4b5849f2 Clean up our termios implementation.
It's safe to fix our constant definitions because we know we never
had symbols before, so can't be passing the bad old constants to the new
functions, or the correct new constants to the old inlines.

Change-Id: I858fc680df39bdd3ba471e867833bdfa71f6224e
2014-03-11 19:13:25 -07:00
Elliott Hughes
76b4f1a33c Merge "More stdio cleanup." 2014-03-11 22:31:00 +00:00
Elliott Hughes
ad41e9a4eb More stdio cleanup.
Change-Id: Idc909cd3dc7b072f1edd2ae4980932d6550e8568
2014-03-11 15:05:50 -07:00
Elliott Hughes
55f9710ac4 Merge "Reimplement clock(3) and switch to OpenBSD time(3)." 2014-03-11 21:36:02 +00:00
Elliott Hughes
cccfe1e17c Reimplement clock(3) and switch to OpenBSD time(3).
The new implementation is a better approximation to the processor time used
by the process because it's actually based on resource usage rather than just
elapsed wall clock time.

Change-Id: I9e13b69c1d3048cadf0eb9dec1e3ebc78225596a
2014-03-11 13:37:11 -07:00
Elliott Hughes
753e139906 Merge "Add a basic unit test for system(3)." 2014-03-11 20:02:49 +00:00
Elliott Hughes
3cdf5739cd Add a basic unit test for system(3).
Change-Id: Ibc5ac21f3663685d89ce261b58d6ea386fc1ff88
2014-03-11 12:54:44 -07:00
Elliott Hughes
dd8c7863c6 Merge "Add various benchmarks." 2014-03-11 19:47:38 +00:00
Elliott Hughes
14e57d3a2c am 7aef2746: Merge "Switch to OpenBSD wcscoll."
* commit '7aef27468ee7683a0ce436f5453e6eb6ca12103b':
  Switch to OpenBSD wcscoll.
2014-03-11 18:52:56 +00:00
Elliott Hughes
773ae55d5a am 321ecc4e: Merge "Remove non-standard memswap."
* commit '321ecc4eaf9d061905f009494b420a604e1d973e':
  Remove non-standard memswap.
2014-03-11 18:52:55 +00:00
Elliott Hughes
63bdd44207 am 638e7892: Merge "Upgrade to tzdata2014a."
* commit '638e7892c63c9d6968c0cf2e98ace89b9c5b2f26':
  Upgrade to tzdata2014a.
2014-03-11 18:52:50 +00:00
Calin Juravle
b44b279692 am 55b6ec3f: Merge "Update the NOTICE files"
* commit '55b6ec3f93e88633b22a6f295e14a5ab4902e63a':
  Update the NOTICE files
2014-03-11 18:52:10 +00:00
Calin Juravle
afdc5ba487 am 0bca08d6: Merge "Update res_debug.c to take into account changes to the nameser.h"
* commit '0bca08d69f4d68782f5a3e6cf16dc74997bcf277':
  Update res_debug.c to take into account changes to the nameser.h
2014-03-11 18:52:09 +00:00
Brian Carlstrom
c6a7c0e5c7 am cd50898a: Merge "Add includes for waitpid"
* commit 'cd50898ad11ad3157f22fac15802757a9b559822':
  Add includes for waitpid
2014-03-11 18:51:57 +00:00
Elliott Hughes
a07bfb13c2 am fd9e20d1: Merge "Fix pthread_detach for already-exited threads."
* commit 'fd9e20d10f946334955ca199b0178580d284e89f':
  Fix pthread_detach for already-exited threads.
2014-03-11 18:51:54 +00:00
Elliott Hughes
f4ed518ec4 am 333e2ae8: Merge "Add si_timerid to <signal.h>."
* commit '333e2ae87dac85d6420786e9e12ffd7ea84dae38':
  Add si_timerid to <signal.h>.
2014-03-11 18:51:50 +00:00
Elliott Hughes
c735686350 am 4d46c940: Merge "Rewrite the POSIX timer functions."
* commit '4d46c940315af2d93efb44e751b69ea6880a5d65':
  Rewrite the POSIX timer functions.
2014-03-11 18:51:49 +00:00
Calin Juravle
d7a269ccee am b145b5ef: Merge "Fix broken pointer overflow check ns_name_unpack()"
* commit 'b145b5ef7c91ec76e4dc8450f70b7af80873b46e':
  Fix broken pointer overflow check ns_name_unpack()
2014-03-11 18:42:23 +00:00
Calin Juravle
945a6776d2 am d9ba757e: Merge "Sync up nameser with upstream(2014.03.05)"
* commit 'd9ba757ef4546ef931cfa2fff4e206b36c955ead':
  Sync up nameser with upstream(2014.03.05)
2014-03-11 18:42:22 +00:00
Elliott Hughes
ba9361da04 am d40eb159: Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."
* commit 'd40eb1594dff0103247292967f8a801ef8c0ff12':
  Fix some pthread symbols build as C++ symbol under x64 lunch.
2014-03-11 18:42:00 +00:00
Elliott Hughes
61215e817c am 087dbc6b: Merge "Bring the generate-NOTICE script up to date."
* commit '087dbc6bb789dc549d8f71ea820e6fc7e69d99d2':
  Bring the generate-NOTICE script up to date.
2014-03-11 18:41:57 +00:00
Elliott Hughes
cf445b4658 am dec5bacf: Merge "Update the NOTICE files."
* commit 'dec5bacf1481a0e6b0ae0078933dbfb8953b7d19':
  Update the NOTICE files.
2014-03-11 18:41:56 +00:00
Elliott Hughes
60674e0d56 am e7ea9363: Merge "Add ARMv8 optimized string handling functions based on cortex-strings"
* commit 'e7ea9363cb30d5c36c9333162c11b1e7b4f302b6':
  Add ARMv8 optimized string handling functions based on cortex-strings
2014-03-11 18:41:56 +00:00
Mark Salyzyn
60f4f6a0c9 am 68a651e7: Merge "libc: libc_logging 64bit compile issue"
* commit '68a651e7162b922a2916da524ef9706276640752':
  libc: libc_logging 64bit compile issue
2014-03-11 18:30:06 +00:00
Narayan Kamath
6214115f29 am 48d145c1: Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."
* commit '48d145c1ced299525ca766afd2aa34725bef5301':
  Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC.
2014-03-11 18:29:44 +00:00
Elliott Hughes
33c9438692 am bef50164: Merge "Remove dead NULL checks from pthread code."
* commit 'bef5016491eed41521f514d5c5528e2274689948':
  Remove dead NULL checks from pthread code.
2014-03-11 18:29:15 +00:00
Elliott Hughes
3a58c80e94 am a0bf9bde: Merge "Implement POSIX pthread_mutex_timedlock."
* commit 'a0bf9bdea24164db96ec1d5dfa2cd327942671b6':
  Implement POSIX pthread_mutex_timedlock.
2014-03-11 18:29:14 +00:00
Calin Juravle
6cd0c5c0b9 am 8e541b12: Merge "Moved nameser.h and namser_compat.h to public include dir"
* commit '8e541b12237f597c186820b9e18b059b620bef54':
  Moved nameser.h and namser_compat.h to public include dir
2014-03-11 18:29:12 +00:00
Calin Juravle
b87bb7bf00 am 4a46a689: Merge "Moved private dns header to their own dir."
* commit '4a46a68942d180e28c3e87f08359351245b220b7':
  Moved private dns header to their own dir.
2014-03-11 18:29:11 +00:00
Calin Juravle
2a56e3d966 am 9f2d1bcd: Merge "Renamed the misleading libc/netbsd directory to libc/dns."
* commit '9f2d1bcd176cb4a6f2bc0cae3f3c786444383476':
  Renamed the misleading libc/netbsd directory to libc/dns.
2014-03-11 18:29:10 +00:00
Narayan Kamath
9ea22f84c0 am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."
* commit 'caaae7f2e9a89df1514ba06d13e9eb5a0f04e94c':
  Implement pthread_condattr_{get,set}clock.
2014-03-11 18:29:03 +00:00
Elliott Hughes
b7265cbf2b am 2c7c79e6: Merge "Switch to upstream alarm(3)."
* commit '2c7c79e6e5e730553281b6d42e734ee2c532a660':
  Switch to upstream alarm(3).
2014-03-11 18:28:56 +00:00
Mark Salyzyn
ec8cdeca84 am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"
* commit 'f33df6a662934cd72a79195773d2745ae8f937d4':
  libc: Make calls to new user-space logger (revisit)
2014-03-11 18:28:34 +00:00
Elliott Hughes
f0d5704efe 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.
2014-03-11 18:28:33 +00:00
Elliott Hughes
a34529f0ba am 15e71cd7: Merge "Remove deprecated and unused constants from <sys/klog.h>."
* commit '15e71cd760c35a4eab09b850904581ebbdc9bee3':
  Remove deprecated and unused constants from <sys/klog.h>.
2014-03-11 18:28:28 +00:00
Elliott Hughes
b28e490b73 Add various benchmarks.
These are based on ones from system/extras/tests/bionic/.

Change-Id: I7b1ae15a2ca5d1031a6a511d97b88125c1770047
2014-03-11 11:20:52 -07:00
Elliott Hughes
823051bf9a am ddad384d: Merge "Fix build."
* commit 'ddad384dbf802bf258e19a8d18f5d9e9fba8f97b':
  Fix build.
2014-03-11 18:17:35 +00:00
Elliott Hughes
4f1e25f818 am 2ec592c3: Merge "Add recvmmsg and sendmmsg syscalls."
* commit '2ec592c338f5c5021f127e92212d156cd909c617':
  Add recvmmsg and sendmmsg syscalls.
2014-03-11 18:17:29 +00:00
Elliott Hughes
34290b15c9 am ddc8cc7a: Merge "Add getprogname/setprogname for BSD compatibility."
* commit 'ddc8cc7a68415acb0694f7015ea0dae70ea04550':
  Add getprogname/setprogname for BSD compatibility.
2014-03-11 18:17:28 +00:00
Calin Juravle
a364c434a5 am d51db86a: Merge "Fix locatime.c indentation after sync"
* commit 'd51db86aafb988aea04355f2b6a6c925d67e5976':
  Fix locatime.c indentation after sync
2014-03-11 18:17:09 +00:00
Calin Juravle
9a539ec998 am 4ab29a3e: Merge "Update tzcode to 2013i"
* commit '4ab29a3e4a797cff05a3a1a6fea3db5a800ac5ba':
  Update tzcode to 2013i
2014-03-11 18:17:09 +00:00
Elliott Hughes
71fa4d9f3f 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-03-11 18:17:06 +00:00
Elliott Hughes
2296c221a8 am e3345405: Merge "Fix a leak on error in tzload."
* commit 'e33454051677cd8953af558b67e525dda2231501':
  Fix a leak on error in tzload.
2014-03-11 18:16:47 +00:00
Calin Juravle
dfda57f804 am ad2cfe2f: Merge "Fix x86_64 build"
* commit 'ad2cfe2f231506aed955f7e168a25fe1a1040f9a':
  Fix x86_64 build
2014-03-11 18:16:33 +00:00
Elliott Hughes
8431db545e 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-03-11 18:15:58 +00:00