kernel: Finish updating syscall names and fix a wrong error define
authorAlan Cox <alan@linux.intel.com>
Tue, 12 Jan 2016 23:18:12 +0000 (23:18 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 12 Jan 2016 23:18:12 +0000 (23:18 +0000)
Kernel/include/kernel.h
Kernel/include/syscall_name.h

index fb2513b..402bb4d 100644 (file)
@@ -573,7 +573,7 @@ struct s_argblk {
 #define EADDRNOTAVAIL  41              /* Address not available */
 #define ENOSYS         42              /* No such system call */
 #define EPFNOSUPPORT   43              /* Protocol not supported */
-#define EOPNOTSUPP     43              /* Operation not supported on transport
+#define EOPNOTSUPP     44              /* Operation not supported on transport
                                            endpoint */
 /*
  * ioctls for kernel internal operations start at 0x8000 and cannot be issued
index 58c8040..de0d9ee 100644 (file)
@@ -95,8 +95,8 @@ char *syscall_name[NR_SYSCALL] = {
        "_nosys89",
        "socket",
        "listen",
-       "_bind",
-       "_connect",
+       "bind",
+       "connect",
        "_accept",
        "_getsockaddrs",
        "_sendto",
@@ -184,4 +184,22 @@ int syscall_args[NR_SYSCALL] = {
        2, //setpgid
        1, //setsid
        1, //getsid
+       0, //nosys80
+       0, //nosys81
+       0, //nosys82
+       0, //nosys83
+       0, //nosys84
+       0, //nosys85
+       0, //nosys86
+       0, //nosys87
+       0, //nosys88
+       0, //nosys89
+       3, //socket
+       2, //listen
+       3, //bind
+       3, //connect
+       1, //accept
+       1, //getsockaddrs
+       4, //sendto
+       4, //recvfrom
 };