[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Update and add some comments on the system call
tables for s390x (64bit) and s390 (31bit).

Signed-off-by: Thomas Richter <tmricht@xxxxxxxxxxxxxxxxxx>
---
 include/syscalls-s390.h  |  81 +++++++++++++-----------
 include/syscalls-s390x.h | 162 +++++++++++++++++++++++++++--------------------
 2 files changed, 138 insertions(+), 105 deletions(-)

diff --git a/include/syscalls-s390.h b/include/syscalls-s390.h
index 9916e6c6..83613edf 100644
--- a/include/syscalls-s390.h
+++ b/include/syscalls-s390.h
@@ -7,7 +7,7 @@
 #include "syscalls/syscalls.h"
 
 struct syscalltable syscalls_s390[] = {
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 0 unused system call */
 	{ .entry = &syscall_exit },
 	{ .entry = &syscall_fork },
 	{ .entry = &syscall_read },
@@ -24,8 +24,8 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_mknod },
 	{ .entry = &syscall_chmod },
 	{ .entry = &syscall_lchown16 },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 17 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 18 unused system call */
 	{ .entry = &syscall_lseek },
 	{ .entry = &syscall_getpid },
 	{ .entry = &syscall_mount },
@@ -35,14 +35,14 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_stime },
 	{ .entry = &syscall_ptrace },
 	{ .entry = &syscall_alarm },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 28 unused system call */
 	{ .entry = &syscall_pause },
 	{ .entry = &syscall_utime },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 31 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 32 unused system call */
 	{ .entry = &syscall_access },
 	{ .entry = &syscall_nice },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 35 unused system call */
 	{ .entry = &syscall_sync },
 	{ .entry = &syscall_kill },
 	{ .entry = &syscall_rename },
@@ -51,7 +51,7 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_dup },
 	{ .entry = &syscall_pipe },
 	{ .entry = &syscall_times },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 44 unused system call */
 	{ .entry = &syscall_brk },
 	{ .entry = &syscall_setgid16 },
 	{ .entry = &syscall_getgid16 },
@@ -60,13 +60,13 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_getegid16 },
 	{ .entry = &syscall_acct },
 	{ .entry = &syscall_umount },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 53 unused system call */
 	{ .entry = &syscall_ioctl },
 	{ .entry = &syscall_fcntl },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 56 unused system call */
 	{ .entry = &syscall_setpgid },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 58 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 59 unused system call */
 	{ .entry = &syscall_umask },
 	{ .entry = &syscall_chroot },
 	{ .entry = &syscall_ustat },
@@ -75,8 +75,8 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_getpgrp },
 	{ .entry = &syscall_setsid },
 	{ .entry = &syscall_sigaction },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 68 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 69 unused system call */
 	{ .entry = &syscall_setreuid16 },
 	{ .entry = &syscall_setregid16 },
 	{ .entry = &syscall_sigsuspend },
@@ -89,14 +89,14 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_settimeofday },
 	{ .entry = &syscall_getgroups16 },
 	{ .entry = &syscall_setgroups16 },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 82 unused system call */
 	{ .entry = &syscall_symlink },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 84 unused system call */
 	{ .entry = &syscall_readlink },
 	{ .entry = &syscall_uselib },
 	{ .entry = &syscall_swapon },
 	{ .entry = &syscall_reboot },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* TODO: readdir systemcall */
 	{ .entry = &syscall_mmap },		/* old_mmap */
 	{ .entry = &syscall_munmap },
 	{ .entry = &syscall_truncate },
@@ -105,10 +105,10 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_fchown16 },
 	{ .entry = &syscall_getpriority },
 	{ .entry = &syscall_setpriority },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 98 unused system call */
 	{ .entry = &syscall_statfs },
 	{ .entry = &syscall_fstatfs },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant ioperm svc */
 	{ .entry = &syscall_socketcall },
 	{ .entry = &syscall_syslog },
 	{ .entry = &syscall_setitimer },
@@ -116,11 +116,11 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_newstat },
 	{ .entry = &syscall_newlstat },
 	{ .entry = &syscall_newfstat },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 109 unused system call */
 	{ .entry = &syscall_lookup_dcookie },
 	{ .entry = &syscall_vhangup },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant idle svc */
+	{ .entry = &syscall_ni_syscall },	/* No 113 unused system call */
 	{ .entry = &syscall_wait4 },
 	{ .entry = &syscall_swapoff },
 	{ .entry = &syscall_sysinfo },
