History log of /bionic/libc/upstream-openbsd/android/include/openbsd-compat.h
Revision Date Author Comments
506c6deff726c8c052ff5abb0cef57e63707bd1c 16-Jan-2016 Elliott Hughes <enh@google.com> Sync with upstream OpenBSD.

Also some minor build cleanup.

Change-Id: Ibd20602d7ea45685f0c47fceb00ffd6c7ae35954
a8184456229ace2b0255468e6b15aeb6509e27f7 23-Oct-2015 Christopher Ferris <cferris@google.com> Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC.

Change-Id: If4da9e46398ca5524f6f0680d70588e3dc7e80b4
c534603f8d2a03e0ace678adc83d6194a7afdbe9 04-Jun-2015 Dmitriy Ivanov <dimitry@google.com> Hide __atexit

Bug: http://b/21640806
Change-Id: I778b35c8c7538859179e97fcf5a82db2fcd9e50f
(cherry picked from commit 9cf6fc304bbbfb26911e0b624b80d862c40b0308)
9cf6fc304bbbfb26911e0b624b80d862c40b0308 04-Jun-2015 Dmitriy Ivanov <dimitry@google.com> Hide __atexit

Bug: http://b/21640806
Change-Id: I778b35c8c7538859179e97fcf5a82db2fcd9e50f
3471fcbb6a7b13f8f06163f16ef52ceafa5d84a2 08-Jan-2015 Yabin Cui <yabinc@google.com> Clean up paths.h.

Bug: 18905946
Change-Id: I02cd1ddd5c0b0af165685413bc1fb12ca6bf5f33
998f2d5a50adffcc0447912fb6a7af2dac7accf1 20-Dec-2014 Elliott Hughes <enh@google.com> Remove more BSD cruft from the public headers.

Change-Id: I1e3097f745b526db448bf72fbc05fb2ba23929a0
2818279ace22fb854b00e668c224492c4dd072a4 22-Nov-2014 Elliott Hughes <enh@google.com> Sync with upstream OpenBSD fts.c.

Change-Id: Ia7e26b603f6461095b5a8d7e8a6cdf4f8279fa84
c08c25b4c9bdd95bfbda56a8c21f51b88c8a692e 24-Sep-2014 Elliott Hughes <enh@google.com> Sync with upstream findfp.c.

Change-Id: Ib298f46de0c4d0fd4ce0a9b456c163e8b8b06342
b6b5cb53895a2d5e94368f14a25ccfaf807eacad 28-Aug-2014 Chih-Hung Hsieh <chh@google.com> Ignore all __weak_alias in OpenBSD libC.

GCC assembler allows xyz to be redeclared as weak,
by __weak_alias(xyz, _xyz), while _xyz is undefined.
Clang does not like that but silently generates no code.
It will reject its own .s file if the assembly code is saved first.
Since we have no reason to define xyz or _xyz as weak symbol now,
and _xyz is a macro to xyz, we simplify libC to have only
xyz defined as global.

BUG: 17186746
Change-Id: I24b154425838683cae69248cc750c59e26fd5467
cc7e5f489f02ceee46e315af4f78559d3ad6c962 27-Aug-2014 Elliott Hughes <enh@google.com> Switch to OpenBSD <err.h> implementation.

Change-Id: Ia950d88871a30f68e74f9ac7dbd87788e128e02f
b81046202842427a7e894a6bcb357971332997b0 19-Aug-2014 Elliott Hughes <enh@google.com> Fix _BSD_SOURCE/__USE_BSD.

Bug: 14659579
Change-Id: I80ec9584f054c02d1078828f6bca759c42bc1d4c
6209c81d40e2b4e129a28bda3259150d79d507e8 19-Jul-2014 Elliott Hughes <enh@google.com> Use upstream OpenBSD's arc4random.

The getentropy_linux.c is lightly modified to build on Android, but we're now
completely in sync with upstream OpenBSD's arc4random implementation.

