Nick Kralevich
5634373320
am 8598cd68
: am f741e1c2
: Merge "FORTIFY_SOURCE: Add __FD_* checks"
...
* commit '8598cd6888366008033286113bd633b44c70b7dd':
FORTIFY_SOURCE: Add __FD_* checks
2013-10-02 16:30:51 -07:00
Nick Kralevich
8598cd6888
am f741e1c2
: Merge "FORTIFY_SOURCE: Add __FD_* checks"
...
* commit 'f741e1c2ed27f153e92a2a36c9db3b189f9a6388':
FORTIFY_SOURCE: Add __FD_* checks
2013-10-02 16:28:00 -07:00
Nick Kralevich
f741e1c2ed
Merge "FORTIFY_SOURCE: Add __FD_* checks"
2013-10-02 23:26:50 +00:00
Nick Kralevich
90201d5eca
FORTIFY_SOURCE: Add __FD_* checks
...
Add FORTIFY_SOURCE checks for the following macros:
* FD_CLR
* FD_ISSET
* FD_SET
Bug: 11047121
Change-Id: I3c5952136aec9eff3288b91b1318677ff971525c
2013-10-02 16:11:30 -07:00
Stephen Hines
689d0ed781
am a6d4acc9
: am 1986d369
: am 32c0c6e7
: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
...
* commit 'a6d4acc9f957a1d079e646a3bb6ee4a6504b6220':
Use gnu++11 and gnu99 explicitly for C++/C files.
2013-10-02 15:25:27 -07:00
Stephen Hines
a6d4acc9f9
am 1986d369
: am 32c0c6e7
: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
...
* commit '1986d36957089bfc8a9d8135768f067395e98bd5':
Use gnu++11 and gnu99 explicitly for C++/C files.
2013-10-02 15:22:56 -07:00
Stephen Hines
1986d36957
am 32c0c6e7
: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
...
* commit '32c0c6e7d56ea2fad0a362f37bb84937b82c3be2':
Use gnu++11 and gnu99 explicitly for C++/C files.
2013-10-02 15:20:36 -07:00
Stephen Hines
32c0c6e7d5
Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
2013-10-02 22:18:26 +00:00
Nick Kralevich
e1bcd57469
am 944ce989
: am f7da611b
: am 00d51c9f
: Merge "Use alloc_size attribute on *alloc functions"
...
* commit '944ce989f8d9c4fa1c8211ac5aa46693346e1fe0':
Use alloc_size attribute on *alloc functions
2013-10-02 14:41:52 -07:00
Nick Kralevich
944ce989f8
am f7da611b
: am 00d51c9f
: Merge "Use alloc_size attribute on *alloc functions"
...
* commit 'f7da611b3dedaf9951e08b0296daf67eda8228c0':
Use alloc_size attribute on *alloc functions
2013-10-02 14:38:12 -07:00
Nick Kralevich
f7da611b3d
am 00d51c9f
: Merge "Use alloc_size attribute on *alloc functions"
...
* commit '00d51c9f6e9b3f10bddad80b3938ffa553094578':
Use alloc_size attribute on *alloc functions
2013-10-02 14:35:03 -07:00
Nick Kralevich
00d51c9f6e
Merge "Use alloc_size attribute on *alloc functions"
2013-10-02 21:31:43 +00:00
Nick Kralevich
b91791d71c
Use alloc_size attribute on *alloc functions
...
malloc and family were not declared with __attribute__((alloc_size)).
This was (sometimes) preventing FORTIFY_SOURCE related functions
from knowing the size of the buffer it's dealing with, inhibiting
FORTIFY_SOURCE protections.
Add __attribute__((alloc_size))
Information about the alloc_size attribute can be found
at http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
Change-Id: Ia2f0a445f0170a7325f69259b5e7fb35a9f14921
2013-10-02 14:14:40 -07:00
Stephen Hines
762cea46f0
Use gnu++11 and gnu99 explicitly for C++/C files.
...
Clang and gcc default to different standards, so we should be explicit
about the versions we want to compile for.
Change-Id: I65495a2392dd29f36373b94c616c2506173e6033
2013-10-02 12:37:16 -07:00
Elliott Hughes
ade1e9d268
am a0a5a501
: am 2e2a4f97
: am 4bbf3a8b
: Merge "Remove #define _BITSIZE 32."
...
* commit 'a0a5a5015210585abc426a79e51b8cb70e28569d':
Remove #define _BITSIZE 32.
2013-10-02 10:11:46 -07:00
Elliott Hughes
a0a5a50152
am 2e2a4f97
: am 4bbf3a8b
: Merge "Remove #define _BITSIZE 32."
...
* commit '2e2a4f97bfbb7b94d12690395c5cbcf7d7d1edc7':
Remove #define _BITSIZE 32.
2013-10-02 10:10:27 -07:00
Elliott Hughes
2e2a4f97bf
am 4bbf3a8b
: Merge "Remove #define _BITSIZE 32."
...
* commit '4bbf3a8b558ea8b5ce62f2d1ee2599a8e95c21c0':
Remove #define _BITSIZE 32.
2013-10-02 10:08:58 -07:00
Elliott Hughes
4bbf3a8b55
Merge "Remove #define _BITSIZE 32."
2013-10-02 17:06:44 +00:00
Stephen Hines
f32a5dc7b1
am 9218adc3
: am 62f95981
: am 70e1730c
: Merge "Remove _FORTIFY_SOURCE in implementation files."
...
* commit '9218adc3909ee4d549526bba546203c8e1a16344':
Remove _FORTIFY_SOURCE in implementation files.
2013-10-02 09:39:15 -07:00
Stephen Hines
3db26e87e7
am 95fa8962
: am dcffa999
: am e0e6409c
: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
...
* commit '95fa896206b82f2d8c2c26681511caf5d6c896f6':
Add simple implementation _Unwind_GetIP() for clang compiles.
2013-10-02 09:39:14 -07:00
Stephen Hines
9218adc390
am 62f95981
: am 70e1730c
: Merge "Remove _FORTIFY_SOURCE in implementation files."
...
* commit '62f95981df783575efd44cb4206be7b2cbdfcf1c':
Remove _FORTIFY_SOURCE in implementation files.
2013-10-02 09:33:27 -07:00
Stephen Hines
95fa896206
am dcffa999
: am e0e6409c
: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
...
* commit 'dcffa9998e95dc0fb89d0c9e0ae51a0557d5b2b4':
Add simple implementation _Unwind_GetIP() for clang compiles.
2013-10-02 09:33:27 -07:00
Stephen Hines
62f95981df
am 70e1730c
: Merge "Remove _FORTIFY_SOURCE in implementation files."
...
* commit '70e1730c38ad91cf65425e29732b5c041dd0cf43':
Remove _FORTIFY_SOURCE in implementation files.
2013-10-02 09:31:56 -07:00
Stephen Hines
dcffa9998e
am e0e6409c
: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
...
* commit 'e0e6409c12d21cf1f0390c435fd76e74b5c4580d':
Add simple implementation _Unwind_GetIP() for clang compiles.
2013-10-02 09:31:55 -07:00
Stephen Hines
70e1730c38
Merge "Remove _FORTIFY_SOURCE in implementation files."
2013-10-02 16:30:15 +00:00
Stephen Hines
e0e6409c12
Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
2013-10-02 16:29:22 +00:00
Elliott Hughes
5e72c513bf
Remove #define _BITSIZE 32.
...
I've no idea what _BITSIZE was supposed to be, glibc doesn't have it,
the BSDs don't have it, and no code is currently using it. But having
it set unconditionally to 32 sounds like a bad idea.
Change-Id: I900235c1489afba891fff0bc3b43e9d593249a4f
2013-10-02 09:23:46 -07:00
Elliott Hughes
5a072ecfb9
am 5cf3b4bd
: am a8f4e905
: am e26135ab
: Merge "The x86_64 kernel headers are the x86 kernel headers."
...
* commit '5cf3b4bd34c86be6e2dc5197d8b9f503a5faf37d':
The x86_64 kernel headers are the x86 kernel headers.
2013-10-02 08:59:02 -07:00
Elliott Hughes
5cf3b4bd34
am a8f4e905
: am e26135ab
: Merge "The x86_64 kernel headers are the x86 kernel headers."
...
* commit 'a8f4e905fa3fe5998607ff084091879b77257fd0':
The x86_64 kernel headers are the x86 kernel headers.
2013-10-02 08:57:27 -07:00
Elliott Hughes
a8f4e905fa
am e26135ab
: Merge "The x86_64 kernel headers are the x86 kernel headers."
...
* commit 'e26135ab18c94ba6ee9866bc04471853a899565b':
The x86_64 kernel headers are the x86 kernel headers.
2013-10-02 08:55:07 -07:00
Elliott Hughes
e26135ab18
Merge "The x86_64 kernel headers are the x86 kernel headers."
2013-10-02 15:52:02 +00:00
Elliott Hughes
78a44901e9
am 14cf7286
: am f0470422
: am 9461e9fa
: Merge "Add missing backslash in MIPS filelist"
...
* commit '14cf72860fbc74408db42ef9d85832c450dacf27':
Add missing backslash in MIPS filelist
2013-10-01 20:59:45 -07:00
Elliott Hughes
4b6f785fa9
am b1b8babb
: am c7e8e990
: am 5e244a9b
: Merge "Fix libm build for x86_64."
...
* commit 'b1b8babbbb672086a7678741e8769303a2814bca':
Fix libm build for x86_64.
2013-10-01 20:59:43 -07:00
Elliott Hughes
0683b376ed
am 7cb6933c
: am 8a50d0c0
: am bcc2bd3b
: Merge "x86_64: libm fixes"
...
* commit '7cb6933c0dc87b147100895a77d2743370321976':
x86_64: libm fixes
2013-10-01 20:59:42 -07:00
Elliott Hughes
7a7c2c5581
am a1de7e50
: am f1c534ce
: am 6892a29b
: Merge "Remove more assumptions that pointers are 32-bit."
...
* commit 'a1de7e503355eda6910eaea1c06a2c1080d48dff':
Remove more assumptions that pointers are 32-bit.
2013-10-01 20:59:42 -07:00
Elliott Hughes
8e56d742ff
am c1cd0f74
: am f43f8aa8
: am b2acd5de
: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"
...
* commit 'c1cd0f74c93fe00563f117c8029bc8b95c5b823e':
x86_64: Update Makefiles for x86_64 targets and add symlinks
2013-10-01 20:59:40 -07:00
Elliott Hughes
5f539b16bb
am 211fd4f9
: am 24e1dd80
: am 4eaa1e1e
: Merge "x86_64: add new __NR_arch_prctl syscall"
...
* commit '211fd4f963978f355494100c7038e1b5116d3fce':
x86_64: add new __NR_arch_prctl syscall
2013-10-01 20:59:36 -07:00
Elliott Hughes
cff436553c
am 35336777
: am 67e0214d
: am 232dff3a
: Merge "Regenerate the system call stubs (to get x86_64)."
...
* commit '35336777f1115ead63559d2ce91cc9c9481cb0c8':
Regenerate the system call stubs (to get x86_64).
2013-10-01 20:59:35 -07:00
Elliott Hughes
a5090f0ae0
am 1e998861
: am c58d08d6
: am 475e8dde
: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
...
* commit '1e9988617234fc504c72f26e13cf0c8d598fb85b':
x86_64: Add x86_64 syscalls and tune gen scripts for x86_64
2013-10-01 20:59:34 -07:00
Elliott Hughes
fd78965e84
am a08be021
: am 57e55fe3
: am fd152c31
: Merge "Clean up some comments."
...
* commit 'a08be021ccaf81bcbc53553c2f822730124c3d5e':
Clean up some comments.
2013-10-01 20:59:34 -07:00
Elliott Hughes
3bd92e83ad
am d4e69610
: am 1a46de67
: am f281fd02
: Merge "Better statfs/fstatfs glibc compatibility."
...
* commit 'd4e6961041942c6c01e6205db7d81368b39a4d1e':
Better statfs/fstatfs glibc compatibility.
2013-10-01 20:59:28 -07:00
Elliott Hughes
a8354c16ef
am 58413fe7
: am 4b5a0e1a
: am 693bd73f
: Merge "Remove 32-bit assumptions from the ELF code."
...
* commit '58413fe73561e8f230092a2b83db64e58fcb061d':
Remove 32-bit assumptions from the ELF code.
2013-10-01 20:59:28 -07:00
Elliott Hughes
14cf72860f
am f0470422
: am 9461e9fa
: Merge "Add missing backslash in MIPS filelist"
...
* commit 'f04704225b64d2ced8d34036af3336a57d945af5':
Add missing backslash in MIPS filelist
2013-10-01 19:51:21 -07:00
Elliott Hughes
f04704225b
am 9461e9fa
: Merge "Add missing backslash in MIPS filelist"
...
* commit '9461e9fae33bddecd2b1746e3158b9d2309a8163':
Add missing backslash in MIPS filelist
2013-10-01 19:49:00 -07:00
Elliott Hughes
9461e9fae3
Merge "Add missing backslash in MIPS filelist"
2013-10-02 02:46:12 +00:00
Chris Dearman
fa4d596abc
Add missing backslash in MIPS filelist
...
Change-Id: I993ea7038cd641ea167d974226e2350e49d41c88
2013-10-01 19:11:26 -07:00
Elliott Hughes
b3a045c79e
am 6c8dc464
: am 28317d3a
: am f5ea738b
: Merge "Fix x86 build."
...
* commit '6c8dc464068816986278d152a7c39d477924b360':
Fix x86 build.
2013-10-01 18:46:33 -07:00
Elliott Hughes
8182c3ee60
am 5d641bcf
: am f5dcdfc4
: am 6dee3b9a
: Merge "Add x86_64 to the bionic headers."
...
* commit '5d641bcf70d36caa22ff2c7d3e3f252abf541bed':
Add x86_64 to the bionic headers.
2013-10-01 18:46:32 -07:00
Elliott Hughes
e770243df2
am b2775090
: am 34284954
: am 76218efb
: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
...
* commit 'b27750909579926ad8154218b53f4d1765db7d28':
Fix inttypes.h and stdint.h for 64-bit (and C++11).
2013-10-01 18:45:53 -07:00
Christopher Ferris
081f6762e4
am a59e16ba
: am 34c2a9fc
: Move stack unwinding test into library.
...
* commit 'a59e16bac971db7bb8e65e63d90e895bf4731747':
2013-10-01 18:45:50 -07:00