@@ -130,21 +130,21 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_clone },
 	{ .entry = &syscall_setdomainname },
 	{ .entry = &syscall_newuname },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 123 unused system call */
 	{ .entry = &syscall_adjtimex },
 	{ .entry = &syscall_mprotect },
 	{ .entry = &syscall_sigprocmask },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant create_module svc */
 	{ .entry = &syscall_init_module },
 	{ .entry = &syscall_delete_module },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant get_kernel_syms svc */
 	{ .entry = &syscall_quotactl },
 	{ .entry = &syscall_getpgid },
 	{ .entry = &syscall_fchdir },
 	{ .entry = &syscall_bdflush },
 	{ .entry = &syscall_sysfs },
 	{ .entry = &syscall_personality },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant afs_syscall svc */
 	{ .entry = &syscall_setfsuid16 },
 	{ .entry = &syscall_setfsgid16 },
 	{ .entry = &syscall_llseek },
@@ -173,10 +173,10 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_mremap },
 	{ .entry = &syscall_setresuid16 },
 	{ .entry = &syscall_getresuid16 },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 166 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* Non-existant query_module svc */
 	{ .entry = &syscall_poll },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant nfsservctl svc */
 	{ .entry = &syscall_setresgid16 },
 	{ .entry = &syscall_getresgid16 },
 	{ .entry = &syscall_prctl },
@@ -195,8 +195,8 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_capset },
 	{ .entry = &syscall_sigaltstack },
 	{ .entry = &syscall_sendfile },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant getpmsg svc */
+	{ .entry = &syscall_ni_syscall },	/* Non-existant putpmsg svc */
 	{ .entry = &syscall_vfork },
 	{ .entry = &syscall_getrlimit },
 	{ .entry = &syscall_mmap2 },
@@ -249,7 +249,7 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_sched_setaffinity },
 	{ .entry = &syscall_sched_getaffinity },
 	{ .entry = &syscall_tgkill },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 242 unused system call */
 	{ .entry = &syscall_io_setup },
 	{ .entry = &syscall_io_destroy },
 	{ .entry = &syscall_io_getevents },
@@ -270,7 +270,7 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_clock_gettime },
 	{ .entry = &syscall_clock_getres },
 	{ .entry = &syscall_clock_nanosleep },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 263 unused system call */
 	{ .entry = &syscall_fadvise64_64 },	/* s390_fadvise64_64 */
 	{ .entry = &syscall_statfs64 },
 	{ .entry = &syscall_fstatfs64 },
@@ -324,7 +324,7 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_fallocate},		/* s390_fallocate */
 	{ .entry = &syscall_utimensat },
 	{ .entry = &syscall_signalfd },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant timerfd svc */
 	{ .entry = &syscall_eventfd },
 	{ .entry = &syscall_timerfd_create },
 	{ .entry = &syscall_timerfd_settime },
@@ -349,7 +349,7 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_setns },
 	{ .entry = &syscall_process_vm_readv },
 	{ .entry = &syscall_process_vm_writev },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_runtime_instr */
 	{ .entry = &syscall_kcmp },
 	{ .entry = &syscall_finit_module },
 	{ .entry = &syscall_sched_setattr },
@@ -363,8 +363,8 @@ struct syscalltable syscalls_s390[] = {
 #else
 	{ .entry = NULL },
 #endif
-	{ .entry = &syscall_ni_syscall },	// TODO: syscall_s390_pci_mmio_write
-	{ .entry = &syscall_ni_syscall },	// TODO: syscall_s390_pci_mmio_read
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_pci_mmio_write svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_pci_mmio_read svc */
 	{ .entry = &syscall_execveat },
 	{ .entry = &syscall_userfaultfd },
 	{ .entry = &syscall_membarrier },
@@ -385,4 +385,11 @@ struct syscalltable syscalls_s390[] = {
 	{ .entry = &syscall_recvfrom },
 	{ .entry = &syscall_recvmsg },
 	{ .entry = &syscall_shutdown },
+	{ .entry = &syscall_ni_syscall },	/* TODO: mlock2 svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: copy_file_range svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: preadv2 svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: pwritev2 svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_guarded_storage svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: statx svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_sthyi svc */
 };
diff --git a/include/syscalls-s390x.h b/include/syscalls-s390x.h
index 6dbaffb3..333d649c 100644
--- a/include/syscalls-s390x.h
+++ b/include/syscalls-s390x.h
@@ -7,7 +7,7 @@
 #include "syscalls/syscalls.h"
 
 struct syscalltable syscalls_s390x[] = {
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 0 unused system call */
 	{ .entry = &syscall_exit },
 	{ .entry = &syscall_fork },
 	{ .entry = &syscall_read },
@@ -20,29 +20,29 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_unlink },
 	{ .entry = &syscall_execve },
 	{ .entry = &syscall_chdir },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 13 unused system call */
 	{ .entry = &syscall_mknod },
 	{ .entry = &syscall_chmod },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 16 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 17 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 18 unused system call */
 	{ .entry = &syscall_lseek },
 	{ .entry = &syscall_getpid },
 	{ .entry = &syscall_mount },
 	{ .entry = &syscall_oldumount },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 23 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 24 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 25 unused system call */
 	{ .entry = &syscall_ptrace },
 	{ .entry = &syscall_alarm },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 28 unused system call */
 	{ .entry = &syscall_pause },
 	{ .entry = &syscall_utime },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 31 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 32 unused system call */
 	{ .entry = &syscall_access },
 	{ .entry = &syscall_nice },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 35 unused system call */
 	{ .entry = &syscall_sync },
 	{ .entry = &syscall_kill },
 	{ .entry = &syscall_rename },
@@ -51,22 +51,22 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_dup },
 	{ .entry = &syscall_pipe },
 	{ .entry = &syscall_times },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 44 unused system call */
 	{ .entry = &syscall_brk },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 46 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 47 unused system call */
 	{ .entry = &syscall_signal },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 49 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 50 unused system call */
 	{ .entry = &syscall_acct },
 	{ .entry = &syscall_umount },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 53 unused system call */
 	{ .entry = &syscall_ioctl },
 	{ .entry = &syscall_fcntl },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 56 unused system call */
 	{ .entry = &syscall_setpgid },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 58 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 59 unused system call */
 	{ .entry = &syscall_umask },
 	{ .entry = &syscall_chroot },
 	{ .entry = &syscall_ustat },