(cherry picked from commit 2b67d7dee09852789d9ac7d8972ed6cdb2c18430)

Change-Id: Icc939b5fa2fcac3e15ff93735d2d34f67e9bb149
2b67d7dee09852789d9ac7d8972ed6cdb2c18430 19-Jul-2014 Elliott Hughes <enh@google.com> Use upstream OpenBSD's arc4random.

The getentropy_linux.c is lightly modified to build on Android, but we're now
completely in sync with upstream OpenBSD's arc4random implementation.

Change-Id: If32229fc28aba908035fb38703190d41ddcabc95
ca276c40dfdb80ef553c6646da7f984ef7b694ce 14-Jul-2014 Elliott Hughes <enh@google.com> Fix visibility for a bunch more symbols.

Bug: 11156955
Bug: 15291317

(cherry picked from commit a167eef5482d4a89d4277ec74f57adbe38052813)

Change-Id: Ib038ad34ef59631f7b4ed6dff2b7956001b8b159
38778e3b6c89689bbdd01f4a52ac88f02bf59783 11-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Upstream atexit

Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
(cherry picked from commit 53c3c271dc9927dd280981fc23409af60f460007)
53c3c271dc9927dd280981fc23409af60f460007 11-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Upstream atexit

Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
a167eef5482d4a89d4277ec74f57adbe38052813 14-Jul-2014 Elliott Hughes <enh@google.com> Fix visibility for a bunch more symbols.

Bug: 11156955
Bug: 15291317
Change-Id: I664f25cce7c17085a101d6593d8e01525a1f6a90
f79ee064b64af54bce6d3931f4112761edb7d3a9 02-Jul-2014 Dan Albert <danalbert@google.com> Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""

This reverts commit 715242fd0f69e73a6aca19e32b8979fa0f384788.

Change-Id: Ia9892fa3b03287129aa72a49974cef9fd94ae735
715242fd0f69e73a6aca19e32b8979fa0f384788 19-Jun-2014 Dan Albert <danalbert@google.com> Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."

This reverts commit dd4ad5c463c9bd479e8acf81227708717aafe204.

Change-Id: If3c9771825e460ce68604082f4feb0ca783e56c6
dd4ad5c463c9bd479e8acf81227708717aafe204 18-Jun-2014 Dan Albert <danalbert@google.com> Hide _tolower_tab_ and _toupper_tab_ on LP64.

We can't hide them on LP32 because they appeared in NDK headers.

Bug: 11156955
Change-Id: I22bf5a0f4d330c04b49565bc598cd0568128d4fc
b4e099c6f741835b11ecb6f8fd0861b1892ff182 30-May-2014 Elliott Hughes <enh@google.com> Remove issetugid.

Bug: 14569474
Change-Id: I752c77ed53c724f144f0b618443eb95e87f2929a
9a5a3e8e74e2c6d7850ab29711189acf0f7378a2 06-May-2014 Elliott Hughes <enh@google.com> Fix <math.h> to quieten most of our warnings.

I've reported the wcsftime bug upstream, but we really just want to use -D
to ensure the buggy code isn't built. (I've also brought our strftime a bit
closer to upstream now we have the right define.)

I don't think upstream is likely to fix all their sign-compare and
uninitialized warnings, so let's just silence them.

As for libm, again upstream isn't likely to fix all their warnings, and
silencing those made the ones that were our fault stand out. I've fixed
our <math.h> to fix the warnings caused by our lack of definitions for
the non-imprecise long-double functions. I checked the C99 standard, and
all these functions are there.

Change-Id: Iee8e1182c1db375058fb2c451eceb212bab47a37
d39f3f2c2e7fc73ddb019695f0df3417deef5bf4 22-Apr-2014 Elliott Hughes <enh@google.com> Clean up and document our hacks for building BSD source.

Change-Id: Ic591e22fa5b363bb68376b9f25814c0e5bd83fbf