Commit Graph

7572 Commits

Author SHA1 Message Date
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
3b4fbccfaf am 2e1f5f09: am ef43a6fb: Merge "Clean up our termios implementation."
* commit '2e1f5f09d91f145d99c2a26f99bf58c5f3c5e14a':
  Clean up our termios implementation.
2014-03-12 20:11:06 +00:00
Elliott Hughes
4ef945379f am 32378d58: am 76b4f1a3: Merge "More stdio cleanup."
* commit '32378d584feb3343c6a4d93b82b9e0ac8e514238':
  More stdio cleanup.
2014-03-12 19:56:47 +00:00
Elliott Hughes
7517235f9d am 10675a79: am 55f9710a: Merge "Reimplement clock(3) and switch to OpenBSD time(3)."
* commit '10675a794d02497f530f9086b6edf61b5cdb447c':
  Reimplement clock(3) and switch to OpenBSD time(3).
2014-03-12 19:56:47 +00:00
Elliott Hughes
54aaa778a8 am a5b7850d: am 753e1399: Merge "Add a basic unit test for system(3)."
* commit 'a5b7850d5f467e17c379f10494154ce1e2d488d6':
  Add a basic unit test for system(3).
2014-03-12 19:56:46 +00:00
Elliott Hughes
23715c927b am e2a80994: am dd8c7863: Merge "Add various benchmarks."
* commit 'e2a8099446d03322bbdd6e42890adf9444bdac67':
  Add various benchmarks.
2014-03-12 19:56:45 +00:00
Elliott Hughes
e6b77015a6 am 31f05d91: am 9061c829: am 04583ce9: Upgrade to tzdata2014a.
* commit '31f05d91f5fef63cac225af0047e31b4846d234b':
  Upgrade to tzdata2014a.
2014-03-12 15:19:01 +00:00
Elliott Hughes
2e1f5f09d9 am ef43a6fb: Merge "Clean up our termios implementation."
* commit 'ef43a6fb0e0c5fb1debd8db83a5b57749e8331fa':
  Clean up our termios implementation.
2014-03-12 02:43:08 +00: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
32378d584f am 76b4f1a3: Merge "More stdio cleanup."
* commit '76b4f1a33caef09891114bf37562968ab627059a':
  More stdio cleanup.
2014-03-11 23:23:02 +00:00
Elliott Hughes
10675a794d am 55f9710a: Merge "Reimplement clock(3) and switch to OpenBSD time(3)."
* commit '55f9710ac4843b4a5d2c8b03ade3d2bddd1fdf46':
  Reimplement clock(3) and switch to OpenBSD time(3).
2014-03-11 23:23:01 +00:00
Elliott Hughes
a5b7850d5f am 753e1399: Merge "Add a basic unit test for system(3)."
* commit '753e1399060c08072a8fb17eb297889a2ae987d0':
  Add a basic unit test for system(3).
2014-03-11 23:23:01 +00:00
Elliott Hughes
e2a8099446 am dd8c7863: Merge "Add various benchmarks."
* commit 'dd8c7863c613290acaa8bc4b90af34f020e0bee3':
  Add various benchmarks.
2014-03-11 23:23:00 +00: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
31f05d91f5 am 9061c829: am 04583ce9: Upgrade to tzdata2014a.
* commit '9061c82991bced72e88588803af4dab4da3d77af':
  Upgrade to tzdata2014a.
2014-03-11 19:18:44 +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
9061c82991 am 04583ce9: Upgrade to tzdata2014a.
* commit '04583ce9b94d6f41f4c1e66939c4ca2ee41ff058':
  Upgrade to tzdata2014a.
2014-03-11 17:44:37 +00:00
Calin Juravle
7fb2576c0a am 8905752f: am 5810bcf3: Merge "Sysconfig fixes"
* commit '8905752f86279006a5213a5a0831a72e7fea9249':
  Sysconfig fixes
2014-03-11 11:01:03 +00:00
Calin Juravle
fd99dcb3cc am d920ef36: am 40c31ade: Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"
* commit 'd920ef36f6bd372418cb92d9f21ab0b677fcf62e':
  Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr
2014-03-11 11:01:02 +00:00
Calin Juravle
8905752f86 am 5810bcf3: Merge "Sysconfig fixes"
* commit '5810bcf381e28e423a782af9bf53c05085b09926':
  Sysconfig fixes
2014-03-11 10:55:09 +00:00
Calin Juravle
d920ef36f6 am 40c31ade: Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"
* commit '40c31ade2c854ad61ab43bd5dbd66979efcea4c5':
  Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr
2014-03-11 10:55:09 +00:00
Calin Juravle
5810bcf381 Merge "Sysconfig fixes" 2014-03-11 10:50:01 +00:00
Calin Juravle
40c31ade2c Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr" 2014-03-11 10:49:47 +00:00
Calin Juravle
a0ca209ac0 Sysconfig fixes
Remove _POSIX_THREAD_ATTR_STACKADDR and _POSIX_THREAD_ATTR_STACKSIZE
since they don't exists. Return -1 for their corresponding values but
don't set errno.