@@ -75,40 +75,40 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_getpgrp },
 	{ .entry = &syscall_setsid },
 	{ .entry = &syscall_sigaction },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 68 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 69 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 70 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 71 unused system call */
 	{ .entry = &syscall_sigsuspend },
 	{ .entry = &syscall_sigpending },
 	{ .entry = &syscall_sethostname },
 	{ .entry = &syscall_setrlimit },
-	{ .entry = &syscall_getrlimit },
+	{ .entry = &syscall_ni_syscall },	/* No 76 unused system call */
 	{ .entry = &syscall_getrusage },
 	{ .entry = &syscall_gettimeofday },
 	{ .entry = &syscall_settimeofday },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 80 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 81 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 82 unused system call */
 	{ .entry = &syscall_symlink },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 84 unused system call */
 	{ .entry = &syscall_readlink },
 	{ .entry = &syscall_uselib },
 	{ .entry = &syscall_swapon },
 	{ .entry = &syscall_reboot },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 89 unused system call */
 	{ .entry = &syscall_mmap },		/* old_mmap */
 	{ .entry = &syscall_munmap },
 	{ .entry = &syscall_truncate },
 	{ .entry = &syscall_ftruncate },
 	{ .entry = &syscall_fchmod },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 95 unused system call */
 	{ .entry = &syscall_getpriority },
 	{ .entry = &syscall_setpriority },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 98 unused system call */
 	{ .entry = &syscall_statfs },
 	{ .entry = &syscall_fstatfs },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant ioperm svc */
 	{ .entry = &syscall_socketcall },
 	{ .entry = &syscall_syslog },
 	{ .entry = &syscall_setitimer },
@@ -116,11 +116,11 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_newstat },
 	{ .entry = &syscall_newlstat },
 	{ .entry = &syscall_newfstat },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 109 unused system call */
 	{ .entry = &syscall_lookup_dcookie },
 	{ .entry = &syscall_vhangup },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant idle svc */
+	{ .entry = &syscall_ni_syscall },	/* No 113 unused system call */
 	{ .entry = &syscall_wait4 },
 	{ .entry = &syscall_swapoff },
 	{ .entry = &syscall_sysinfo },
@@ -130,24 +130,24 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_clone },
 	{ .entry = &syscall_setdomainname },
 	{ .entry = &syscall_newuname },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 123 unused system call */
 	{ .entry = &syscall_adjtimex },
 	{ .entry = &syscall_mprotect },
 	{ .entry = &syscall_sigprocmask },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant create_module svc */
 	{ .entry = &syscall_init_module },
 	{ .entry = &syscall_delete_module },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant get_kernel_syms svc */
 	{ .entry = &syscall_quotactl },
 	{ .entry = &syscall_getpgid },
 	{ .entry = &syscall_fchdir },
 	{ .entry = &syscall_bdflush },
 	{ .entry = &syscall_sysfs },
 	{ .entry = &syscall_personality },	/* s390_personality */
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_llseek },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant afs_syscall svc */
+	{ .entry = &syscall_ni_syscall },	/* No 138 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 139 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 140 unused system call */
 	{ .entry = &syscall_getdents },
 	{ .entry = &syscall_select },
 	{ .entry = &syscall_flock },
@@ -171,14 +171,14 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_sched_rr_get_interval },
 	{ .entry = &syscall_nanosleep },
 	{ .entry = &syscall_mremap },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 164 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 165 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 166 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* Non-existant query_module svc */
 	{ .entry = &syscall_poll },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant nfsservctl svc */
