• Home
  • History
  • Annotate
  • only in /bionic/libc/arch-mips/syscalls/
History log of /bionic/libc/arch-mips/syscalls/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9e833bf0cf2c5bc0e6b65e4d96aa4f2b33113771 11-Sep-2014 Elliott Hughes <enh@google.com> Fix mips __fadvise64.S build failure.

Bug: 12449798

(cherry picked from commit 9990b3973bdfcda5419c06886215147a878222f1)

Change-Id: Iba92e2aa262666a59fc38b870dfd9f4082eeb628
_fadvise64.S
00008263782e484020420c606f7d145fe7d0a4d8 11-Sep-2014 Elliott Hughes <enh@google.com> Add posix_fadvise(3).

Bug: 12449798
Change-Id: I07cbf3f670a0d1304b68148325a774f266b5c433
_fadvise64.S
7efad83d430f4d824f2aaa75edea5106f6ff8aae 09-Sep-2014 Elliott Hughes <enh@google.com> Ensure __set_errno is still visible on LP32.

The use of the .hidden directive to avoid going via the PLT for
__set_errno had the side-effect of actually making __set_errno
hidden (which is odd because assembler directives don't usually
affect symbols defined in a different file --- you can't even
create a weak reference to a symbol that's defined in a different
file).

This change switches the system call stubs over to a new always-hidden
__set_errno_internal and has a visible __set_errno on LP32 just for
binary compatibility with old NDK apps.

Bug: 17423135
Change-Id: I6b6d7a05dda85f923d22e5ffd169a91e23499b7b
_accept4.S
_brk.S
_connect.S
_epoll_pwait.S
_exit.S
_fcntl64.S
_fstatfs64.S
_getcpu.S
_getcwd.S
_getdents64.S
_getpid.S
_getpriority.S
_ioctl.S
_llseek.S
_mmap2.S
_openat.S
_ppoll.S
_pselect6.S
_ptrace.S
_reboot.S
_rt_sigaction.S
_rt_sigpending.S
_rt_sigprocmask.S
_rt_sigsuspend.S
_rt_sigtimedwait.S
_sched_getaffinity.S
_set_tid_address.S
_set_tls.S
_sigaction.S
_signalfd4.S
_socket.S
_statfs64.S
_timer_create.S
_timer_delete.S
_timer_getoverrun.S
_timer_gettime.S
_timer_settime.S
_waitid.S
exit.S
flush_cache.S
cct.S
ind.S
apget.S
apset.S
hdir.S
hroot.S
lock_getres.S
lock_gettime.S
lock_nanosleep.S
lock_settime.S
lose.S
elete_module.S
up.S
up3.S
poll_create1.S
poll_ctl.S
ventfd.S
xecve.S
accessat.S
allocate64.S
chdir.S
chmod.S
chmodat.S
chown.S
chownat.S
datasync.S
getxattr.S
listxattr.S
lock.S
removexattr.S
setxattr.S
stat64.S
statat64.S
sync.S
truncate.S
truncate64.S
etegid.S
eteuid.S
etgid.S
etgroups.S
etitimer.S
etpeername.S
etpgid.S
etppid.S
etresgid.S
etresuid.S
etrlimit.S
etrusage.S
etsid.S
etsockname.S
etsockopt.S
ettimeofday.S
etuid.S
etxattr.S
nit_module.S
notify_add_watch.S
notify_init1.S
notify_rm_watch.S
ill.S
logctl.S
getxattr.S
inkat.S
isten.S
istxattr.S
listxattr.S
removexattr.S
seek.S
setxattr.S
advise.S
incore.S
kdirat.S
knodat.S
lock.S
lockall.S
ount.S
protect.S
remap.S
sync.S
unlock.S
unlockall.S
unmap.S
anosleep.S
ersonality.S
ipe2.S
rctl.S
read64.S
rlimit64.S
write64.S
ead.S
eadahead.S
eadlinkat.S
eadv.S
ecvfrom.S
ecvmmsg.S
ecvmsg.S
emovexattr.S
enameat.S
ched_get_priority_max.S
ched_get_priority_min.S
ched_getparam.S
ched_getscheduler.S
ched_rr_get_interval.S
ched_setaffinity.S
ched_setparam.S
ched_setscheduler.S
ched_yield.S
endfile.S
endfile64.S
endmmsg.S
endmsg.S
endto.S
etfsgid.S
etfsuid.S
etgid.S
etgroups.S
etitimer.S
etns.S
etpgid.S
etpriority.S
etregid.S
etresgid.S
etresuid.S
etreuid.S
etrlimit.S
etsid.S
etsockopt.S
ettimeofday.S
etuid.S
etxattr.S
hutdown.S
igaltstack.S
ocketpair.S
plice.S
wapoff.S
wapon.S
ymlinkat.S
ync.S
ysinfo.S
ee.S
gkill.S
imerfd_create.S
imerfd_gettime.S
imerfd_settime.S
imes.S
runcate.S
runcate64.S
mask.S
mount2.S
name.S
nlinkat.S
nshare.S
timensat.S
msplice.S
ait4.S
rite.S
ritev.S
e35fd48a832cddbedcf84773fd1922f735ae7829 09-Aug-2014 Dan Albert <danalbert@google.com> Make __set_errno hidden in asm.

This fixes the build after the -Bsymbolic change.