Bug: 13281069
Change-Id: Ice29b4dfebe2b474212e40ee726d86782a3064b9
2014-03-11 10:44:50 +00:00
Calin Juravle
a4eafa6dbc Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr
Moved existing definitions to ndk_cruft to preserve NDK compatibility.

Bug: 13281069
Change-Id: I6f260de69afa55a6274f0d13145c19ac6517b9d5
2014-03-11 10:44:36 +00:00
Elliott Hughes
95648eefc9 am e8752802: am 10f6beb3: Merge "Add system/extras strftime and strptime tests."
* commit 'e8752802b2a9efd4f0109530d20fcf399bf24f9e':
  Add system/extras strftime and strptime tests.
2014-03-11 01:59:46 +00:00
Elliott Hughes
e8752802b2 am 10f6beb3: Merge "Add system/extras strftime and strptime tests."
* commit '10f6beb3eb46cb2488427f58dccdd7bbfab5a250':
  Add system/extras strftime and strptime tests.
2014-03-11 01:46:15 +00:00
Elliott Hughes
10f6beb3eb Merge "Add system/extras strftime and strptime tests." 2014-03-11 01:41:28 +00:00
Elliott Hughes
3e3409af0f Add system/extras strftime and strptime tests.
Change-Id: I889c58f6e2e27b99cf6328a8671858d2e5feaa4e
2014-03-10 18:19:03 -07:00
Elliott Hughes
b951a4e1fd am 02bd494d: am 2cd3490d: Merge "Take ownership of various simple syscall wrappers."
* commit '02bd494dee4abb6572b8172bf46f6074b04dce17':
  Take ownership of various simple syscall wrappers.
2014-03-11 00:53:16 +00:00
Elliott Hughes
02bd494dee am 2cd3490d: Merge "Take ownership of various simple syscall wrappers."
* commit '2cd3490d7bdb18e5051a3cc66e7d03635bbcbeaf':
  Take ownership of various simple syscall wrappers.
2014-03-11 00:46:57 +00:00
Elliott Hughes
2cd3490d7b Merge "Take ownership of various simple syscall wrappers." 2014-03-11 00:40:56 +00:00
Elliott Hughes
247dc91889 Take ownership of various simple syscall wrappers.
None of these trivial functions is something we're going to get from BSD.

Change-Id: Iee1d1281b73db67da5ec303da7a49748121464bf
2014-03-10 17:17:01 -07:00
Elliott Hughes
79ac8d725b am 2f80b7a8: am a3056591: Merge "Switch to NetBSD utmp.c."
* commit '2f80b7a86af6de438f1e5d84bc53b639dec61f0a':
  Switch to NetBSD utmp.c.
2014-03-10 23:48:59 +00:00
Elliott Hughes
2f80b7a86a am a3056591: Merge "Switch to NetBSD utmp.c."
* commit 'a3056591960f9d9f646135ee20804cc1a9e41106':
  Switch to NetBSD utmp.c.
2014-03-10 23:42:50 +00:00
Elliott Hughes
c95a204191 am fbb9e852: am ec674b4d: Merge "Switch to upstream FreeBSD ldexp.c."
* commit 'fbb9e852f0a3e3669a8fb6a38cdaf4b1c1ffd3db':
  Switch to upstream FreeBSD ldexp.c.
2014-03-10 23:42:21 +00:00
Elliott Hughes
11a98b081b am 02e4dada: am 21d9e58d: Merge "Rename the stack protector intermediate library."
* commit '02e4dada534aaebba0e66aa217f92d2c4698e60f':
  Rename the stack protector intermediate library.
2014-03-10 23:42:21 +00:00
Elliott Hughes
a305659196 Merge "Switch to NetBSD utmp.c." 2014-03-10 23:37:27 +00:00
Elliott Hughes
213dd5b9ce am ed13b4cf: am 7aef2746: Merge "Switch to OpenBSD wcscoll."
* commit 'ed13b4cf8b0d8f773b6abe62daca8c70b3ad3f50':
  Switch to OpenBSD wcscoll.
2014-03-10 23:34:48 +00:00
Elliott Hughes
fbb9e852f0 am ec674b4d: Merge "Switch to upstream FreeBSD ldexp.c."
* commit 'ec674b4d064d923818d0deba9f8378d13ff6451a':
  Switch to upstream FreeBSD ldexp.c.
2014-03-10 23:33:49 +00:00
Elliott Hughes
02e4dada53 am 21d9e58d: Merge "Rename the stack protector intermediate library."
* commit '21d9e58d01080c7494c639ed3bd9e6c805e022d8':
  Rename the stack protector intermediate library.
2014-03-10 23:33:49 +00:00
Elliott Hughes
19f58efa22 Switch to NetBSD utmp.c.
Change-Id: Ibe94888aa48b5b28fea97fd5719a1ed7a23ddeb3
2014-03-10 16:32:35 -07:00