[hackers] [scc] [libc-amd64-linux] Add more syscalls || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 8 Mar 2017 14:51:13 +0100 (CET)

commit 2a75910ec069ddbc622b69efcdb1484ecbda208a
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Mar 8 06:35:09 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Mar 8 14:42:07 2017 +0100

    [libc-amd64-linux] Add more syscalls
    
    These syscalls are going to be needed for raise()
    and for signal()

diff --git a/libc/src/sys/amd64-linux/Makefile b/libc/src/sys/amd64-linux/Makefile
index 2d6ab7f..d0d73ea 100644
--- a/libc/src/sys/amd64-linux/Makefile
+++ b/libc/src/sys/amd64-linux/Makefile
_AT_@ -3,8 +3,11 @@
 
 include ../../../../config.mk
 
-OBJ = _brk.o _close.o _exit.o _lseek.o _open.o _read.o _write.o
-SRC = $(OBJ:.o=.s)
+OBJ_GEN = _read.o _write.o _open.o _close.o _lseek.o _brk.o\
+ _rt_sigaction.o _getpid.o _exit.o _kill.o
+
+ASM_GEN = $(OBJ_GEN:.o=.s)
+OBJ = $(OBJ_GEN)
 
 all: $(OBJ)
 
diff --git a/libc/src/sys/amd64-linux/syscall.lst b/libc/src/sys/amd64-linux/syscall.lst
index c80b4f2..bf1b799 100644
--- a/libc/src/sys/amd64-linux/syscall.lst
+++ b/libc/src/sys/amd64-linux/syscall.lst
_AT_@ -1,8 +1,11 @@
-#number #name
+#number name
 0 _read
 1 _write
 2 _open
 3 _close
 3 _lseek
 12 _brk
+13 _rt_sigaction
+38 _getpid
 60 _exit
+32 _kill
Received on Wed Mar 08 2017 - 14:51:13 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 08 2017 - 15:00:20 CET