55ee845b8ec0861d09197b32fbb5f2d34320155d |
|
07-Oct-2014 |
Dan Albert <danalbert@google.com> |
Inline helpers need to be exported unmangled. __open_2() is used by the fortify implementation of open(2) in fcntl.h, and as such needs an unmangled C name. For some reason (inlining?), this doesn't cause problems at the default optimization level, but does for -O0. The rest of these didn't cause build failures, but they look suspect and probably will, we just haven't caught them yet. (cherry-pick of 658727e111ed6dee7be5239494f0764f7b1b02f8 with conflicts in stdio.h and string.h.) Bug: 17784968 Change-Id: I7391a7a8999ee204eaf6abd14a3d5373ea419d5b
|
d87d401ab134996d1f25f5b63cefb48b5b5877c8 |
|
18-Aug-2014 |
Elliott Hughes <enh@google.com> |
Improve <sys/cdefs.h>. Fix and use __RENAME (and lose ___RENAME --- two underscores should be enough for anybody). This was the point of this change, because I want to use __RENAME to support the two basename variants and the two strerror_r variants. Lose a bunch of macros that weren't being used. Lose three dead files from the DNS code. Bug: 17784968 (cherry picked from commit 2cfb4e8e2e217ef0e4140dcbf9b3da809781158c) Change-Id: I5e96146f92c0521248c78c0933bec5e9a9818222
|
291da8d3533b3ee47f8d742c72d789d3149d15da |
|
18-Jul-2014 |
Elliott Hughes <enh@google.com> |
Remove SIOCKILLADDR from <sys/socket.h>. (cherry picked from commit 8a3d1ca183e19d849728318fe8b0d36856fa000f) Change-Id: Idb5cc4cff3ece7fa8740db12a19438d1a1c9a6a8
|
f6968e3c0822b27e9aa584c3490573f34b1725c1 |
|
12-Jul-2014 |
Elliott Hughes <enh@google.com> |
Define SIOCKILLADDR which isn't in the common kernel uapi headers. (cherry picked from commit 2ba2888cac2f04daff7bbaf032d0df7a095b00c3) Change-Id: I3845871bb44dae94d9a0428af0f562ddfb8bd660
|
2ba2888cac2f04daff7bbaf032d0df7a095b00c3 |
|
12-Jul-2014 |
Elliott Hughes <enh@google.com> |
Define SIOCKILLADDR which isn't in the common kernel uapi headers. Change-Id: I8760950d13a9625aa543e76bc9d6cd86ac782c2e
|
096b4eb752aa7a5392875cb2f2faf0d67c676ac1 |
|
19-Jun-2014 |
Calin Juravle <calin@google.com> |
Prefix cmsg_nxthdr with "__". This brings us on par with glibc. To avoid breaking clients, temporary keep cmsg_nxthdr until the next NDK refresh. Bug: 15822452 Change-Id: I24c24e68c31f4f2b8f3d2df7acd575cb75174173
|
ff64831b0965c16c95c9f81a148f30a6ef3a6c64 |
|
07-Apr-2014 |
Calin Juravle <calin@google.com> |
Use glibc structure for __cmsg_nxthdr. Bug: 13418328 Change-Id: I7e656b373e53e80d708325321e48dcedacf5086d
|
9cea3775056d0a8d04d49c3983440b89d82a462b |
|
31-Mar-2014 |
Christopher Ferris <cferris@google.com> |
Small accept4 fixes. Put the accept4 test in the sorted order, and put the accept4 define in sorted order. Also add the missing SYS_RECVMMSG and SYS_SENDMMSG defines. Change-Id: Iba55354975e0d5027dbee53f6de752c2df719493
|
8f2a30a92ab6981cccbc1a9e17b738f7542ae33f |
|
26-Mar-2014 |
Andrei Emeltchenko <andrei.emeltchenko@intel.com> |
Add accept4() syscall Add accept4() using SYSCALLS.TXT and gensyscall Change-Id: I6f19f29144186d15d46423e10f2cc4b4223719c6
|
f1de90b3a26d6ec46c0f1c741ef93509fe69f942 |
|
19-Mar-2014 |
Calin Juravle <calin@google.com> |
Clean up CMSG_*HDR in <sys/socket.h> Removed __CMSG_NXTHDR, __CMSG_FIRSTHDR and cmsg_nxthdr. Bug: 13418328 Change-Id: I6b1ed58b41b3f37d41e070c4f222b5bfa512bc48
|
247dc91889ffc8b71fc3371edba9d834afab96ab |
|
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
Take ownership of various simple syscall wrappers. None of these trivial functions is something we're going to get from BSD. Change-Id: Iee1d1281b73db67da5ec303da7a49748121464bf
|
a8b1eb3fcf13fab029a16fa3b6636218a64c4583 |
|
01-Mar-2014 |
Elliott Hughes <enh@google.com> |
Fix build. Change-Id: I71cde79263d5f5a8382865b8151f65c5c05ea17b
|
6ff0c75c838e73d2aeccc0102ab58a7b865172ca |
|
10-Feb-2014 |
Guillaume Ranquet <guillaumex.ranquet@intel.com> |
Add recvmmsg and sendmmsg syscalls. Also add the corresponding constant, struct, and function declarations to <sys/socket.h>, and perfunctory tests so we know that the symbols actually exist. Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com> Change-Id: Ib0d854239d3716be90ad70973c579aff4895a4f7
|
9f87a0b285128542a221f2b69d3b959a4e33c054 |
|
07-Feb-2014 |
Elliott Hughes <enh@google.com> |
Remove <sys/_types.h>. Bug: 12213562 Change-Id: I0d10664f9da60739bdbad0408be0dd61eea3c1fe
|
43d2137af0e2f65b7febf4414e10b979aa0007bf |
|
14-Oct-2013 |
Andrei Emeltchenko <andrei.emeltchenko@intel.com> |
Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags. SOCK_CLOEXEC is used to atomically set close-on-exec flag for the new descriptor(s), and SOCK_NONBLOCK is used to mark descriptor(s) as non-blocking. Change-Id: I8ba6a70543d23759e3ddcc7ff9c21b567184d681
|
60f4f9a5b99a0a66817f50edfc2194a49f8b5146 |
|
25-Sep-2013 |
Nick Kralevich <nnk@google.com> |
libc: fortify recvfrom() Fortify calls to recv() and recvfrom(). We use __bos0 to match glibc's behavior, and because I haven't tested using __bos. Change-Id: Iad6ae96551a89af17a9c347b80cdefcf2020c505
|
d73c0b300e2dbaa4cc59f87fc1435661e5e1c736 |
|
04-Jan-2013 |
Elliott Hughes <enh@google.com> |
Add AF_CAN and PF_CAN (and other missing families). Change-Id: I2c183a6f5f7a7e81e87dad85d8c9aff9c43ed33a
|
86ec05acc9df3098c4e99e5b3ad85dcef66712c7 |
|
12-Sep-2012 |
Elliott Hughes <enh@google.com> |
Update the kernel headers to match external/kernel-headers. Note that the Linux kernel handed over responsibility for most of the socket constants to glibc some time ago. Someone had updated our external/kernel-headers file but not regenerated the bionic headers, so this change copies the missing stuff from the old bionic <linux/socket.h> into <sys/socket.h>. This is what glibc does. I've hacked a few of the other files to #include <sys/socket.h> for backward compatibility, but even so this requires numerous other changes to switch people over from direct inclusion of <linux/...> headers. Change-Id: I0e4af64e631d3cef911a31d90f2f806e058278a0
|
6437eac15a5b595ab26ef51834509c44695eb7e4 |
|
03-Aug-2012 |
Raghu Gandham <raghu@mips.com> |
MIPS support to sys/ headers Change-Id: I32207a1d918e4842da341f6b242ae39c69a83b03
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1767f908af327fa388b1c66883760ad851267013 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
4e468ed2eb86a2406e14f1eca82072ee501d05fd |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|