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
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
275cd48511
libc: Add missing pipe2() declaration and implementation.
...
Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
2010-09-27 17:33:08 +02: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
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
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
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
Shin-ichiro KAWASAKI
ce0595d01d
modified SYSCALLS.TXT to support SuperH architecture
2009-09-01 19:03:06 +09: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
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