+	{ .entry = &syscall_ni_syscall },	/* No 170 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 171 unused system call */
 	{ .entry = &syscall_prctl },
 	{ .entry = &syscall_rt_sigreturn },
 	{ .entry = &syscall_rt_sigaction },
@@ -189,22 +189,22 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_rt_sigsuspend },
 	{ .entry = &syscall_pread64 },
 	{ .entry = &syscall_pwrite64 },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 182 unused system call */
 	{ .entry = &syscall_getcwd },
 	{ .entry = &syscall_capget },
 	{ .entry = &syscall_capset },
 	{ .entry = &syscall_sigaltstack },
 	{ .entry = &syscall_sendfile64 },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant getpmsg svc */
+	{ .entry = &syscall_ni_syscall },	/* Non-existant putpmsg svc */
 	{ .entry = &syscall_vfork },
 	{ .entry = &syscall_getrlimit },
-	{ .entry = &syscall_mmap2 },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 192 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 193 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 194 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 195 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 196 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 197 unused system call */
 	{ .entry = &syscall_lchown },
 	{ .entry = &syscall_getuid },
 	{ .entry = &syscall_getgid },
@@ -228,9 +228,9 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_mincore },
 	{ .entry = &syscall_madvise },
 	{ .entry = &syscall_getdents64 },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 221 unused system call */
 	{ .entry = &syscall_readahead },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 223 unused system call */
 	{ .entry = &syscall_setxattr },
 	{ .entry = &syscall_lsetxattr },
 	{ .entry = &syscall_fsetxattr },
@@ -249,7 +249,7 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_sched_setaffinity },
 	{ .entry = &syscall_sched_getaffinity },
 	{ .entry = &syscall_tgkill },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 242 unused system call */
 	{ .entry = &syscall_io_setup },
 	{ .entry = &syscall_io_destroy },
 	{ .entry = &syscall_io_getevents },
@@ -270,8 +270,8 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_clock_gettime },
 	{ .entry = &syscall_clock_getres },
 	{ .entry = &syscall_clock_nanosleep },
-	{ .entry = &syscall_ni_syscall },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* No 263 unused system call */
+	{ .entry = &syscall_ni_syscall },	/* No 264 unused system call */
 	{ .entry = &syscall_statfs64 },
 	{ .entry = &syscall_fstatfs64 },
 	{ .entry = &syscall_remap_file_pages },
@@ -324,7 +324,7 @@ struct syscalltable syscalls_s390x[] = {
 	{ .entry = &syscall_fallocate },
 	{ .entry = &syscall_utimensat },
 	{ .entry = &syscall_signalfd },
-	{ .entry = &syscall_ni_syscall },
+	{ .entry = &syscall_ni_syscall },	/* Non-existant timerfd svc */
 	{ .entry = &syscall_eventfd },
 	{ .entry = &syscall_timerfd_create },
 	{ .entry = &syscall_timerfd_settime },
@@ -363,7 +363,33 @@ struct syscalltable syscalls_s390x[] = {
 #else
 	{ .entry = NULL },
 #endif
-	{ .entry = &syscall_ni_syscall },	// TODO: syscall_s390_pci_mmio_write
-	{ .entry = &syscall_ni_syscall },	// TODO: syscall_s390_pci_mmio_read
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_pci_mmio_write svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_pci_mmio_read svc */
 	{ .entry = &syscall_execveat },
+	{ .entry = &syscall_userfaultfd },
+	{ .entry = &syscall_membarrier },
+	{ .entry = &syscall_recvmmsg },
+	{ .entry = &syscall_sendmmsg },
+	{ .entry = &syscall_socket },
+	{ .entry = &syscall_socketpair },
+	{ .entry = &syscall_bind },
+	{ .entry = &syscall_connect },
+	{ .entry = &syscall_listen },
+	{ .entry = &syscall_accept4 },
+	{ .entry = &syscall_getsockopt },
+	{ .entry = &syscall_setsockopt },
+	{ .entry = &syscall_getsockname },
+	{ .entry = &syscall_getpeername },
+	{ .entry = &syscall_sendto },
+	{ .entry = &syscall_sendmsg },
+	{ .entry = &syscall_recvfrom },
+	{ .entry = &syscall_recvmsg },
+	{ .entry = &syscall_shutdown },
+	{ .entry = &syscall_ni_syscall },	/* TODO: mlock2 svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: copy_file_range svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: preadv2 svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: pwritev2 svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_guarded_storage svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: statx svc */
+	{ .entry = &syscall_ni_syscall },	/* TODO: s390_sthyi svc */
 };
-- 
2.14.3

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux