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
The Android Open Source Project
4e468ed2eb
Code drop from //branches/cupcake/...@124589
2008-12-17 18:03:48 -08:00
The Android Open Source Project
a27d2baa0c
Initial Contribution
2008-10-21 07:00:00 -07:00