0c11611c11
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 Change-Id: I7ee1d3e60d5d3e1c73d9820e07d23b9ce6e1a5ab
23 lines
352 B
ArmAsm
23 lines
352 B
ArmAsm
/* autogenerated by gensyscalls.py */
|
|
#include <sys/linux-syscalls.h>
|
|
.text
|
|
.globl signalfd4
|
|
.align 4
|
|
.ent signalfd4
|
|
|
|
signalfd4:
|
|
.set noreorder
|
|
.cpload $t9
|
|
li $v0, __NR_signalfd4
|
|
syscall
|
|
bnez $a3, 1f
|
|
move $a0, $v0
|
|
j $ra
|
|
nop
|
|
1:
|
|
la $t9,__set_errno
|
|
j $t9
|
|
nop
|
|
.set reorder
|
|
.end signalfd4
|