Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: sysdeps/nacl/syscalls.list

Issue 9969049: added several system call hooks for future sockets implementation (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: fixed warnings Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sysdeps/nacl/irt_syscalls.c ('k') | sysdeps/nacl/sysdep.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/nacl/syscalls.list
diff --git a/sysdeps/nacl/syscalls.list b/sysdeps/nacl/syscalls.list
index 84130916a0dff15a5f0a6fc7c3250144bd687d9b..6b56042436477447fddb50e3dc7d78818afa8900 100644
--- a/sysdeps/nacl/syscalls.list
+++ b/sysdeps/nacl/syscalls.list
@@ -11,3 +11,20 @@ init_module EXTRA init_module i:pip init_module
umount EXTRA umount i:s __umount umount
umount2 EXTRA umount2 i:si __umount2 umount2
vhangup EXTRA vhangup i: vhangup
+
+# proper socket implementations:
+accept - accept Ci:iBN __libc_accept __accept accept
+bind - bind i:ipi __bind bind
+connect - connect Ci:ipi __libc_connect __connect_internal __connect connect
+getpeername - getpeername i:ipp __getpeername getpeername
+getsockname - getsockname i:ipp __getsockname getsockname
+getsockopt - getsockopt i:iiiBN __getsockopt getsockopt
+listen - listen i:ii __listen listen
+recvfrom - recvfrom Ci:ibniBN __libc_recvfrom __recvfrom recvfrom
+recvmsg - recvmsg Ci:ipi __libc_recvmsg __recvmsg recvmsg
+sendmsg - sendmsg Ci:ipi __libc_sendmsg __sendmsg sendmsg
+sendto - sendto Ci:ibnibn __libc_sendto __sendto sendto
+setsockopt - setsockopt i:iiibn __setsockopt setsockopt
+shutdown - shutdown i:ii __shutdown shutdown
+socket - socket i:iii __socket socket
+socketpair - socketpair i:iiif __socketpair socketpair
« no previous file with comments | « sysdeps/nacl/irt_syscalls.c ('k') | sysdeps/nacl/sysdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698