David 'Digit' Turner
72e6fd4242
<sched.h>: Add sched_getcpu() and cpu_set_t
...
This adds the cpu_set_t type definition and related functions
and macros used to handle CPU thread affinity.
sched_getcpu()
sched_setaffinity()
sched_getaffinity()
Change-Id: If382ecafde8926341a88478062b275553645065b
2010-12-06 13:42:54 +01: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
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
275cd48511
libc: Add missing pipe2() declaration and implementation.
...
Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
2010-09-27 17:33:08 +02: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
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
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
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
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
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