Jean-Baptiste Queru
168f267723
am ff7d9453
: am f67e5211
: Merge "Hide the symbol of helper function __libc_android_abort"
...
Merge commit 'ff7d94530db60cf4fe4a4c287ee8821ebdf6263a'
* commit 'ff7d94530db60cf4fe4a4c287ee8821ebdf6263a':
Hide the symbol of helper function __libc_android_abort
2010-10-12 01:45:31 -07:00
David 'Digit' Turner
364462ea2e
am 1aeeeae1
: am b8d2233e
: Merge "libc: tag missing functions in system headers." into gingerbread
...
Merge commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896'
* commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896':
libc: tag missing functions in system headers.
2010-10-11 18:59:30 -07:00
Jean-Baptiste Queru
ff7d94530d
am f67e5211
: Merge "Hide the symbol of helper function __libc_android_abort"
...
Merge commit 'f67e5211e045af1b12f646448a5a35f96ba5e8f1' into gingerbread-plus-aosp
* commit 'f67e5211e045af1b12f646448a5a35f96ba5e8f1':
Hide the symbol of helper function __libc_android_abort
2010-10-11 07:27:01 -07:00
David 'Digit' Turner
1aeeeae166
am b8d2233e
: Merge "libc: tag missing functions in system headers." into gingerbread
...
Merge commit 'b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac' into gingerbread-plus-aosp
* commit 'b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac':
libc: tag missing functions in system headers.
2010-10-11 06:11:56 -07:00
David 'Digit' Turner
bb5581ad6e
libc: tag missing functions in system headers.
...
This matches recent changes in the NDK header.
We enclose missing functions in #if 0 .. #endif blocks
with a clear "MISSING" in comments in order to locate
them later.
Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
2010-10-09 17:56:55 +02:00
repo sync
319de1758c
am 686af0b3
: resolved conflicts for merge of defd1622
to gingerbread-plus-aosp
...
Merge commit '686af0b3a5978356be3b1a97187c765d63f11623'
* commit '686af0b3a5978356be3b1a97187c765d63f11623':
libc: add <sys/eventfd.h> and corresponding implementations.
2010-09-28 12:48:34 -07:00
David 'Digit' Turner
2336503264
am a511f245
: am 9973a564
: libc: Add missing waitid() implementation.
...
Merge commit 'a511f245614d8e6c7700df624e13a41a084ad7e4'
* commit 'a511f245614d8e6c7700df624e13a41a084ad7e4':
libc: Add missing waitid() implementation.
2010-09-28 12:48:32 -07:00
David 'Digit' Turner
37c4305633
am 052fbd88
: am a3ae60d3
: libc: Add missing fdatasync() implementation
...
Merge commit '052fbd88080c88b7f568612dcac7579092c2e3d9'
* commit '052fbd88080c88b7f568612dcac7579092c2e3d9':
libc: Add missing fdatasync() implementation
2010-09-28 12:48:28 -07:00
David 'Digit' Turner
6f39e611f3
am 914528cd
: am 223ddfcf
: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
...
Merge commit '914528cdc90dced0c07055d4d986e68adc8da60c'
* commit '914528cdc90dced0c07055d4d986e68adc8da60c':
libc: Add missing pipe2() declaration and implementation.
2010-09-28 12:48:15 -07:00
David 'Digit' Turner
2172188923
am 9aac3824
: am bd8d987b
: libc: remove C++ comments from public headers.
...
Merge commit '9aac38249b579282ae8eaa630de3deaf97c4edff'
* commit '9aac38249b579282ae8eaa630de3deaf97c4edff':
libc: remove C++ comments from public headers.
2010-09-28 12:48:07 -07:00
repo sync
686af0b3a5
resolved conflicts for merge of defd1622
to gingerbread-plus-aosp
...
Conflicts:
libc/arch-arm/syscalls/eventfd.S
libc/include/sys/eventfd.h
libc/include/sys/linux-syscalls.h
Change-Id: I02f6e9536aa5478322240c199ff4c2f4367922d0
2010-09-28 12:23:55 +02:00
David 'Digit' Turner
a511f24561
am 9973a564
: libc: Add missing waitid() implementation.
...
Merge commit '9973a564222b842eb7497fd6e659fe8c8c49e2b3' into gingerbread-plus-aosp
* commit '9973a564222b842eb7497fd6e659fe8c8c49e2b3':
libc: Add missing waitid() implementation.
2010-09-28 00:22:25 -07:00
David 'Digit' Turner
defd162212
libc: add <sys/eventfd.h> and corresponding implementations.
...
Change-Id: Ide040884c456190226e580513099fdb8377e015b
2010-09-28 09:20:37 +02:00
David 'Digit' Turner
052fbd8808
am a3ae60d3
: libc: Add missing fdatasync() implementation
...
Merge commit 'a3ae60d343661784e3f6f4566b276d8e6b8a06a7' into gingerbread-plus-aosp
* commit 'a3ae60d343661784e3f6f4566b276d8e6b8a06a7':
libc: Add missing fdatasync() implementation
2010-09-28 00:19:31 -07:00
David 'Digit' Turner
9973a56422
libc: Add missing waitid() implementation.
...
Change-Id: I312ee608dbf9249e4886a10d45d13e3cda8a9042
2010-09-28 09:18:26 +02:00
David 'Digit' Turner
a3ae60d343
libc: Add missing fdatasync() implementation
...
Change-Id: I04bb655d77e414021e1f2a973329167ad76ca1c4
2010-09-28 09:17:17 +02:00
David 'Digit' Turner
914528cdc9
am 223ddfcf
: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
...
Merge commit '223ddfcfc4cb354641e70da31a60556248db5036' into gingerbread-plus-aosp
* commit '223ddfcfc4cb354641e70da31a60556248db5036':
libc: Add missing pipe2() declaration and implementation.
2010-09-28 00:13:48 -07:00
David 'Digit' Turner
9aac38249b
am bd8d987b
: libc: remove C++ comments from public headers.
...
Merge commit 'bd8d987b3c3aa6d9d00cede2cb091f00bdb42204' into gingerbread-plus-aosp
* commit 'bd8d987b3c3aa6d9d00cede2cb091f00bdb42204':
libc: remove C++ comments from public headers.
2010-09-28 00:13:43 -07:00
David 'Digit' Turner
223ddfcfc4
Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
2010-09-28 00:12:08 -07:00
David 'Digit' Turner
bd8d987b3c
libc: remove C++ comments from public headers.
...
Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032
2010-09-27 17:35:26 +02:00
David 'Digit' Turner
275cd48511
libc: Add missing pipe2() declaration and implementation.
...
Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
2010-09-27 17:33:08 +02:00
Jim Huang
9d16a79b18
Hide the symbol of helper function __libc_android_abort
...
Ideally __libc_android_abort would be static, but it could not be
because gcc would not allow calling a static function from an asm
statement. Instead, using GCC visibility is work around.
Change-Id: Ifff6b9957ca3f0fc03c75c3e42582a48d43cefa2
2010-09-27 22:20:59 +08:00
Keith Deacon
8f670c8e41
am d7b156d2
: am 3a1bbee3
: Add eventfd system call support
...
Merge commit 'd7b156d2a38e58ab1e5f9e6a4b420588aeb78b46'
* commit 'd7b156d2a38e58ab1e5f9e6a4b420588aeb78b46':
Add eventfd system call support
2010-09-08 03:10:44 -07:00
Keith Deacon
d7b156d2a3
am 3a1bbee3
: Add eventfd system call support
...
Merge commit '3a1bbee36b773862e88c6f1895b607c0cd81b499' into gingerbread-plus-aosp
* commit '3a1bbee36b773862e88c6f1895b607c0cd81b499':
Add eventfd system call support
2010-09-08 03:06:26 -07:00
Keith Deacon
3a1bbee36b
Add eventfd system call support
2010-08-31 16:16:01 -05:00
Jeff Hamilton
2304a0bf86
Fix pwrite to take a const void* instead of void* for the buffer.
...
Change-Id: I10b315946b8f8f7e34825410dfef37e0220edbee
2010-08-11 11:28:26 -05:00
Dima Zavin
18c5bcc66a
Revert "Set SA_RESTORER in sigaction()"
...
This reverts commit e4fa46e75c
.
2010-07-29 19:12:04 -07:00
David 'Digit' Turner
ab8b54101e
libc: fix fstatfs() implementation.
...
The syscall expects the size of the buffer as the second argument.
Change-Id: I99ede2fec7fcd385ca03ff022c2cffa4297bea8d
2010-07-08 16:52:27 -07:00
David 'Digit' Turner
50ace4fec5
Remove compiler warnings when building Bionic.
...
Also add missing declarations to misc. functions.
Fix clearerr() implementation (previous was broken).
Handle feature test macros like _POSIX_C_SOURCE properly.
Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
2010-06-22 17:51:41 -07:00
David 'Digit' Turner
3527fd6f0d
wchar.h: improve wchar_t support in Bionic
...
Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
2010-06-15 07:04:41 -07:00
David 'Digit' Turner
aa4b1d0429
Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - DO NOT MERGE
...
Change-Id: Iac4eb5911ffe4a7ab72b84df44e907685ac816af
2010-06-09 13:12:15 -07:00
The Android Open Source Project
4aef0ae660
merge from open-source master
...
Change-Id: I2be62bce462ee53fe9519f433523bd7a44a73d40
2010-05-13 14:31:02 -07:00
Matt Fischer
e4fa46e75c
Set SA_RESTORER in sigaction()
...
GDB looks for specific opcode sequences when trying to recognize a stack
frame as a signal trampoline. The sequences it looks for happen to be those
created when SA_RESTORER is set, since glibc always sets a restorer. This
patch does the same here, so that the trampolines can be correctly identified.
Change-Id: I0ac574a68818cb24d939c3527f3aaeb04b853d04
2010-05-12 14:18:36 -05:00
Mike Chan
9f6915631b
bonic: libc: cpuacct support for setuid functions
...
Any of the setuid functions now updates /acct/uid/ with its own tid
before changing users. This is so we can properly account for cpu time
per uid.
Change-Id: I34186cf4d5228cac8439e582a9e26c01ef3011e4
Signed-off-by: Mike Chan <mike@android.com>
2010-03-02 18:18:04 -08:00
Andrei Popescu
eb9d5ed347
add sigaltstack syscall
2010-03-02 11:43:24 +00:00
San Mehat
75c5e25ae3
bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappers
...
Signed-off-by: San Mehat <san@google.com>
2010-02-23 15:55:29 -08:00
David 'Digit' Turner
49f0a8f23b
Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ inclusion guards
2010-02-09 14:05:43 -08:00
David 'Digit' Turner
97cf7f3394
Implement clone() C library function properly.
...
Only provide an implementation for ARM at the moment, since
it requires specific assembly fragments (the standard syscall
stubs cannot be used because the child returns in a different
stack).
2010-01-25 11:18:30 -08:00
Colin Cross
64ceac3f49
Add fts, err, and sys/queue for grep
...
Change-Id: Id47514a1812d828e95efa2fab0e9c15c5b682b58
2010-01-15 15:57:02 -08:00
Colin Cross
e9d08ba523
Add definition of rlim_t
...
Change-Id: Ie8c2451360cbcce9fc1587528a95aca09a03d0de
2010-01-15 15:57:02 -08:00
Thorsten Glaser
92b10af793
Add the BSD sys_signame array.
...
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2009-11-05 15:50:05 -08:00
Android Code Review
4e30c09e57
Merge change 10538
...
* changes:
added syscalls for SuperH which automatically generate by gensyscalls.py
2009-09-20 23:39:18 -07:00
Tony Sim
336efb5267
added syscalls for SuperH which automatically generate by gensyscalls.py
2009-07-01 15:35:27 +09:00
David 'Digit' Turner
09baf4e881
Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure
2009-06-22 12:16:06 +02:00
The Android Open Source Project
1dc9e472e1
auto import from //depot/cupcake/@135843
2009-03-03 19:28:35 -08:00
The Android Open Source Project
1767f908af
auto import from //depot/cupcake/@135843
2009-03-03 18:28:13 -08:00
The Android Open Source Project
6f04a0f4c7
auto import from //branches/cupcake/...@132276
2009-02-19 10:57:29 -08:00
The Android Open Source Project
9f65adf2ba
auto import from //branches/cupcake/...@130745
2009-02-10 15:43:56 -08:00
The Android Open Source Project
e5cc1f386b
auto import from //branches/cupcake/...@126645
2009-01-15 16:12:07 -08:00
The Android Open Source Project
6d6c82c7a0
auto import from //branches/cupcake/...@125939
2009-01-09 17:50:54 -08:00