Elliott Hughes
801a7a60cc
am b51e4216
: am 2282e16d
: Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"
...
* commit 'b51e4216e81c02b67218bbe417db8293836c6121':
Use [u]int32_t instead of __[u]int32_t in sys/types.h
2014-03-12 22:58:05 +00: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
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
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
ad41e9a4eb
More stdio cleanup.
...
Change-Id: Idc909cd3dc7b072f1edd2ae4980932d6550e8568
2014-03-11 15:05:50 -07: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
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
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
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
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
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
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
19f58efa22
Switch to NetBSD utmp.c.
...
Change-Id: Ibe94888aa48b5b28fea97fd5719a1ed7a23ddeb3
2014-03-10 16:32:35 -07:00
Elliott Hughes
ec674b4d06
Merge "Switch to upstream FreeBSD ldexp.c."
2014-03-10 23:25:39 +00:00
Elliott Hughes
21d9e58d01
Merge "Rename the stack protector intermediate library."
2014-03-10 23:25:05 +00:00
Elliott Hughes
67563e6080
am acc63574
: am 321ecc4e
: Merge "Remove non-standard memswap."
...
* commit 'acc635740cf64262e54fc9f62ea9ab24ac6ae3f3':
Remove non-standard memswap.
2014-03-10 23:23:25 +00:00
Elliott Hughes
57a883640f
Switch to upstream FreeBSD ldexp.c.
...
(Yes, this should be in libm, but it isn't. For once, this mistake predates
bionic!)
Change-Id: I1340407acbcdc0151dee969a38ba490bdd5e6767
2014-03-10 16:23:09 -07:00
Elliott Hughes
7aef27468e
Merge "Switch to OpenBSD wcscoll."
2014-03-10 23:21:08 +00:00
Elliott Hughes
6380b51a8d
Rename the stack protector intermediate library.
...
libbionic_ssp already confused at least one person, and characters
in filenames are cheap, so let's just call this library what it is.
Change-Id: I69ab950bf52fa4d267a6891efb49b5e177efc0c4
2014-03-10 16:15:11 -07:00
Elliott Hughes
c8937eadf4
Switch to OpenBSD wcscoll.
...
Change-Id: I1050ef728e18124656e76f32b42ac9a4688f252d
2014-03-10 16:11:59 -07:00
Elliott Hughes
152b9de19a
Remove non-standard memswap.
...
Change-Id: I06548dda339987b755ef7139c590ca3e1f9fe0a9
2014-03-10 15:54:40 -07:00
Elliott Hughes
e324d90d70
am 4d212bdb
: am 638e7892
: Merge "Upgrade to tzdata2014a."
...
* commit '4d212bdb4f1999225e3be862b1060bd2af2eb0cd':
Upgrade to tzdata2014a.
2014-03-10 22:35:31 +00:00
Elliott Hughes
159b28eb46
Upgrade to tzdata2014a.
...
From the release notes:
Changes affecting near-future time stamps
Turkey begins DST on 2014-03-31, not 03-30. (Thanks to Faruk Pasin
for the heads-up, and to Tim Parenti for simplifying the update.)
Changes affecting past time stamps
Fiji ended DST on 2014-01-19 at 02:00, not the previously-scheduled
03:00. (Thanks to Steffen Thorsen.)
Ukraine switched from Moscow to Eastern European time on 1990-07-01
(not 1992-01-01), and observed DST during the entire next winter.
(Thanks to Vladimir in Moscow via Alois Treindl.)
In 1988 Israel observed DST from 04-10 to 09-04, not 04-09 to
09-03. (Thanks to Avigdor Finkelstein.)
Bug: 13193205
Change-Id: Ie2e4fd48491315f3e97befff0c8ea797a766c676
2014-03-10 15:19:05 -07:00
Calin Juravle
f45709b67b
am eacfa695
: am 55b6ec3f
: Merge "Update the NOTICE files"
...
* commit 'eacfa69553c2ca98af51e4dc636ade89c347e6e9':
Update the NOTICE files
2014-03-10 11:39:58 +00:00
Calin Juravle
66016dad14
am f535485c
: am 0bca08d6
: Merge "Update res_debug.c to take into account changes to the nameser.h"
...
* commit 'f535485cc0fef33faaaa2bc2e2a0bd9d7254e97e':
Update res_debug.c to take into account changes to the nameser.h
2014-03-10 11:32:02 +00:00
Calin Juravle
c4fbf92ce1
Update the NOTICE files
...
Change-Id: I751c4eeda813b811faa4ee26c64445896db3d5bd
2014-03-10 11:23:52 +00:00
Calin Juravle
0bca08d69f
Merge "Update res_debug.c to take into account changes to the nameser.h"
2014-03-10 11:20:12 +00:00
Elliott Hughes
69ee396704
am 00b522ad
: am fd9e20d1
: Merge "Fix pthread_detach for already-exited threads."
...
* commit '00b522ad9e87cb9ae5ad776ded92ac01e79ef31b':
Fix pthread_detach for already-exited threads.
2014-03-08 11:02:22 +00:00
Elliott Hughes
fb2fbbc269
am 206e2c05
: am 333e2ae8
: Merge "Add si_timerid to <signal.h>."
...
* commit '206e2c05f1b08a60b5706c93fbb6e53f456ae67d':
Add si_timerid to <signal.h>.
2014-03-08 07:28:14 +00:00
Elliott Hughes
d1256ccbb3
am 68126def
: am 4d46c940
: Merge "Rewrite the POSIX timer functions."
...
* commit '68126def6e37eae1ddc0b372fcecc3ac8287b97e':
Rewrite the POSIX timer functions.
2014-03-08 07:28:11 +00:00
Elliott Hughes
04620a3cd7
Fix pthread_detach for already-exited threads.
...
Change-Id: I2bf7f41234d93b226132a4c51705f4186f4961c3
Reported-by: Paresh Nakhe <pnakhe@codeaurora.org>
2014-03-07 17:59:05 -08:00
Elliott Hughes
333e2ae87d
Merge "Add si_timerid to <signal.h>."
2014-03-08 00:52:02 +00:00
Elliott Hughes
4d46c94031
Merge "Rewrite the POSIX timer functions."
2014-03-08 00:50:56 +00:00
Elliott Hughes
4b558f50a4
Rewrite the POSIX timer functions.
...
This is a much simpler implementation that lets the kernel
do as much as possible.
Co-authored-by: Jörgen Strand <jorgen.strand@sonymobile.com>
Co-authored-by: Snild Dolkow <snild.dolkow@sonymobile.com>
Change-Id: Iad19f155de977667aea09410266d54e63e8a26bf
2014-03-07 16:49:46 -08:00
Elliott Hughes
a0cd9bc339
Add si_timerid to <signal.h>.
...
The kernel uses the very misleading name "si_tid", but glibc uses the more
intention-revealing "si_timerid". We should let people use that.
(Added because I wanted to improve SI_TIMER siginfo_t dumping in strace.)
Change-Id: Ib626cdd3b57a6afb276a15753a237b4e81ec45e3
2014-03-07 15:41:25 -08:00
Calin Juravle
0ad555a908
Update res_debug.c to take into account changes
...
to the nameser.h
Bug: 13219633
Change-Id: Id75de2e8933f716ad86ca296a97f5c619fb946a7
2014-03-07 20:03:57 +00:00
Calin Juravle
c3957eea26
am d57eb903
: am b145b5ef
: Merge "Fix broken pointer overflow check ns_name_unpack()"
...
* commit 'd57eb903c1ca2f798ab6a9ab0f9c84678b0f3025':
Fix broken pointer overflow check ns_name_unpack()
2014-03-07 19:29:51 +00:00
Calin Juravle
a7c42b1268
am 542e6c87
: am d9ba757e
: Merge "Sync up nameser with upstream(2014.03.05)"
...
* commit '542e6c87e52f7886e5ede72e3222c2d6ed83aefb':
Sync up nameser with upstream(2014.03.05)
2014-03-07 19:29:50 +00:00
Calin Juravle
b145b5ef7c
Merge "Fix broken pointer overflow check ns_name_unpack()"
2014-03-07 11:46:48 +00:00
Calin Juravle
d9ba757ef4
Merge "Sync up nameser with upstream(2014.03.05)"
2014-03-07 11:45:58 +00:00
Elliott Hughes
e4014d8882
am 37486940
: am d40eb159
: Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."
...
* commit '3748694064366694b2136ac8943332d5ceec7bf4':
Fix some pthread symbols build as C++ symbol under x64 lunch.
2014-03-07 11:00:32 +00:00
Elliott Hughes
39febf4a95
am e992f79a
: am 087dbc6b
: Merge "Bring the generate-NOTICE script up to date."
...
* commit 'e992f79a5627e9d839a001f8563b637d2e97bb93':
Bring the generate-NOTICE script up to date.
2014-03-07 03:09:45 +00:00
Elliott Hughes
18a32d4ac0
am 372196e9
: am dec5bacf
: Merge "Update the NOTICE files."
...
* commit '372196e955047551d6241de7b83ae43bdb5a8b5c':
Update the NOTICE files.
2014-03-07 03:09:44 +00:00