Bug: 16853291
Change-Id: I989c9fec3c32e0289ea257a3bd2b7fd2709b6ce2
(cherry picked from commit bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7)
_accept4.S
_brk.S
_connect.S
_epoll_pwait.S
_exit.S
_fcntl64.S
_fstatfs64.S
_getcpu.S
_getcwd.S
_getdents64.S
_getpid.S
_getpriority.S
_ioctl.S
_llseek.S
_mmap2.S
_openat.S
_ppoll.S
_pselect6.S
_ptrace.S
_reboot.S
_rt_sigaction.S
_rt_sigpending.S
_rt_sigprocmask.S
_rt_sigsuspend.S
_rt_sigtimedwait.S
_sched_getaffinity.S
_set_tid_address.S
_set_tls.S
_sigaction.S
_signalfd4.S
_socket.S
_statfs64.S
_timer_create.S
_timer_delete.S
_timer_getoverrun.S
_timer_gettime.S
_timer_settime.S
_waitid.S
exit.S
flush_cache.S
cct.S
ind.S
apget.S
apset.S
hdir.S
hroot.S
lock_getres.S
lock_gettime.S
lock_nanosleep.S
lock_settime.S
lose.S
elete_module.S
up.S
up3.S
poll_create1.S
poll_ctl.S
ventfd.S
xecve.S
accessat.S
allocate64.S
chdir.S
chmod.S
chmodat.S
chown.S
chownat.S
datasync.S
getxattr.S
listxattr.S
lock.S
removexattr.S
setxattr.S
stat64.S
statat64.S
sync.S
truncate.S
truncate64.S
etegid.S
eteuid.S
etgid.S
etgroups.S
etitimer.S
etpeername.S
etpgid.S
etppid.S
etresgid.S
etresuid.S
etrlimit.S
etrusage.S
etsid.S
etsockname.S
etsockopt.S
ettimeofday.S
etuid.S
etxattr.S
nit_module.S
notify_add_watch.S
notify_init1.S
notify_rm_watch.S
ill.S
logctl.S
getxattr.S
inkat.S
isten.S
istxattr.S
listxattr.S
removexattr.S
seek.S
setxattr.S
advise.S
incore.S
kdirat.S
knodat.S
lock.S
lockall.S
ount.S
protect.S
remap.S
sync.S
unlock.S
unlockall.S
unmap.S
anosleep.S
ersonality.S
ipe2.S
rctl.S
read64.S
rlimit64.S
write64.S
ead.S
eadahead.S
eadlinkat.S
eadv.S
ecvfrom.S
ecvmmsg.S
ecvmsg.S
emovexattr.S
enameat.S
ched_get_priority_max.S
ched_get_priority_min.S
ched_getparam.S
ched_getscheduler.S
ched_rr_get_interval.S
ched_setaffinity.S
ched_setparam.S
ched_setscheduler.S
ched_yield.S
endfile.S
endfile64.S
endmmsg.S
endmsg.S
endto.S
etfsgid.S
etfsuid.S
etgid.S
etgroups.S
etitimer.S
etns.S
etpgid.S
etpriority.S
etregid.S
etresgid.S
etresuid.S
etreuid.S
etrlimit.S
etsid.S
etsockopt.S
ettimeofday.S
etuid.S
etxattr.S
hutdown.S
igaltstack.S
ocketpair.S
plice.S
wapoff.S
wapon.S
ymlinkat.S
ync.S
ysinfo.S
ee.S
gkill.S
imerfd_create.S
imerfd_gettime.S
imerfd_settime.S
imes.S
runcate.S
runcate64.S
mask.S
mount2.S
name.S
nlinkat.S
nshare.S
timensat.S
msplice.S
ait4.S
rite.S
ritev.S
4f76469e88e255bab1f8264e9ff8b95bff84365f 31-Jul-2014 Elliott Hughes <enh@google.com> Implement <sys/fsuid.h>.

(cherry picked from commit 79310994d2b3826a10598f7e7795acb5edb42a20)

Change-Id: I47688273691e5c95e5e9302eba254ccaaaad40ca
etfsgid.S
etfsuid.S
3f525d41c2acde2ae3309cf839d83d7f41ab2fe6 25-Jun-2014 Elliott Hughes <enh@google.com> Add splice, tee, and vmsplice.

Change-Id: I5f43380b88d776a8bb607b47dbbc5db5a2fe6163
plice.S
ee.S
msplice.S
7086ad6919feb2415c6027163f5c63323bcca27c 20-Jun-2014 Elliott Hughes <enh@google.com> Cache getpid.

In practice, with this implementation we never need to make a system call.
We get the main thread's tid (which is the same as our pid) back from
the set_tid_address system call we have to make during initialization.
A new pthread will have the same pid as its parent, and a fork child's
main (and only) thread will have a pid equal to its tid, which we get for
free from the kernel before clone returns.

