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

Unified Diff: sysdeps/unix/sysv/linux/sys/syscall.h

Issue 10095013: fixed signatures for several syscalls that return positive value in correct case (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: code style 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/sysdep.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/unix/sysv/linux/sys/syscall.h
diff --git a/sysdeps/unix/sysv/linux/sys/syscall.h b/sysdeps/unix/sysv/linux/sys/syscall.h
index 775cc4b2b0318cad6825709c5110c37053452fe4..201e3481006653c63ec742e5511893b44d71a65d 100644
--- a/sysdeps/unix/sysv/linux/sys/syscall.h
+++ b/sysdeps/unix/sysv/linux/sys/syscall.h
@@ -24,22 +24,26 @@
from the kernel sources. */
#include <asm/unistd.h>
#ifdef __i386__
-# define __NR_accept 325
-# define __NR_bind 326
-# define __NR_listen 327
-# define __NR_connect 328
-# define __NR_send 329
-# define __NR_sendto 330
-# define __NR_sendmsg 331
-# define __NR_recv 332
-# define __NR_recvfrom 333
-# define __NR_recvmsg 334
-# define __NR_shutdown 335
-# define __NR_getsockopt 336
-# define __NR_setsockopt 337
-# define __NR_getsockname 338
-# define __NR_getpeername 339
-# define __NR_socketpair 340
+# define __NR_accept 2325
+# define __NR_bind 2326
+# define __NR_listen 2327
+# define __NR_connect 2328
+# define __NR_send 2329
+# define __NR_sendto 2330
+# define __NR_sendmsg 2331
+# define __NR_recv 2332
+# define __NR_recvfrom 2333
+# define __NR_recvmsg 2334
+# define __NR_shutdown 2335
+# define __NR_getsockopt 2336
+# define __NR_setsockopt 2337
+# define __NR_getsockname 2338
+# define __NR_getpeername 2339
+# define __NR_socketpair 2340
+#endif
+#ifdef __x86_64__
+# define __NR_send 2329
+# define __NR_recv 2332
#endif
#ifndef _LIBC
« no previous file with comments | « sysdeps/nacl/sysdep.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698