platform_bionic/libc/arch-x86/syscalls
Rom Lemarchand a4b2dc016f 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 0c11611c11, modified to
work with older versions of GCC still in use on some branches.)

Change-Id: I4c6c3f12199559af8be63f93a5336851b7e63355
2013-01-10 13:14:46 -08:00
..
__brk.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fcntl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fcntl64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fork.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fstatfs64.S libc: fix fstatfs() implementation. 2010-07-08 16:52:27 -07:00
__getcpu.S <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
__getcwd.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__getpriority.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__ioctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__llseek.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__mmap2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__open.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__openat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__ptrace.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__reboot.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigaction.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigprocmask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigtimedwait.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__sched_getaffinity.S <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
__set_thread_area.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__setresuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__setreuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__setuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__sigsuspend.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__statfs64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__sys_clone.S Implement clone() C library function properly. 2010-01-25 11:18:30 -08:00
__syslog.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_create.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_delete.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_getoverrun.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_gettime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_settime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__wait4.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__waitid.S libc: Add missing waitid() implementation. 2010-09-28 09:18:26 +02:00
_exit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_exit_thread.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_waitpid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
accept.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
access.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
acct.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bind.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
capget.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
capset.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chmod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chroot.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_getres.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_gettime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_nanosleep.S Bionic: Fix wrong prototype of system call clock_nanosleep 2012-04-16 23:53:05 +08:00
clock_settime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
close.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
connect.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
delete_module.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dup.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dup2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_create.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_ctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_wait.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
eventfd.S libc: add <sys/eventfd.h> and corresponding implementations. 2010-09-28 09:20:37 +02:00
execve.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
faccessat.S Add faccessat to syscall list 2012-04-13 15:45:42 -07:00
fchdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchmod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchmodat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchownat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fdatasync.S libc: Add missing fdatasync() implementation 2010-09-28 09:17:17 +02:00
fgetxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
flistxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
flock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fremovexattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
fsetxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
fstat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fstatat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fsync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ftruncate.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ftruncate64.S libc: Add ftruncate64 and improve 64-bit parameter syscall handling. 2010-12-16 17:04:41 +01:00
futex.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getdents.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getegid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
geteuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getgroups.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getitimer.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpeername.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getppid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getresgid.S bionic: Fix wrong prototype of system call getresuid/getresgid 2012-04-16 23:45:36 +08:00
getresuid.S bionic: Fix wrong prototype of system call getresuid/getresgid 2012-04-16 23:45:36 +08:00
getrlimit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getrusage.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getsid.S Add getsid system call to bionic 2012-09-03 01:38:34 +03:00
getsockname.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getsockopt.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
gettid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
gettimeofday.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
init_module.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_add_watch.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_init.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_rm_watch.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ioprio_get.S bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappers 2010-02-23 15:55:29 -08:00
ioprio_set.S bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappers 2010-02-23 15:55:29 -08:00
kill.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
klogctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lchown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lgetxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
link.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
listen.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
listxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
llistxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
lremovexattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
lseek.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lsetxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
lstat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
madvise.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mincore.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mkdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mkdirat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mknod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mlock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mlockall.S Add mlockall and munlockall for Google TV. 2012-09-06 11:24:45 -07:00
mount.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mprotect.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mremap.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
msync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
munlock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
munlockall.S Add mlockall and munlockall for Google TV. 2012-09-06 11:24:45 -07:00
munmap.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
nanosleep.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pause.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
perf_event_open.S Update kernel headers and add syscall "perf_event_open" 2012-03-13 12:28:40 -07:00
personality.S add personality() system call. 2012-01-13 15:50:40 -08:00
pipe.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pipe2.S libc: Add missing pipe2() declaration and implementation. 2010-09-27 17:33:08 +02:00
poll.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
prctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pread64.S libc: Add ftruncate64 and improve 64-bit parameter syscall handling. 2010-12-16 17:04:41 +01:00
pwrite64.S libc: Add ftruncate64 and improve 64-bit parameter syscall handling. 2010-12-16 17:04:41 +01:00
read.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
readahead.S sreadahead: adding readahead system call into bionic libc 2012-01-03 15:18:04 -08:00
readlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
readv.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
recvfrom.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
recvmsg.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
removexattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
rename.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
renameat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rmdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_get_priority_max.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_get_priority_min.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_getparam.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_getscheduler.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_rr_get_interval.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_setaffinity.S <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
sched_setparam.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_setscheduler.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_yield.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
select.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendfile.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendmsg.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendto.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setgroups.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setitimer.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setpgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setpriority.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setregid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setresgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setrlimit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setsid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setsockopt.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
settimeofday.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setxattr.S Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
shutdown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigaction.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigaltstack.S add sigaltstack syscall 2010-03-02 11:43:24 +00:00
signalfd4.S Add signalfd call to bionic 2013-01-10 13:14:46 -08:00
sigpending.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigprocmask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socket.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socketpair.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
stat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
symlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sysinfo.S Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - DO NOT MERGE 2010-06-09 13:12:15 -07:00
tgkill.S Add tgkill syscall. 2011-11-18 16:40:48 -08:00
times.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
tkill.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
truncate.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
umask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
umount2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
uname.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
unlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
unlinkat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
unshare.S Add unshare() syscall. 2012-08-10 12:57:43 -07:00
utimensat.S Add support for the utimensat(2) syscall to bionic. 2011-03-24 18:18:48 -07:00
utimes.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
write.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
writev.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00