The only time we'd actually have to make a getpid system call now is if
we take a signal during fork and the signal handler calls getpid. (That,
or we call getpid in the dynamic linker while it's still dealing with its
own relocations and hasn't even set up the main thread yet.)

Bug: 15387103
Change-Id: I6d4718ed0a5c912fc75b5f738c49a023dbed5189
_getpid.S
etpid.S
607341e226912d95d03216483bdcef6f8d96f8b4 13-Jun-2014 Dan Albert <danalbert@google.com> Remove ioprio_get(2) and ioprio_set(2) from LP64.

Bug: 11156955
Change-Id: I07b596d85e4bd6347d488d1a92c8d0a00b5ef3b3
oprio_get.S
oprio_set.S
3d5cb30d23cfc6a72f01c00246e69a2c614c8228 06-Jun-2014 Elliott Hughes <enh@google.com> Remove getdents from bionic.

Bug: 11156955
Change-Id: I6c306989801be552d85fba8a50dcdc79282fb9d2
_getdents64.S
etdents.S
5d9a7ba0dc9c24ed4e4efa9cac0e796fd524b308 31-May-2014 Elliott Hughes <enh@google.com> Avoid a system call in 'gettid'.

System calls can be pretty slow. This is mako, which has one of our
lowest latencies:

iterations ns/op
BM_unistd_getpid 10000000 209
BM_unistd_gettid 200000000 8

Bug: 15297299 (kernel panic from too many gettid calls)
Bug: 15315766 (excessive gettid overhead in liblogd)
Change-Id: I49656c0fc5b5d092390264a59e4f2c0d8a8b1aeb
ettid.S
b30aff405a220495941f1673b0a5e66c4fa8b84c 28-May-2014 Elliott Hughes <enh@google.com> Revert "Revert "Lose the hand-written futex assembler.""

The problem with the original patch was that using syscall(3) means that
errno can be set, but pthread_create(3) was abusing the TLS errno slot as
a pthread_mutex_t for the thread startup handshake.

There was also a mistake in the check for syscall failures --- it should
have checked against -1 instead of 0 (not just because that's the default
idiom, but also here because futex(2) can legitimately return values > 0).

This patch stops abusing the TLS errno slot and adds a pthread_mutex_t to
pthread_internal_t instead. (Note that for LP64 sizeof(pthread_mutex_t) >
sizeof(uintptr_t), so we could potentially clobber other TLS slots too.)

I've also rewritten the LP32 compatibility stubs to directly reuse the
code from the .h file.

This reverts commit 75c55ff84ebfa686c7ae2cc8ee431c6a33bd46b4.

Bug: 15195455
Change-Id: I6ffb13e5cf6a35d8f59f692d94192aae9ab4593d
utex.S
75c55ff84ebfa686c7ae2cc8ee431c6a33bd46b4 28-May-2014 Narayan Kamath <narayan@google.com> Revert "Lose the hand-written futex assembler."

This reverts commit ced906c849704f379d7191822f6d74993d4fa296.

Causes issues on art / dalvik due to a broken return value
check and other undiagnosed issues.

bug: 15195455

Change-Id: I5d6bbb389ecefb0e33a5237421a9d56d32a9317c
utex.S
ced906c849704f379d7191822f6d74993d4fa296 23-May-2014 Elliott Hughes <enh@google.com> Lose the hand-written futex assembler.

Also stop exporting 'futex'.

Bug: 12250341
Change-Id: Icc4fa4296cd04dfe0d1061822c69e2eb40c3433a
utex.S
6e599a904b1f033cfaf79febff686f6296089a7d 22-May-2014 Elliott Hughes <enh@google.com> Remove the tkill(2) stub.

glibc doesn't have tkill or tgkill and says "use syscall(3) instead".
I've left tgkill since it's quite widely used, but there's no reason
to have tkill as well.

Bug: 11156955
Change-Id: Ifc0af750320086f829bc9914551c172b501f3b60
kill.S
46a55a4478db9e335bdc7f73ee2cf3a66fe673fd 21-May-2014 Elliott Hughes <enh@google.com> Remove __syslog; we have the public klogctl API.

Bug: 11156955
Change-Id: I5c2cc02f39f76dd32984135f5c12c10bf2853796
_syslog.S
4e631ba5688db2fae7bbc476982055a376102146 21-May-2014 Elliott Hughes <enh@google.com> Remove perf_event_open.

This was accidentally added at a time when you couldn't add a constant
to <syscall.h> without generating an assembly stub! (You no longer need
to add the constants at all.)

Bug: 11156955
Change-Id: I053c17879138787976c744a5ecf7d30ee51dc48f
erf_event_open.S
903b78873a744d3fba187e4bd22008ba21162e51 19-May-2014 Sreeram Ramachandran <sreeram@google.com> Mark sockets on creation (socket()) and accept4().

Remove the separate syscall for accept() and implement it as accept4(..., 0).

Change-Id: Ib0b8f5d7c5013b91eae6bbc3847852eb355c7714
_accept.S
_accept4.S
_socket.S
ccept4.S
ocket.S
7222b1b594a8fab4b9e744d764b70e4c17767794 17-May-2014 Elliott Hughes <enh@google.com> Hide __signalfd4, used to implement signalfd(3).

Bug: 11156955
Change-Id: I50842279cb5b32ec8bd45193435574e415cd806e
_signalfd4.S
ignalfd4.S
8f0cd8aa22906c3e678738eeba20fc1a5c399b6c 14-May-2014 Sreeram Ramachandran <sreeram@google.com> Mark sockets on accept().

(cherry picked from commit 58b1f3f6a30a660ad81637c2b50382c3d279243b)

Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
_accept.S
ccept.S
ceb5bd787c8ce281e5f4343c5d4f77b41c3e2919 12-May-2014 Sreeram Ramachandran <sreeram@google.com> Introduce netd_client, a dynamic library that talks to netd.

The library exists outside bionic. It is dynamically loaded, to replace selected
standard socket syscalls with versions that talk to netd.

Change connect() to use the library if available.

(cherry picked from commit 3a6b627a14df8111b03e452f2df4b5f4938e0e49)

Change-Id: Ib6198e19dbc306521a26fcecfdf6e8424d163fc9
_connect.S
onnect.S
dcbef06ce6bb21d62d5a32148a3e64746b47b449 13-May-2014 Elliott Hughes <enh@google.com> Remove the useless indirection in mips' __set_tls.

Change-Id: I12e9d6716c42ccbccc9a186441aca0736bb22d05
_set_thread_area.S
_set_tls.S
9f525644df99cb2f7f81a23ca23840f0a8f82275 09-Apr-2014 Elliott Hughes <enh@google.com> Implement _Exit(3).

Change-Id: Ida6ac844cc87d38c9645b197dd8188bb73e27dbe
exit.S
8f2a30a92ab6981cccbc1a9e17b738f7542ae33f 26-Mar-2014 Andrei Emeltchenko <andrei.emeltchenko@intel.com> Add accept4() syscall

Add accept4() using SYSCALLS.TXT and gensyscall

Change-Id: I6f19f29144186d15d46423e10f2cc4b4223719c6
ccept4.S
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
ecvmmsg.S
endmmsg.S
9abbbdc5346020e33a8fdbe7254dd0fdff9df616 19-Feb-2014 Elliott Hughes <enh@google.com> Make mips/mips64 syscall stubs more like the other architectures.

Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8
_brk.S
_epoll_pwait.S
_exit.S
_fcntl64.S
_fstatfs64.S
_getcpu.S
_getcwd.S
_getpriority.S
_ioctl.S
_llseek.S
_mmap2.S
_openat.S
_ppoll.S
_pselect6.S
_ptrace.S
_reboot.S
_rt_sigaction.S
_rt_sigpending.S
_rt_sigprocmask.S
_rt_sigsuspend.S
_rt_sigtimedwait.S
_sched_getaffinity.S
_set_thread_area.S
_set_tid_address.S
_sigaction.S
_statfs64.S
_syslog.S
_timer_create.S
_timer_delete.S
_timer_getoverrun.S
_timer_gettime.S
_timer_settime.S
_waitid.S
exit.S
flush_cache.S
ccept.S
cct.S
ind.S
apget.S
apset.S
hdir.S
hroot.S
lock_getres.S
lock_gettime.S
lock_nanosleep.S
lock_settime.S
lose.S
onnect.S
elete_module.S
up.S
up3.S
poll_create1.S
poll_ctl.S
ventfd.S
xecve.S
accessat.S
allocate64.S
chdir.S
chmod.S
chmodat.S
chown.S
chownat.S
datasync.S
getxattr.S
listxattr.S
lock.S
removexattr.S
setxattr.S
stat64.S
statat64.S
sync.S
truncate.S
truncate64.S
utex.S
etdents.S
etegid.S
eteuid.S
etgid.S
etgroups.S
etitimer.S
etpeername.S
etpgid.S
etpid.S
etppid.S
etresgid.S
etresuid.S
etrlimit.S
etrusage.S
etsid.S
etsockname.S
etsockopt.S
ettid.S
ettimeofday.S
etuid.S
etxattr.S
nit_module.S
notify_add_watch.S
notify_init1.S
notify_rm_watch.S
oprio_get.S
oprio_set.S
ill.S
logctl.S
getxattr.S
inkat.S
isten.S
istxattr.S
listxattr.S
removexattr.S
seek.S
setxattr.S
advise.S
incore.S
kdirat.S
knodat.S
lock.S
lockall.S
ount.S
protect.S
remap.S
sync.S
unlock.S
unlockall.S
unmap.S
anosleep.S
erf_event_open.S
ersonality.S
ipe2.S
rctl.S
read64.S
rlimit64.S
write64.S
ead.S
eadahead.S
eadlinkat.S
eadv.S
ecvfrom.S
ecvmsg.S
emovexattr.S
enameat.S
ched_get_priority_max.S
ched_get_priority_min.S
ched_getparam.S
ched_getscheduler.S
ched_rr_get_interval.S
ched_setaffinity.S
ched_setparam.S
ched_setscheduler.S
ched_yield.S
endfile.S
endfile64.S
endmsg.S
endto.S
etgid.S
etgroups.S
etitimer.S
etns.S
etpgid.S
etpriority.S
etregid.S
etresgid.S
etresuid.S
etreuid.S
etrlimit.S
etsid.S
etsockopt.S
ettimeofday.S
etuid.S
etxattr.S
hutdown.S
igaltstack.S
ignalfd4.S
ocket.S
ocketpair.S
wapoff.S
wapon.S
ymlinkat.S
ync.S
ysinfo.S
gkill.S
imerfd_create.S
imerfd_gettime.S
imerfd_settime.S
imes.S
kill.S
runcate.S
runcate64.S
mask.S
mount2.S
name.S
nlinkat.S
nshare.S
timensat.S
ait4.S
rite.S
ritev.S
eae27dc55adca75c2332e4b767ec667acfbbbcb3 19-Feb-2014 Elliott Hughes <enh@google.com> Make mips generated assembler more like the mips64 stuff.

I broke the mips build yesterday because it doesn't use
<private/bionic_asm.h> like the other architectures, including mips64.
I want to move mips closer to mips64 to try to avoid this kind of thing
in future.

Change-Id: Idb985587ff355b9e5e765c1f5671dc0144cd2488
_brk.S
_epoll_pwait.S
_exit.S
_fcntl64.S
_fstatfs64.S
_getcpu.S
_getcwd.S
_getpriority.S
_ioctl.S
_llseek.S
_mmap2.S
_openat.S
_ppoll.S
_pselect6.S
_ptrace.S
_reboot.S
_rt_sigaction.S
_rt_sigpending.S
_rt_sigprocmask.S
_rt_sigsuspend.S
_rt_sigtimedwait.S
_sched_getaffinity.S
_set_thread_area.S
_set_tid_address.S
_sigaction.S
_statfs64.S
_syslog.S
_timer_create.S
_timer_delete.S
_timer_getoverrun.S
_timer_gettime.S
_timer_settime.S
_waitid.S
exit.S
flush_cache.S
ccept.S
cct.S
ind.S
apget.S
apset.S
hdir.S
hroot.S
lock_getres.S
lock_gettime.S
lock_nanosleep.S
lock_settime.S
lose.S
onnect.S
elete_module.S
up.S
up3.S
poll_create1.S
poll_ctl.S
ventfd.S
xecve.S
accessat.S
allocate64.S
chdir.S
chmod.S
chmodat.S
chown.S
chownat.S
datasync.S
getxattr.S
listxattr.S
lock.S
removexattr.S
setxattr.S
stat64.S
statat64.S
sync.S
truncate.S
truncate64.S
utex.S
etdents.S
etegid.S
eteuid.S
etgid.S
etgroups.S
etitimer.S
etpeername.S
etpgid.S
etpid.S
etppid.S
etresgid.S
etresuid.S
etrlimit.S
etrusage.S
etsid.S
etsockname.S
etsockopt.S
ettid.S
ettimeofday.S
etuid.S
etxattr.S
nit_module.S
notify_add_watch.S
notify_init1.S
notify_rm_watch.S
oprio_get.S
oprio_set.S
ill.S
logctl.S
getxattr.S
inkat.S
isten.S
istxattr.S
listxattr.S
removexattr.S
seek.S
setxattr.S
advise.S
incore.S
kdirat.S
knodat.S
lock.S
lockall.S
ount.S
protect.S
remap.S
sync.S
unlock.S
unlockall.S
unmap.S
anosleep.S
erf_event_open.S
ersonality.S
ipe2.S
rctl.S
read64.S
rlimit64.S
write64.S
ead.S
eadahead.S
eadlinkat.S
eadv.S
ecvfrom.S
ecvmsg.S
emovexattr.S
enameat.S
ched_get_priority_max.S
ched_get_priority_min.S
ched_getparam.S
ched_getscheduler.S
ched_rr_get_interval.S
ched_setaffinity.S
ched_setparam.S
ched_setscheduler.S
ched_yield.S
endfile.S
endfile64.S
endmsg.S
endto.S
etgid.S
etgroups.S
etitimer.S
etns.S
etpgid.S
etpriority.S
etregid.S
etresgid.S
etresuid.S
etreuid.S
etrlimit.S
etsid.S
etsockopt.S
ettimeofday.S
etuid.S
etxattr.S
hutdown.S
igaltstack.S
ignalfd4.S
ocket.S
ocketpair.S
wapoff.S
wapon.S
ymlinkat.S
ync.S
ysinfo.S
gkill.S
imerfd_create.S
imerfd_gettime.S
imerfd_settime.S
imes.S
kill.S
runcate.S
runcate64.S
mask.S
mount2.S
name.S
nlinkat.S
nshare.S
timensat.S
ait4.S
rite.S
ritev.S
986f9067103e41296898a7c0e89f5ed84420fb5b 19-Feb-2014 Elliott Hughes <enh@google.com> Fix build by avoiding the _C_LABEL macro.

Change-Id: Ide367c2b65071388bd95fbc81a4ed6ae94aec4e4
stat64.S
statat64.S
db1ea3474899ebbd783aba872d3005f95a816d0f 18-Jan-2014 Elliott Hughes <enh@google.com> Implement some of the missing LFS64 support.

This gives us:

* <dirent.h>
struct dirent64
readdir64, readdir64_r, alphasort64, scandir64

* <fcntl.h>
creat64, openat64, open64.

* <sys/stat.h>
struct stat64
fstat64, fstatat64, lstat64, stat64.

* <sys/statvfs.h>
struct statvfs64
statvfs64, fstatvfs64.

* <sys/vfs.h>
struct statfs64
statfs64, fstatfs64.

This also removes some of the incorrect #define hacks we've had in the
past (for stat64, for example, which we promised to clean up way back
in bug 8472078).

Bug: 11865851
Bug: 8472078
Change-Id: Ia46443521918519f2dfa64d4621027dfd13ac566
stat.S
stat64.S
statat.S
statat64.S
f64b8ea09db3bdd84eed59f7721301743332b3fe 04-Feb-2014 Elliott Hughes <enh@google.com> Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.

Bug: 5287571
Bug: 12612860
Change-Id: I4501b9c6cdf9a830336ce0b3afc4ea716b6a0f6f
allocate64.S
0f461e35f63200641fc53bba222845a84589c024 09-Jan-2014 Elliott Hughes <enh@google.com> Fix <sys/resource.h>.

The situation here is a bit confusing. On 64-bit, rlimit and rlimit64 are
the same, and so getrlimit/getrlimit64, setrlimit/setrlimit64,
and prlimit/prlimit64 are all the same. On 32-bit, rlimit and rlimit64 are
different. 32-bit architectures other than MIPS go one step further by having
an even more limited getrlimit system call, so arm and x86 need to use
ugetrlimit instead of getrlimit. Worse, the 32-bit architectures don't have
64-bit getrlimit- and setrlimit-equivalent system calls, and you have to use
prlimit64 instead. There's no 32-bit prlimit system call, so there's no
easy implementation of that --- what should we do if the result of prlimit64
won't fit in a struct rlimit? Since 32-bit survived without prlimit/prlimit64
for this long, I'm not going to bother implementing prlimit for 32-bit.

We need the rlimit64 functions to be able to build strace 4.8 out of the box.

Change-Id: I1903d913b23016a2fc3b9f452885ac730d71e001
rlimit64.S
887e1140fe7596fa1239a0bc802d2cdb51c57d3c 02-Jan-2014 Elliott Hughes <enh@google.com> Clean up <sched.h>.

This patch switches to using the uapi constants. It also adds the missing
setns system call, fixes sched_getcpu's error behavior, and fixes the
gensyscalls script now ARM is uapi-only too.

Change-Id: I8e16b1693d6d32cd9b8499e46b5d8b0a50bc4f1d
etns.S
36d6188f8cd8b948fb797f11d9620d63d0c2215a 19-Nov-2013 Elliott Hughes <enh@google.com> Clean up forking and cloning.

The kernel now maintains the pthread_internal_t::tid field for us,
and __clone was only used in one place so let's inline it so we don't
have to leave such a dangerous function lying around. Also rename
files to match their content and remove some useless #includes.

Change-Id: I24299fb4a940e394de75f864ee36fdabbd9438f9
_clone.S
877ec6d90418ff1d6597147d355a2229fdffae7e 16-Nov-2013 Elliott Hughes <enh@google.com> Fix pthread_join.

Let the kernel keep pthread_internal_t::tid updated, including
across forks and for the main thread. This then lets us fix
pthread_join to only return after the thread has really exited.

Also fix the thread attributes of the main thread so we don't
unmap the main thread's stack (which is really owned by the
dynamic linker and contains things like environment variables),
which fixes crashes when joining with an exited main thread
and also fixes problems reported publicly with accessing environment
variables after the main thread exits (for which I've added a new
unit test).

In passing I also fixed a bug where if the clone(2) inside
pthread_create(3) fails, we'd unmap the child's stack and TLS (which
contains the mutex) and then try to unlock the mutex. Boom! It wasn't
until after I'd uploaded the fix for this that I came across a new
public bug reporting this exact failure.

Bug: 8206355
Bug: 11693195
Bug: https://code.google.com/p/android/issues/detail?id=57421
Bug: https://code.google.com/p/android/issues/detail?id=62392
Change-Id: I2af9cf6e8ae510a67256ad93cad891794ed0580b
_set_tid_address.S
effaa7824da1af4db5cef50c78079d4c4e1717a7 13-Nov-2013 Chris Dearman <chris.dearman@imgtec.com> [MIPS] Reimplement syscall to invoke the system call directly

Some MIPS kernels do not correctly restart interrupted system calls that
have been invoked using the indirect syscall (NR_syscall).

The simplest workaround is to handle the indirection in userland and then
call the required system call directly.

Change-Id: I8385399621529db9a52b463c96925f6decaaca30
yscall.S
062092543fdbd6fa2676e4f5b37a15f7bba94332 07-Nov-2013 Elliott Hughes <enh@google.com> Clean up the 32-bit kernel support, fix LP64 fcntl declaration.

In practice, thanks to all the registers the stubs don't actually change,
but it's confusing to have an incorrect declaration.

I suspect that fcntl remains broken for aarch64; it happens to work for
x86_64 because the first vararg argument gets placed in the right register
anyway, but I have no reason to believe that's true for aarch64.

This patch adds a unit test, though, so we'll be able to tell when we get
as far as running the unit tests.

Change-Id: I58dd0054fe99d7d51d04c22781d8965dff1afbf3
_fcntl.S
6b53c2349a5a3fc70a475de6a66131b615e88e48 25-Oct-2013 Elliott Hughes <enh@google.com> Fix the exit syscall stub's name.

I've left the exit_group syscall as _exit because otherwise we'd have to
convince the compiler that our _exit (which just calls __exit_group) is
actually "noreturn", and it seems like that would be less clean than just
cutting out the middleman.

We'll just have to trust ourselves not to add anything to SYSCALLS.TXT
that ought to be private but that only has a single leading underscore.
Hopefully we can manage that.

Change-Id: Iac47faea9f516186e1774381846c54cafabc4354
_exit.S
exit_thread.S
11952073af22568bba0b661f7a9d4402c443a888 25-Oct-2013 Elliott Hughes <enh@google.com> Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls.

(aarch64 kernels don't have these system calls.)

Change-Id: I6f64075aa412f71520f2df71c3d69b647f91c1ca
_clone.S
_epoll_pwait.S
_fork.S
_open.S
_ppoll.S
_pselect6.S
_sys_clone.S
waitpid.S
poll_wait.S
ause.S
oll.S
elect.S
cac7b9d6ec1a09814bc028e2f768db732f018891 23-Oct-2013 Elliott Hughes <enh@google.com> Remove dependencies on obsolete __ARCH_WANT_SYSCALL_NO_FLAGS syscalls.

(aarch64 kernels only have the newer system calls.)

Also expose the new functionality that's exposed by glibc in our header files.

Change-Id: I45d2d168a03f88723d1f7fbf634701006a4843c5
up2.S
up3.S
poll_create.S
poll_create1.S
notify_init.S
notify_init1.S
f8fcfbc85a3ce3e195626b90736d3a484331494b 22-Oct-2013 Elliott Hughes <enh@google.com> Move away from the __ARCH_WANT_SYSCALL_NO_AT system calls.

Modern architectures only get the *at(2) system calls. For example,
aarch64 doesn't have open(2), and expects userspace to use openat(2)
instead.

Change-Id: I87b4ed79790cb8a80844f5544ac1a13fda26c7b5
ccess.S
hmod.S
hown.S
chown.S
ink.S
inkat.S
stat.S
kdir.S
knod.S
knodat.S
eadlink.S
eadlinkat.S
ename.S
mdir.S
tat.S
ymlink.S
ymlinkat.S
nlink.S
times.S
c7e9b2331771e5e87c34a8ee3dc6cc41d35b02fe 17-Oct-2013 Elliott Hughes <enh@google.com> Fix sigaction(3) for 64-bit.

Also clean up <signal.h> and revert the hacks that were necessary
for 64-bit in linker/debugger.cpp until now.

Change-Id: I3b0554ca8a49ee1c97cda086ce2c1954ebc11892
_sigaction.S
igaction.S
103ccde8fe2f2c8abde914a8ba736b2e9cb8d20b 16-Oct-2013 Elliott Hughes <enh@google.com> Sort the syscalls.mk files, give all generated files the same header.

No non-comment changes to the .S files.

Change-Id: Iafcfd004c3ea92b64268f80ab16df615b97cefac
_brk.S
_fcntl.S
_fcntl64.S
_fork.S
_fstatfs64.S
_getcpu.S
_getcwd.S
_getpriority.S
_ioctl.S
_llseek.S
_mmap2.S
_open.S
_openat.S
_ptrace.S
_reboot.S
_rt_sigaction.S
_rt_sigpending.S
_rt_sigprocmask.S
_rt_sigsuspend.S
_rt_sigtimedwait.S
_sched_getaffinity.S
_set_thread_area.S
_statfs64.S
_sys_clone.S
_syslog.S
_timer_create.S
_timer_delete.S
_timer_getoverrun.S
_timer_gettime.S
_timer_settime.S
_waitid.S
exit.S
exit_thread.S
flush_cache.S
waitpid.S
ccept.S
ccess.S
cct.S
ind.S
apget.S
apset.S
hdir.S
hmod.S
hown.S
hroot.S
lock_getres.S
lock_gettime.S
lock_nanosleep.S
lock_settime.S
lose.S
onnect.S
elete_module.S
up.S
up2.S
poll_create.S
poll_ctl.S
poll_wait.S
ventfd.S
xecve.S
accessat.S
chdir.S
chmod.S
chmodat.S
chown.S
chownat.S
datasync.S
getxattr.S
listxattr.S
lock.S
removexattr.S
setxattr.S
stat.S
statat.S
sync.S
truncate.S
truncate64.S
utex.S
etdents.S
etegid.S
eteuid.S
etgid.S
etgroups.S
etitimer.S
etpeername.S
etpgid.S
etpid.S
etppid.S
etresgid.S
etresuid.S
etrlimit.S
etrusage.S
etsid.S
etsockname.S
etsockopt.S
ettid.S
ettimeofday.S
etuid.S
etxattr.S
nit_module.S
notify_add_watch.S
notify_init.S
notify_rm_watch.S
oprio_get.S
oprio_set.S
ill.S
logctl.S
chown.S
getxattr.S
ink.S
isten.S
istxattr.S
listxattr.S
removexattr.S
seek.S
setxattr.S
stat.S
advise.S
incore.S
kdir.S
kdirat.S
knod.S
lock.S
lockall.S
ount.S
protect.S
remap.S
sync.S
unlock.S
unlockall.S
unmap.S
anosleep.S
ause.S
erf_event_open.S
ersonality.S
ipe2.S
oll.S
rctl.S
read64.S
write64.S
ead.S
eadahead.S
eadlink.S
eadv.S
ecvfrom.S
ecvmsg.S
emovexattr.S
ename.S
enameat.S
mdir.S
ched_get_priority_max.S
ched_get_priority_min.S
ched_getparam.S
ched_getscheduler.S
ched_rr_get_interval.S
ched_setaffinity.S
ched_setparam.S
ched_setscheduler.S
ched_yield.S
elect.S
endfile.S
endfile64.S
endmsg.S
endto.S
etgid.S
etgroups.S
etitimer.S
etpgid.S
etpriority.S
etregid.S
etresgid.S
etresuid.S
etreuid.S
etrlimit.S
etsid.S
etsockopt.S
ettimeofday.S
etuid.S
etxattr.S
hutdown.S
igaction.S
igaltstack.S
ignalfd4.S
ocket.S
ocketpair.S
tat.S
wapoff.S
wapon.S
ymlink.S
ync.S
yscall.S
ysinfo.S
gkill.S
imerfd_create.S
imerfd_gettime.S
imerfd_settime.S
imes.S
kill.S
runcate.S
runcate64.S
mask.S
mount2.S
name.S
nlink.S
nlinkat.S
nshare.S
timensat.S
times.S
ait4.S
rite.S
ritev.S
40d105ccb3e6283566ce54b693b3088f31aa4f26 16-Oct-2013 Elliott Hughes <enh@google.com> Switch sigpending over to rt_sigpending.

Change-Id: I7b28984796b5fb343cfbcc47e0afc3a84293d417
_rt_sigpending.S
igpending.S
1f5af926fa626734981d6b4dcc0ab54e520032a9 16-Oct-2013 Elliott Hughes <enh@google.com> Fix sigsuspend to use rt_sigsuspend on all platforms.

Change-Id: I981c1a66d35480d4457a0a08a1b042dac94daa5b
_rt_sigsuspend.S
_sigsuspend.S
19e62325c268a668692e2b65fde2284079f369aa 15-Oct-2013 Elliott Hughes <enh@google.com> Clean up the sigprocmask/pthread_sigmask implementation.

Let's have both use rt_sigprocmask, like in glibc. The 64-bit ABIs
can share the same code as the 32-bit ABIs.

Also, let's test the return side of these calls, not just the
setting.

Bug: 11069919
Change-Id: I11da99f85b5b481870943c520d05ec929b15eddb
igprocmask.S
232163cf70712fe00436b70dd495f4cf405e9eab 10-Oct-2013 Elliott Hughes <enh@google.com> Clean up the cpuacct cruft.

Change-Id: I6ed63af8dfc2368e211420389fa8af4d5dc0908f
_setresuid.S
_setreuid.S
_setuid.S
etresuid.S
etreuid.S
etuid.S
b4f7616fd618875768b8fffc122b58bdb84a9969 20-Sep-2013 Elliott Hughes <enh@google.com> Ensure we have the off64_t variant of every function that takes an off_t.

Change-Id: Ib2eee0cf13162be3b62559b84e90c6dcf5aab1c3
endfile64.S
runcate64.S
d206b560e72e791b5dfeb339b5f7c18354bf95fd 06-Jun-2013 Rom Lemarchand <romlem@google.com> libc: add swapon and swapoff syscalls

Change-Id: Ie79dc8e3f2ff1cd427dd6d95e3850920c4b407b0
Signed-off-by: Rom Lemarchand <romlem@google.com>
wapoff.S
wapon.S
4200e6203aaa67c37874ad2b2271bff920297c7f 09-May-2013 Todd Poynor <toddpoynor@google.com> libc: add timerfd calls

(cherry-pick of 04c0ac14a49e0969333008a9522b64046d58fbdc.)

Change-Id: I06d0b6c2a8781602362b81f48faf1cca76b9ec05
imerfd_create.S
imerfd_gettime.S
imerfd_settime.S
5c2772f59d3b6f564897187324d8606f54423207 22-Mar-2013 Elliott Hughes <enh@google.com> The SYS_ constants should cover all __NR_ values.

<sys/linux-syscalls.h> only contains constants for the syscalls
we're generating stubs for. We want all the syscalls available
on the architecture in question.

Keep using <sys/linux-syscalls.h> on ARM for now because the
__NR_ARM_set_tls and __NR_ARM_cacheflush values aren't in <asm/unistd.h>.

Change-Id: I66683950d87d9b18d6107d0acc0ed238a4496f44
_brk.S
_fcntl.S
_fcntl64.S
_fork.S
_fstatfs64.S
_getcpu.S
_getcwd.S
_getpriority.S
_ioctl.S
_llseek.S
_mmap2.S
_open.S
_openat.S
_ptrace.S
_reboot.S
_rt_sigaction.S
_rt_sigprocmask.S
_rt_sigtimedwait.S
_sched_getaffinity.S
_set_thread_area.S
_setresuid.S
_setreuid.S
_setuid.S
_sigsuspend.S
_statfs64.S
_sys_clone.S
_syslog.S
_timer_create.S
_timer_delete.S
_timer_getoverrun.S
_timer_gettime.S
_timer_settime.S
_waitid.S
exit.S
exit_thread.S
flush_cache.S
waitpid.S
ccept.S
ccess.S
cct.S
ind.S
apget.S
apset.S
hdir.S
hmod.S
hown.S
hroot.S
lock_getres.S
lock_gettime.S
lock_nanosleep.S
lock_settime.S
lose.S
onnect.S
elete_module.S
up.S
up2.S
poll_create.S
poll_ctl.S
poll_wait.S
ventfd.S
xecve.S
accessat.S
chdir.S
chmod.S
chmodat.S
chown.S
chownat.S
datasync.S
getxattr.S
listxattr.S
lock.S
removexattr.S
setxattr.S
stat.S
statat.S
sync.S
truncate.S
truncate64.S
utex.S
etdents.S
etegid.S
eteuid.S
etgid.S
etgroups.S
etitimer.S
etpeername.S
etpgid.S
etpid.S
etppid.S
etresgid.S
etresuid.S
etrlimit.S
etrusage.S
etsid.S
etsockname.S
etsockopt.S
ettid.S
ettimeofday.S
etuid.S
etxattr.S
nit_module.S
notify_add_watch.S
notify_init.S
notify_rm_watch.S
oprio_get.S
oprio_set.S
ill.S
logctl.S
chown.S
getxattr.S
ink.S
isten.S
istxattr.S
listxattr.S
removexattr.S
seek.S
setxattr.S
stat.S
advise.S
incore.S
kdir.S
kdirat.S
knod.S
lock.S
lockall.S
ount.S
protect.S
remap.S
sync.S
unlock.S
unlockall.S
unmap.S
anosleep.S
ause.S
erf_event_open.S
ersonality.S
ipe2.S
oll.S
rctl.S
read64.S
write64.S
ead.S
eadahead.S
eadlink.S
eadv.S
ecvfrom.S
ecvmsg.S
emovexattr.S
ename.S
enameat.S
mdir.S
ched_get_priority_max.S
ched_get_priority_min.S
ched_getparam.S
ched_getscheduler.S
ched_rr_get_interval.S
ched_setaffinity.S
ched_setparam.S
ched_setscheduler.S
ched_yield.S
elect.S
endfile.S
endmsg.S
endto.S
etgid.S
etgroups.S
etitimer.S
etpgid.S
etpriority.S
etregid.S
etresgid.S
etrlimit.S
etsid.S
etsockopt.S
ettimeofday.S
etxattr.S
hutdown.S
igaction.S
igaltstack.S
ignalfd4.S
igpending.S
igprocmask.S
ocket.S
ocketpair.S
tat.S
ymlink.S
ync.S
yscall.S
ysinfo.S
gkill.S
imes.S
kill.S
runcate.S
mask.S
mount2.S
name.S
nlink.S
nlinkat.S
nshare.S
timensat.S
times.S
ait4.S
rite.S
ritev.S
17a8b0db63d54e9d79bf11112ace0c4fe9606289 21-Mar-2013 Elliott Hughes <enh@google.com> Expose wait4 as wait4 rather than __wait4.

This helps strace(1) compile with one fewer hack.

Change-Id: I5296d0cfec5546709cda990abd705ad33d7c4626
_wait4.S
ait4.S
a4b2dc016fa62bd172a73c3f8971c805700ffb0f 10-Jan-2013 Rom Lemarchand <romlem@google.com> Add signalfd call to bionic

Add signalfd() call to bionic.

Adding the signalfd call was done in 3 steps:
- add signalfd4 system call (function name and syscall
number) to libc/SYSCALLS.TXT
- generate all necessary headers by calling
libc/tools/gensyscalls.py. This patch is adding
the generated files since the build system
does not call gensyscalls.py.
- create the signalfd wrapper in signalfd.cpp and add
the function prototype to sys/signalfd.h

(cherry-pick of 0c11611c11f4dc1b6d43587b72c3ccbe8c51a51c, modified to
work with older versions of GCC still in use on some branches.)

Change-Id: I4c6c3f12199559af8be63f93a5336851b7e63355
ignalfd4.S
1ad05db9cef23c1ca28ffd51852fa2a0b0c9b4b7 06-Sep-2012 Elliott Hughes <enh@google.com> Add mlockall and munlockall for Google TV.

Change-Id: I10e961d701e74aab07211ec7975f61167e387853
lockall.S
unlockall.S
1ad10a566e042676c95a0bdbf3cbc48e99ddafb2 29-Aug-2012 Irina Tirdea <irina.tirdea@intel.com> Add getsid system call to bionic

Add getsid() system call to bionic for
all architectures. This is needed for various tools
(e.g. perf).

Adding the getsid system call was done in 3 steps:
() add getsid system call (function name and syscall
number) to libc/SYSCALLS.TXT
() generate all necessary headers by calling
libc/tools/gensyscalls.py. This patch is adding
the generated files since the build system
does not call gensyscalls.py.
() add the system call signature to libc/include/unistd.h

Change-Id: Id69a257e13ec02e1a44085a6b217a3f19ab025b1
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
etsid.S
e36c826f7a6580227e9e70f6ec70aa88ba0f577e 10-Aug-2012 Jeff Sharkey <jsharkey@android.com> Add unshare() syscall.

(cherry-pick of 5467f25f82934d611c60f8bc57a05114f3c1bea0.)

Bug: 6925012
Change-Id: Ic5ea2fbd606311087de05d7a3594df2fa9b2fef9
nshare.S
dbd5ecad26e39281bb83f97664bc32555c5c071a 09-May-2012 Elliott Hughes <enh@google.com> resolved conflicts for merge of e5408907 to jb-dev-plus-aosp

Change-Id: If4c3f51bf87b28da8074be2e46ae772a374b266f
1fa0d849576555577ffd9675677a3c95f21b754e 28-Jan-2012 Raghu Gandham <raghu@mips.com> [MIPS] Add support for MIPS syscalls

Change-Id: I4deba67e15c865c4c2db03064c04098a09828ea6
Signed-off-by: Raghu Gandham <raghu@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
_brk.S
_fcntl.S
_fcntl64.S
_fork.S
_fstatfs64.S
_getcpu.S
_getcwd.S
_getpriority.S
_ioctl.S
_llseek.S
_mmap2.S
_open.S
_openat.S
_ptrace.S
_reboot.S
_rt_sigaction.S
_rt_sigprocmask.S
_rt_sigtimedwait.S
_sched_getaffinity.S
_set_thread_area.S
_setresuid.S
_setreuid.S
_setuid.S
_sigsuspend.S
_statfs64.S
_sys_clone.S
_syslog.S
_timer_create.S
_timer_delete.S
_timer_getoverrun.S
_timer_gettime.S
_timer_settime.S
_wait4.S
_waitid.S
exit.S
exit_thread.S
flush_cache.S
waitpid.S
ccept.S
ccess.S
cct.S
ind.S
apget.S
apset.S
hdir.S
hmod.S
hown.S
hroot.S
lock_getres.S
lock_gettime.S
lock_nanosleep.S
lock_settime.S
lose.S
onnect.S
elete_module.S
up.S
up2.S
poll_create.S
poll_ctl.S
poll_wait.S
ventfd.S
xecve.S
chdir.S
chmod.S
chmodat.S
chown.S
chownat.S
datasync.S
getxattr.S
listxattr.S
lock.S
removexattr.S
setxattr.S
stat.S
statat.S
sync.S
truncate.S
truncate64.S
utex.S
etdents.S
etegid.S
eteuid.S
etgid.S
etgroups.S
etitimer.S
etpeername.S
etpgid.S
etpid.S
etppid.S
etresgid.S
etresuid.S
etrlimit.S
etrusage.S
etsockname.S
etsockopt.S
ettid.S
ettimeofday.S
etuid.S
etxattr.S
nit_module.S
notify_add_watch.S
notify_init.S
notify_rm_watch.S
oprio_get.S
oprio_set.S
ill.S
logctl.S
chown.S
getxattr.S
ink.S
isten.S
istxattr.S
listxattr.S
removexattr.S
seek.S
setxattr.S
stat.S
advise.S
incore.S
kdir.S
kdirat.S
knod.S
lock.S
ount.S
protect.S
remap.S
sync.S
unlock.S
unmap.S
anosleep.S
ause.S
ersonality.S
ipe2.S
oll.S
rctl.S
read64.S
write64.S
ead.S
eadahead.S
eadlink.S
eadv.S
ecvfrom.S
ecvmsg.S
emovexattr.S
ename.S
enameat.S
mdir.S
ched_get_priority_max.S
ched_get_priority_min.S
ched_getparam.S
ched_getscheduler.S
ched_rr_get_interval.S
ched_setaffinity.S
ched_setparam.S
ched_setscheduler.S
ched_yield.S
elect.S
endfile.S
endmsg.S
endto.S
etgid.S
etgroups.S
etitimer.S
etpgid.S
etpriority.S
etregid.S
etresgid.S
etrlimit.S
etsid.S
etsockopt.S
ettimeofday.S
etxattr.S
hutdown.S
igaction.S
igaltstack.S
igpending.S
igprocmask.S
ocket.S
ocketpair.S
tat.S
ymlink.S
ync.S
yscall.S
ysinfo.S
imes.S
kill.S
runcate.S
mask.S
mount2.S
name.S
nlink.S
nlinkat.S
timensat.S
times.S
rite.S
ritev.S